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 {
</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>
- (NSString *)aptTypeLabel;
- (NSString *)aptTypeIcon;
- (NSString *)shortTextForApt;
-
+- (NSString *)shortTitleForApt;
+
/* related to current day */
- (void)setCurrentDay:(NSCalendarDate *)_day;
- (NSCalendarDate *)currentDay;
[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];
}