# HG changeset patch # User Paul Boddie # Date 1395533287 -3600 # Node ID 640b3c93b637d41997eb348ffd13801aa4f5d3f6 # Parent 7c6bf1771fcc555c03b2abaf56e6c9610c347596 Permit "name" as an alias for "calendar". diff -r 7c6bf1771fcc -r 640b3c93b637 macros/EventAggregator.py --- a/macros/EventAggregator.py Sat Mar 22 21:09:46 2014 +0100 +++ b/macros/EventAggregator.py Sun Mar 23 01:08:07 2014 +0100 @@ -41,7 +41,7 @@ mode=map shows a map of events calendar=NAME uses the given NAME to provide request parameters which - can be used to control the calendar view + name=NAME can be used to control the calendar view template=PAGE uses the given PAGE as the default template for new events (or the default template from the configuration @@ -127,6 +127,9 @@ elif arg.startswith("calendar="): calendar_name = arg[9:] + elif arg.startswith("name="): + calendar_name = arg[5:] + elif arg.startswith("template="): template_name = arg[9:]