From 8c84f0e6f8fbc4ce9f40145f02e8aa6cd161e1a4 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 20 Oct 2006 21:17:18 +0000 Subject: [PATCH] Monotone-Parent: 3e2187f44ea3be4208acae016be88b647bfe78a4 Monotone-Revision: 7db953f3e208a524c131effeb93c6030fda6cc6e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-20T21:17:18 Monotone-Branch: ca.inverse.sogo --- UI/Scheduler/UIxCalAptListView.m | 12 ------------ UI/Scheduler/UIxCalInlineAptView.m | 8 +------- UI/Scheduler/UIxCalTasksListView.m | 9 ++------- UI/Templates/ContactsUI/UIxContactsListView.wox | 2 +- UI/Templates/SchedulerUI/UIxCalAptListView.wox | 4 ++-- UI/Templates/SchedulerUI/UIxCalInlineAptView.wox | 2 +- 6 files changed, 7 insertions(+), 30 deletions(-) diff --git a/UI/Scheduler/UIxCalAptListView.m b/UI/Scheduler/UIxCalAptListView.m index 870a76f68..5da22d549 100644 --- a/UI/Scheduler/UIxCalAptListView.m +++ b/UI/Scheduler/UIxCalAptListView.m @@ -27,8 +27,6 @@ #import #import -#import - #import #import "UIxCalAptListView.h" @@ -182,14 +180,4 @@ [date minuteOfHour]]; } -- (NSString *) currentRowCSSClass -{ - return @"tableview appointmentRow"; -} - -- (NSString *) currentAptOwner -{ - return [currentAppointment ownerLogin]; -} - @end diff --git a/UI/Scheduler/UIxCalInlineAptView.m b/UI/Scheduler/UIxCalInlineAptView.m index 68626d905..c1bb4cf19 100644 --- a/UI/Scheduler/UIxCalInlineAptView.m +++ b/UI/Scheduler/UIxCalInlineAptView.m @@ -21,7 +21,6 @@ // $Id: UIxCalInlineAptView.m 885 2005-07-21 16:41:34Z znek $ #import -#import @interface UIxCalInlineAptView : WOComponent { @@ -144,7 +143,7 @@ - (NSString *) displayClasses { return [NSString stringWithFormat: @"appointmentView ownerIs%@", - [appointment ownerLogin]]; + [appointment objectForKey: @"owner"]]; } /* helpers */ @@ -161,9 +160,4 @@ referenceDate: [self referenceDate]]; } -- (NSString *) appointmentOwner -{ - return [appointment ownerLogin]; -} - @end diff --git a/UI/Scheduler/UIxCalTasksListView.m b/UI/Scheduler/UIxCalTasksListView.m index 9d0385f16..a939a76f8 100644 --- a/UI/Scheduler/UIxCalTasksListView.m +++ b/UI/Scheduler/UIxCalTasksListView.m @@ -27,7 +27,6 @@ #import #import -#import #import #import "UIxCalTasksListView.h" @@ -98,7 +97,8 @@ } allClasses = [NSString stringWithFormat: @"%@ ownerIs%@", - statusClass, [currentTask ownerLogin]]; + statusClass, + [currentTask objectForKey: @"owner"]]; return allClasses; } @@ -133,9 +133,4 @@ return ([[currentTask objectForKey: @"status"] intValue] == 1); } -- (NSString *) currentTaskOwner -{ - return [currentTask ownerLogin]; -} - @end diff --git a/UI/Templates/ContactsUI/UIxContactsListView.wox b/UI/Templates/ContactsUI/UIxContactsListView.wox index 2bb4fffca..dc04a8bb5 100644 --- a/UI/Templates/ContactsUI/UIxContactsListView.wox +++ b/UI/Templates/ContactsUI/UIxContactsListView.wox @@ -47,7 +47,7 @@ onclick="return onContactRowClick(event, this);" ondblclick="return onContactRowDblClick(event, this);" oncontextmenu="return onContactContextMenu(event, this);"> - + diff --git a/UI/Templates/SchedulerUI/UIxCalAptListView.wox b/UI/Templates/SchedulerUI/UIxCalAptListView.wox index af15b308e..8768055d7 100644 --- a/UI/Templates/SchedulerUI/UIxCalAptListView.wox +++ b/UI/Templates/SchedulerUI/UIxCalAptListView.wox @@ -41,9 +41,9 @@ >