]> err.no Git - scalable-opengroupware.org/commitdiff
forgot these
authorznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Fri, 25 Jun 2004 15:11:25 +0000 (15:11 +0000)
committerznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Fri, 25 Jun 2004 15:11:25 +0000 (15:11 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@63 d1b88da0-ebda-0310-925b-ed51d893ca5b

ZideStore/UI-X/Common/calendar.css
ZideStore/UI-X/Scheduler/UIxCalMonthOverview.wox
ZideStore/UI-X/Scheduler/UIxCalView.h
ZideStore/UI-X/Scheduler/UIxCalView.m

index 364b9a0b4f297ba8a06c0e74773a806c53030f33..ee49f296da7670f7b6f731808a80c5fc624cd3f7 100644 (file)
   background-color: #e8e8e0;
   font-size:        9pt;
   height:           60;
-  vertical-align:   top;
 }
 
 .monthoverview_content a {
   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 {
   background-color: #d2d2cc;
   font-size:        9pt;
   height:           60;
-  vertical-align:   top;
 }
 
 .monthoverview_content_dimmed a {
index f21dd3a529207327ba96bb6c230e2795cfbc2a90..f79f96ae387c6f285a9b16ce1fed63412857b683 100644 (file)
         </var:month-title>
 
         <var:month>
-            <a var:href="appointmentViewURL" class="monthoverview_content_link"><var:string value="appointment.title" /></a>
+            <a var:href="appointmentViewURL"
+               class="monthoverview_content_link"
+               var:title="shortTextForApt"
+            ><var:string value="shortTitleForApt" /></a>
         </var:month>
     </var:month-overview>
   </var:component>
index aed11e77c91b6c1fde446378ab493a0e079701fb..59c49d37bcd42b82c26cb87777b7459f85647037 100644 (file)
@@ -24,7 +24,8 @@
 - (NSString *)aptTypeLabel;
 - (NSString *)aptTypeIcon;
 - (NSString *)shortTextForApt;
-    
+- (NSString *)shortTitleForApt;
+
 /* related to current day */
 - (void)setCurrentDay:(NSCalendarDate *)_day;
 - (NSCalendarDate *)currentDay;
index a3f04fd17aae216011731053384a96c9a82b375e..65eb785b17c364911531678eee4fa84eaa130d9d 100644 (file)
         [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];
 }