Monotone-Parent: 844f1f631a8e5c8bd991267dca0d6ec51a256f21
Monotone-Revision: 98c8c424b0d9a989a81434f86821544066552105 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-30T22:59:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
ef89c28110
commit
9ca6ecc628
|
@ -1,5 +1,9 @@
|
||||||
2006-08-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
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
|
* UI/Contacts/UIxContactSelector.m ([UIxContactSelector
|
||||||
-initialContactsAsString]): renamed implementation of
|
-initialContactsAsString]): renamed implementation of
|
||||||
initialParticipants.
|
initialParticipants.
|
||||||
|
|
|
@ -161,6 +161,14 @@
|
||||||
return currentTableDay;
|
return currentTableDay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (NSString *) currentAppointmentDay
|
||||||
|
{
|
||||||
|
return [NSString stringWithFormat: @"%d%.2d%.2d",
|
||||||
|
[currentTableDay yearOfCommonEra],
|
||||||
|
[currentTableDay monthOfYear],
|
||||||
|
[currentTableDay dayOfMonth]];
|
||||||
|
}
|
||||||
|
|
||||||
- (void) setCurrentTableHour: (NSString *) aTableHour
|
- (void) setCurrentTableHour: (NSString *) aTableHour
|
||||||
{
|
{
|
||||||
currentTableHour = aTableHour;
|
currentTableHour = aTableHour;
|
||||||
|
@ -171,6 +179,11 @@
|
||||||
return currentTableHour;
|
return currentTableHour;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (NSString *) currentAppointmentHour
|
||||||
|
{
|
||||||
|
return [NSString stringWithFormat: @"%.2d00", [currentTableHour intValue]];
|
||||||
|
}
|
||||||
|
|
||||||
- (NSString *) labelForDay
|
- (NSString *) labelForDay
|
||||||
{
|
{
|
||||||
return [NSString stringWithFormat: @"%@ %@",
|
return [NSString stringWithFormat: @"%@ %@",
|
||||||
|
|
|
@ -56,7 +56,8 @@
|
||||||
<var:foreach list="daysToDisplay" item="currentTableDay"
|
<var:foreach list="daysToDisplay" item="currentTableDay"
|
||||||
><td class="contentOfDay"
|
><td class="contentOfDay"
|
||||||
ondblclick="return newEvent(this);"
|
ondblclick="return newEvent(this);"
|
||||||
var:day="currentDayQueryParameters.day"
|
var:day="currentAppointmentDay"
|
||||||
|
var:hour="currentAppointmentHour"
|
||||||
><var:foreach
|
><var:foreach
|
||||||
list="aptsForCurrentDate"
|
list="aptsForCurrentDate"
|
||||||
item="appointment"
|
item="appointment"
|
||||||
|
|
Loading…
Reference in a new issue