+2004-08-16 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * calendar.css: additional css for other appointments (v0.9.14)
+
2004-08-14 Marcus Mueller <znek@mulle-kybernetik.com>
* UIxPageFrame.m: -title returns label for "OpenGroupware.org" when
# $Id$
-SUBMINOR_VERSION:=13
+SUBMINOR_VERSION:=14
color: #000000;
}
+.apt_other {
+ color: #000000;
+}
+
+.apt_other_print {
+ font-style: italic;
+}
/* day overview */
+2004-08-16 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * v0.9.63
+
+ * UIxCalView.m: -isMyApt done properly.
+
+ * UIxCalWeekOverview.wox: use extra stylesheet info to colorize other's
+ appointments differently.
+
+ * UIxDatePicker.m: removed a debug log.
+
2004-08-16 Helge Hess <helge.hess@skyrix.com>
* UIxAppointmentProposal.m: first working version of proposal (v0.9.62)
#include <NGObjWeb/SoUser.h>
#include <SOGoUI/SOGoAptFormatter.h>
#include <SOGoLogic/AgenorUserManager.h>
+#include "UIxComponent+Agenor.h"
@interface UIxCalView (PrivateAPI)
- (NSString *)_userFolderURI;
}
- (BOOL)isMyApt {
- return YES;
+ NSString *mailtoChunk;
+ NSString *myEmail;
+
+ mailtoChunk = [self->appointment valueForKey:@"partmails"];
+ myEmail = [self emailForUser];
+ if([mailtoChunk rangeOfString:myEmail].length > 0)
+ return YES;
+ return NO;
}
- (NSString *)aptStyle {
if(![self isMyApt])
- return @"other_apt";
+ return @"apt_other";
return nil;
}
<var:foreach list="allDayApts" item="appointment">
<a var:href="appointmentViewURL"
var:queryDictionary="currentDayQueryParameters"
+ var:class="aptStyle"
><var:string value="appointment"
formatter="aptFormatter"
const:escapeHTML="NO"
- style="aptStyle"
/></a>
</var:foreach>
</var:week-info>
if (d == nil)
[self logWithFormat:@"WARNING: Could not parse dateString: '%@'",
dateString];
- [self logWithFormat:@"%s setting date: %@", __PRETTY_FUNCTION__, d];
[self setDay:[NSNumber numberWithInt:[d dayOfMonth]]];
[self setMonth:[NSNumber numberWithInt:[d monthOfYear]]];
[self setYear:[NSNumber numberWithInt:[d yearOfCommonEra]]];
# $Id$
-SUBMINOR_VERSION:=61
+SUBMINOR_VERSION:=63
# v0.9.61 requires libNGExtensions v4.2.102
# v0.9.41 requires libNGObjWeb v4.2.431