mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user