Monotone-Parent: 844f1f631a8e5c8bd991267dca0d6ec51a256f21

Monotone-Revision: 98c8c424b0d9a989a81434f86821544066552105

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-08-30T22:59:03
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2006-08-30 22:59:03 +00:00
parent ef89c28110
commit 9ca6ecc628
3 changed files with 19 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2006-08-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxCalDayTable.m ([UIxCalDayTable -currentAppointmentDay])
([UIxCalDayTable -currentAppointmentHour]): new methods that
returns correctly formatted values used as attributes for JS code.
* UI/Contacts/UIxContactSelector.m ([UIxContactSelector
-initialContactsAsString]): renamed implementation of
initialParticipants.

View File

@ -161,6 +161,14 @@
return currentTableDay;
}
- (NSString *) currentAppointmentDay
{
return [NSString stringWithFormat: @"%d%.2d%.2d",
[currentTableDay yearOfCommonEra],
[currentTableDay monthOfYear],
[currentTableDay dayOfMonth]];
}
- (void) setCurrentTableHour: (NSString *) aTableHour
{
currentTableHour = aTableHour;
@ -171,6 +179,11 @@
return currentTableHour;
}
- (NSString *) currentAppointmentHour
{
return [NSString stringWithFormat: @"%.2d00", [currentTableHour intValue]];
}
- (NSString *) labelForDay
{
return [NSString stringWithFormat: @"%@ %@",

View File

@ -56,7 +56,8 @@
<var:foreach list="daysToDisplay" item="currentTableDay"
><td class="contentOfDay"
ondblclick="return newEvent(this);"
var:day="currentDayQueryParameters.day"
var:day="currentAppointmentDay"
var:hour="currentAppointmentHour"
><var:foreach
list="aptsForCurrentDate"
item="appointment"