# HG changeset patch # User Paul Boddie # Date 1446573085 -3600 # Node ID edb0b214e523003dd473607417522e8e14964983 # Parent 1bb2fa5e2dd4f437a869857f2c758ade4939bd1e Separated the ignore control on the event page. diff -r 1bb2fa5e2dd4 -r edb0b214e523 htdocs/styles.css --- a/htdocs/styles.css Tue Nov 03 18:32:20 2015 +0100 +++ b/htdocs/styles.css Tue Nov 03 18:51:25 2015 +0100 @@ -301,6 +301,12 @@ display: block; } +/* Separate the ignore control. */ + +input.ignore { + margin-left: 2em; +} + /* Make calendar labels occupy cells completely. See: http://stackoverflow.com/questions/2841484/how-can-a-label-completely-fill-its-parent-td */ diff -r 1bb2fa5e2dd4 -r edb0b214e523 imipweb/event.py --- a/imipweb/event.py Tue Nov 03 18:32:20 2015 +0100 +++ b/imipweb/event.py Tue Nov 03 18:51:25 2015 +0100 @@ -157,7 +157,7 @@ page.add(" ") self.control("discard", "submit", "Discard event") page.add(" ") - self.control("ignore", "submit", "Do nothing for now") + self.control("ignore", "submit", "Return to the calendar", class_="ignore") page.p.close() if self.is_organiser(): @@ -177,7 +177,7 @@ self.control("discard", "submit", "Discard event") page.add(" ") - self.control("ignore", "submit", "Do nothing for now") + self.control("ignore", "submit", "Return to the calendar", class_="ignore") page.add(" ") self.control("save", "submit", "Save without sending") page.p.close()