Still need to add date/time and fix a rendering bug.
time_t event_tt;
struct tm event_tm;
struct tm today_tm;
time_t event_tt;
struct tm event_tm;
struct tm today_tm;
+ icalproperty *p = NULL;
+ icalproperty *q = NULL;
struct icaltimetype t;
int month, day, year;
int all_day_event = 0;
struct icaltimetype t;
int month, day, year;
int all_day_event = 0;
- wprintf("<b>Summary:</b> ");
- escputs("lorem ipsum dolor sit amet");
+ wprintf("<b>%s</b> ", _("Summary:"));
+ escputs((char *)icalproperty_get_comment(p));
- wprintf("<b>Location:</b> ");
- escputs("lorem ipsum dolor sit amet");
- wprintf("<br />");
+ q = icalcomponent_get_first_property(
+ WC->disp_cal[i].cal,
+ ICAL_LOCATION_PROPERTY);
+ if (q) {
+ wprintf("<b>%s</b> ", _("Location:"));
+ escputs((char *)icalproperty_get_comment(q));
+ wprintf("<br />");
+ }
- wprintf("<b>Notes:</b> ");
- escputs("lorem ipsum dolor sit amet");
- wprintf("<br />");
+ q = icalcomponent_get_first_property(
+ WC->disp_cal[i].cal,
+ ICAL_DESCRIPTION_PROPERTY);
+ if (q) {
+ wprintf("<b>%s</b> ", _("Notes:"));
+ escputs((char *)icalproperty_get_comment(q));
+ wprintf("<br />");
+ }
wprintf("\">");
escputs((char *)
wprintf("\">");
escputs((char *)
color: #000;\r
font:lighter 11px/1.3 sans-serif;\r
text-decoration:none;\r
color: #000;\r
font:lighter 11px/1.3 sans-serif;\r
text-decoration:none;\r
}\r
\r
.tooltip span.top {\r
}\r
\r
.tooltip span.top {\r