# HG changeset patch # User Paul Boddie # Date 1428182753 -7200 # Node ID e380eda892383c9fbf2bf9654c1bafc9f335ac55 # Parent a9c6e1a6dfa2c3178cba864ee8276e7c7f5bbdb1 Prevent participation indicators from acting as submit buttons for existing attendees who are not the current user as organiser. diff -r a9c6e1a6dfa2 -r e380eda89238 imipweb/event.py --- a/imipweb/event.py Sat Apr 04 23:21:26 2015 +0200 +++ b/imipweb/event.py Sat Apr 04 23:25:53 2015 +0200 @@ -677,7 +677,7 @@ # button in order to refresh the page and show a control for # the current user, if indicated. - elif is_organiser: + elif is_organiser and not existing: page.input(name="partstat-refresh", type="submit", value="refresh", id="partstat-%d" % i, class_="refresh") page.label(dict(self.partstat_items).get(partstat, ""), for_="partstat-%s" % i, class_="partstat") else: