From: znek Date: Fri, 25 Jun 2004 15:11:25 +0000 (+0000) Subject: forgot these X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a34f79533d02a4c2eaba147b5855b5f63c6c44a7;p=scalable-opengroupware.org forgot these git-svn-id: http://svn.opengroupware.org/SOGo/trunk@63 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/ZideStore/UI-X/Common/calendar.css b/ZideStore/UI-X/Common/calendar.css index 364b9a0b..ee49f296 100644 --- a/ZideStore/UI-X/Common/calendar.css +++ b/ZideStore/UI-X/Common/calendar.css @@ -125,7 +125,6 @@ background-color: #e8e8e0; font-size: 9pt; height: 60; - vertical-align: top; } .monthoverview_content a { @@ -133,11 +132,16 @@ font-weight: bold; } +.monthoverview_content td { + text-align: let; + vertical-align: top; +} + + .monthoverview_content_hilite { background-color: #fffff0; font-size: 9pt; height: 60; - vertical-align: top; } .monthoverview_content_hilite a { @@ -149,7 +153,6 @@ background-color: #d2d2cc; font-size: 9pt; height: 60; - vertical-align: top; } .monthoverview_content_dimmed a { diff --git a/ZideStore/UI-X/Scheduler/UIxCalMonthOverview.wox b/ZideStore/UI-X/Scheduler/UIxCalMonthOverview.wox index f21dd3a5..f79f96ae 100644 --- a/ZideStore/UI-X/Scheduler/UIxCalMonthOverview.wox +++ b/ZideStore/UI-X/Scheduler/UIxCalMonthOverview.wox @@ -118,7 +118,10 @@ - + diff --git a/ZideStore/UI-X/Scheduler/UIxCalView.h b/ZideStore/UI-X/Scheduler/UIxCalView.h index aed11e77..59c49d37 100644 --- a/ZideStore/UI-X/Scheduler/UIxCalView.h +++ b/ZideStore/UI-X/Scheduler/UIxCalView.h @@ -24,7 +24,8 @@ - (NSString *)aptTypeLabel; - (NSString *)aptTypeIcon; - (NSString *)shortTextForApt; - +- (NSString *)shortTitleForApt; + /* related to current day */ - (void)setCurrentDay:(NSCalendarDate *)_day; - (NSCalendarDate *)currentDay; diff --git a/ZideStore/UI-X/Scheduler/UIxCalView.m b/ZideStore/UI-X/Scheduler/UIxCalView.m index a3f04fd1..65eb785b 100644 --- a/ZideStore/UI-X/Scheduler/UIxCalView.m +++ b/ZideStore/UI-X/Scheduler/UIxCalView.m @@ -62,6 +62,17 @@ [f stringForObjectValue:self->appointment]]; } +- (NSString *)shortTitleForApt { + NSString *title; + + title = [self->appointment valueForKey:@"title"]; + if([title length] > 12) { + title = [NSString stringWithFormat:@"%@...", + [title substringToIndex:11]]; + } + return title; +} + - (NSCalendarDate *)referenceDateForFormatter { return [self selectedDate]; }