1.1 --- a/imip_manager.py Thu Feb 05 18:08:47 2015 +0100
1.2 +++ b/imip_manager.py Thu Feb 05 18:10:04 2015 +0100
1.3 @@ -627,7 +627,7 @@
1.4 page.table(class_="object", cellspacing=5, cellpadding=5)
1.5 page.thead()
1.6 page.tr()
1.7 - page.th("Event", class_="mainheading", colspan=2)
1.8 + page.th("Event", class_="mainheading", colspan=3)
1.9 page.tr.close()
1.10 page.thead.close()
1.11 page.tbody()
1.12 @@ -646,7 +646,7 @@
1.13 name == "DTSTART" and self.format_datetime or self.format_end_datetime
1.14 )(to_timezone(get_datetime(value), tzid), "full")
1.15 page.th(label, class_="objectheading")
1.16 - page.td(value)
1.17 + page.td(value, colspan=2)
1.18 page.tr.close()
1.19
1.20 # Handle the summary specially.
1.21 @@ -654,7 +654,7 @@
1.22 elif name == "SUMMARY":
1.23 value = obj.get_value(name)
1.24 page.th(label, class_="objectheading")
1.25 - page.td()
1.26 + page.td(colspan=2)
1.27 page.input(name="summary", type="text", value=value, size=80)
1.28 page.td.close()
1.29 page.tr.close()
1.30 @@ -676,13 +676,20 @@
1.31 else:
1.32 first = False
1.33
1.34 - page.td()
1.35 - page.add(value)
1.36 + if name == "ATTENDEE":
1.37 + page.td(class_="objectattribute")
1.38 + page.add(value)
1.39 + page.td.close()
1.40 + page.td(class_="partstat")
1.41
1.42 - if name == "ATTENDEE":
1.43 partstat = attr.get("PARTSTAT")
1.44 if partstat and value == self.user:
1.45 self._show_menu("partstat", partstat, self.partstat_items)
1.46 + else:
1.47 + page.add(dict(self.partstat_items).get(partstat, ""))
1.48 + else:
1.49 + page.td(class_="objectattribute", colspan=2)
1.50 + page.add(value)
1.51
1.52 page.td.close()
1.53 page.tr.close()