# HG changeset patch # User Paul Boddie # Date 1443911731 -7200 # Node ID 4946483c2a767030dc7c6f161efafc6b35d6f5e8 # Parent a71df796169c7463a9f9d497134a8329b7627699 Added an explicit notice about events not having been shared. diff -r a71df796169c -r 4946483c2a76 imipweb/event.py --- a/imipweb/event.py Sat Oct 03 01:05:28 2015 +0200 +++ b/imipweb/event.py Sun Oct 04 00:35:31 2015 +0200 @@ -144,6 +144,9 @@ is_attendee = self.user in attendees is_request = self._have_request(self.uid, self.recurrenceid) + if not self.obj.is_shared(): + page.p("This event has not been shared.") + # Show appropriate options depending on the role of the user. if is_attendee and not self.is_organiser(): @@ -161,7 +164,7 @@ page.p("As organiser, you can perform the following:") page.p() - self.control("create", "submit", not self.obj.is_shared() and "Create event" or "Update event") + self.control("create", "submit", "Update event") page.add(" ") if self.obj.is_shared() and not is_request: