Monotone-Parent: ed1f9d054bf58150b30e9e4dbbffa4b09113c4e6

Monotone-Revision: 527b8fb043af42d5bcd6913397ab32e1bc42a27a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-16T18:46:28
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-16 18:46:28 +00:00
parent 17aa35440e
commit 56696d680a
3 changed files with 13 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
2006-10-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView
-currentRowCSSClass]): return the correct class for the current
row depending on the owner of the event.
* UI/Contacts/UIxContactSelector.m ([UIxContactSelector
-setColors:colors]): new method to associate a color table with
each user in the list.

View File

@@ -27,6 +27,8 @@
#import <NGExtensions/NSCalendarDate+misc.h>
#import <Appointments/SOGoAppointmentFolder.h>
#import <SOGo/NSObject+Owner.h>
#import <SOGoUI/SOGoDateFormatter.h>
#import "UIxCalAptListView.h"
@@ -180,4 +182,10 @@
[date minuteOfHour]];
}
- (NSString *) currentRowCSSClass
{
return [NSString stringWithFormat: @"tableview appointmentRow ownerIs%@",
[currentAppointment ownerLogin]];
}
@end

View File

@@ -41,7 +41,7 @@
></tr>
<var:foreach list="fetchCoreAppointmentsInfos" item="currentAppointment"
><tr class="tableview appointmentRow"
><tr var:class="currentRowCSSClass"
var:id="currentAppointment.c_name"
onclick="return onAppointmentClick(event);"
ondblclick="return editDoubleClickedEvent(this);"