From: znek Date: Tue, 7 Sep 2004 19:51:33 +0000 (+0000) Subject: started chartview X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a68d43732e2ba950b2f587c5b7d2f16305117c8b;p=scalable-opengroupware.org started chartview git-svn-id: http://svn.opengroupware.org/SOGo/trunk@297 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOGo/UI/ChangeLog b/SOGo/UI/ChangeLog index 81558b69..3733b804 100644 --- a/SOGo/UI/ChangeLog +++ b/SOGo/UI/ChangeLog @@ -1,3 +1,7 @@ +2004-09-07 Marcus Mueller + + * README: Update with information regarding localization + 2004-08-26 Marcus Mueller * Added "Mailer" product. diff --git a/SOGo/UI/README b/SOGo/UI/README index d629ad9b..687657cc 100644 --- a/SOGo/UI/README +++ b/SOGo/UI/README @@ -4,3 +4,11 @@ UI == The UI directory contains HTML view methods for the SOPE SoObjects. + + +Localization +============ + +Each bundle has its own set of localization files, contained in a language +project directory (i.e. English.lproj). Because of this fact it might be +possible that you have to localize a certain label more than once. \ No newline at end of file diff --git a/SOGo/UI/Scheduler/ChangeLog b/SOGo/UI/Scheduler/ChangeLog index 2779666b..a6d376a4 100644 --- a/SOGo/UI/Scheduler/ChangeLog +++ b/SOGo/UI/Scheduler/ChangeLog @@ -1,3 +1,16 @@ +2004-09-07 Marcus Mueller + + * v0.9.78 + + * UIxCalDayOverview.m, UIxCalDayChartview.m: minor cleanups + + * UIxCalDayOverview.wox, UIxCalDayChartview.wox: added style + information for appointments, used for colorization (doesn't work + due to style problems - needs to get investigated later on) + + * UIxCalDayListview.[m|wox]: started implementation of list view, + not quite finished. + 2004-09-06 Marcus Mueller * UIxAppointmentEditor.wox: fixed incorrect label (v0.9.77) diff --git a/SOGo/UI/Scheduler/UIxCalDayChartview.m b/SOGo/UI/Scheduler/UIxCalDayChartview.m index 7fd85aa9..27243568 100644 --- a/SOGo/UI/Scheduler/UIxCalDayChartview.m +++ b/SOGo/UI/Scheduler/UIxCalDayChartview.m @@ -22,7 +22,6 @@ #include "UIxCalDayView.h" -#include "common.h" @interface UIxCalDayChartview : UIxCalDayView { @@ -31,6 +30,7 @@ @end +#include "common.h" @implementation UIxCalDayChartview diff --git a/SOGo/UI/Scheduler/UIxCalDayChartview.wox b/SOGo/UI/Scheduler/UIxCalDayChartview.wox index 887e05d2..839b0dcb 100644 --- a/SOGo/UI/Scheduler/UIxCalDayChartview.wox +++ b/SOGo/UI/Scheduler/UIxCalDayChartview.wox @@ -182,18 +182,18 @@ const:rowHeight="8" const:width="100%" const:border="0" - const:cellpading="5" + const:cellpadding="5" const:cellspacing="2" > - + [] @@ -212,6 +212,7 @@ diff --git a/SOGo/UI/Scheduler/UIxCalDayListview.m b/SOGo/UI/Scheduler/UIxCalDayListview.m index c4a5b011..93933154 100644 --- a/SOGo/UI/Scheduler/UIxCalDayListview.m +++ b/SOGo/UI/Scheduler/UIxCalDayListview.m @@ -22,16 +22,40 @@ #include "UIxCalDayView.h" -#include "common.h" @interface UIxCalDayListview : UIxCalDayView { - + NSArray *uids; + id currentUid; } @end +#include "common.h" @implementation UIxCalDayListview +- (void)dealloc { + [self->uids release]; + [self->currentUid release]; + [super dealloc]; +} + +- (NSArray *)uids { + if(!self->uids) { + NSArray *tmp; + NSSet *availUIDs; + + tmp = [[self appointments] valueForKey:@"uid"]; + availUIDs = [[NSSet alloc] initWithArray:tmp]; + tmp = [[availUIDs allObjects] sortedArrayUsingSelector:@selector(compareAscending:)]; + self->uids = [tmp retain]; + } + return self->uids; +} + +- (NSString *)shortTextForApt { + return [[self appointment] valueForKey:@"title"]; +} + @end diff --git a/SOGo/UI/Scheduler/UIxCalDayListview.wox b/SOGo/UI/Scheduler/UIxCalDayListview.wox index e3903587..2412a8b8 100644 --- a/SOGo/UI/Scheduler/UIxCalDayListview.wox +++ b/SOGo/UI/Scheduler/UIxCalDayListview.wox @@ -7,7 +7,12 @@ className="UIxPageFrame" title="name" > - +
- diff --git a/SOGo/UI/Scheduler/UIxCalDayOverview.wox b/SOGo/UI/Scheduler/UIxCalDayOverview.wox index cd1d0c23..d684a986 100644 --- a/SOGo/UI/Scheduler/UIxCalDayOverview.wox +++ b/SOGo/UI/Scheduler/UIxCalDayOverview.wox @@ -167,6 +167,7 @@ @@ -193,6 +194,7 @@ diff --git a/SOGo/UI/Scheduler/UIxCalDayView.m b/SOGo/UI/Scheduler/UIxCalDayView.m index 7d7c734a..f692bc92 100644 --- a/SOGo/UI/Scheduler/UIxCalDayView.m +++ b/SOGo/UI/Scheduler/UIxCalDayView.m @@ -23,13 +23,14 @@ #import "UIxCalDayView.h" #include -#include "common.h" @interface UIxCalDayView (PrivateAPI) - (BOOL)isCurrentDateInApt:(id)_apt; - (NSArray *)_getDatesFrom:(NSCalendarDate *)_from to:(NSCalendarDate *)_to; @end +#include "common.h" + @implementation UIxCalDayView - (void)dealloc {
@@ -148,33 +153,64 @@
+ - - - - - - + + + + + + + + + + + + + +
- -
+
+ + + [] - - - -
-
-