Monotone-Parent: 93a63b2b32e7a9f0ae48e74f760bdf2362f8ed08

Monotone-Revision: 168d53ad17c7cbad9fe9963d720efaf594314f64

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-11-01T21:59:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-11-01 21:59:45 +00:00
parent afd8cb5fd7
commit 8229e9b782
2 changed files with 21 additions and 0 deletions
+7
View File
@@ -1,5 +1,12 @@
2006-11-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxFreeBusyUserSelectorTable.m
([UIxFreeBusyUserSelectorTable -currentContactHasStatus]): new
method.
([UIxFreeBusyUserSelectorTable -currentContactStatusImage]):
returns an image name based on the participation status of the
current attendee.
* UI/WebServerResources/SchedulerUI.js: same strip down as for
generic.js below.
@@ -195,6 +195,20 @@
return currentContact;
}
- (BOOL) currentContactHasStatus
{
return ([currentContact participationStatus] != 0);
}
- (NSString *) currentContactStatusImage
{
NSString *basename;
basename = [[currentContact partStatWithDefault] lowercaseString];
return [self urlForResourceFilename: [NSString stringWithFormat: @"%@.png", basename]];;
}
- (NSString *) currentContactId
{
return [currentContact cn];