mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-20 12:29:29 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);"
|
||||
|
||||
Reference in New Issue
Block a user