diff --git a/ChangeLog b/ChangeLog index 623ec89be..afebfbd98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-10-16 Wolfgang Sourdeau + * UI/Scheduler/UIxCalInlineAptView.m ([UIxCalInlineAptView + -displayClasses]): return the correct class for the current event + representation depending on its owner. + * UI/Scheduler/UIxCalCalendarsListView.m: added method to create and associate a color for each user login depending on its position in the list. diff --git a/UI/Scheduler/UIxCalInlineAptView.m b/UI/Scheduler/UIxCalInlineAptView.m index 05c42bf0b..b47db9a8a 100644 --- a/UI/Scheduler/UIxCalInlineAptView.m +++ b/UI/Scheduler/UIxCalInlineAptView.m @@ -20,7 +20,8 @@ */ // $Id: UIxCalInlineAptView.m 885 2005-07-21 16:41:34Z znek $ -#include +#import +#import @interface UIxCalInlineAptView : WOComponent { @@ -140,6 +141,12 @@ return canAccess; } +- (NSString *) displayClasses +{ + return [NSString stringWithFormat: @"appointmentView ownerIs%@", + [appointment ownerLogin]]; +} + /* helpers */ - (NSString *) title