1.1 --- a/imipweb/event.py Fri Oct 16 00:01:10 2015 +0200
1.2 +++ b/imipweb/event.py Fri Oct 16 00:11:25 2015 +0200
1.3 @@ -234,7 +234,7 @@
1.4 if name in "ATTENDEE":
1.5 rowspan = len(attendees) + 1
1.6 elif name == "DTEND":
1.7 - rowspan = 2
1.8 + rowspan = self.can_change_object() and 2 or 1
1.9 elif not items:
1.10 continue
1.11
1.12 @@ -278,7 +278,7 @@
1.13
1.14 # After the end datetime, show a control to add recurrences.
1.15
1.16 - if name == "DTEND":
1.17 + if name == "DTEND" and self.can_change_object():
1.18 page.tr()
1.19 page.td()
1.20 self.control("recur-add", "submit", "add", id="recur-add", class_="add")