Monotone-Parent: 3e2187f44ea3be4208acae016be88b647bfe78a4

Monotone-Revision: 7db953f3e208a524c131effeb93c6030fda6cc6e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-20T21:17:18
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-20 21:17:18 +00:00
parent c2bd3347b7
commit 8c84f0e6f8
6 changed files with 7 additions and 30 deletions

View File

@@ -27,8 +27,6 @@
#import <NGExtensions/NSCalendarDate+misc.h>
#import <Appointments/SOGoAppointmentFolder.h>
#import <SOGo/NSObject+Owner.h>
#import <SOGoUI/SOGoDateFormatter.h>
#import "UIxCalAptListView.h"
@@ -182,14 +180,4 @@
[date minuteOfHour]];
}
- (NSString *) currentRowCSSClass
{
return @"tableview appointmentRow";
}
- (NSString *) currentAptOwner
{
return [currentAppointment ownerLogin];
}
@end

View File

@@ -21,7 +21,6 @@
// $Id: UIxCalInlineAptView.m 885 2005-07-21 16:41:34Z znek $
#import <NGObjWeb/NGObjWeb.h>
#import <SOGo/NSObject+Owner.h>
@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

View File

@@ -27,7 +27,6 @@
#import <NGExtensions/NSCalendarDate+misc.h>
#import <Appointments/SOGoAppointmentFolder.h>
#import <SOGo/NSObject+Owner.h>
#import <SOGoUI/SOGoDateFormatter.h>
#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

View File

@@ -47,7 +47,7 @@
onclick="return onContactRowClick(event, this);"
ondblclick="return onContactRowDblClick(event, this);"
oncontextmenu="return onContactContextMenu(event, this);">
<td onmousedown="return false;"><img rsrc:src="abcard.gif" /><var:string value="displayName" /></td>
<td onmousedown="return false;"><img rsrc:src="abcard.gif" /><var:string value="displayName" const:escapeHTML="YES" /></td>
<td onmousedown="return false;"><var:string value="currentContact.mail" /></td>
<td onmousedown="return false;"><var:string value="currentContact.telephonenumber" /></td>
<td onmousedown="return false;"><var:string value="currentContact.l" /></td>

View File

@@ -41,9 +41,9 @@
></tr>
<var:foreach list="fetchCoreAppointmentsInfos" item="currentAppointment"
><tr var:class="currentRowCSSClass"
><tr class="tableview appointmentRow"
var:id="currentAppointment.c_name"
var:owner="currentAptOwner"
var:owner="currentAppointment.owner"
onclick="return onAppointmentClick(event);"
ondblclick="return editDoubleClickedEvent(this);"
oncontextmenu="return onAppointmentContextMenu(event, this);"

View File

@@ -15,7 +15,7 @@
/></var:if
><a href="#"
onclick="onCalendarSelectAppointment(event, this);"
var:owner="appointmentOwner"
var:owner="appointment.owner"
ondblclick="displayAppointment(event, this);"
var:aptCName="appointment.c_name"
var:title="tooltip"