Mercurial > hg > MPIWGWeb
diff zpt/project/edit_calendar.zpt @ 250:2e507e256726
added filtering by category (including substring) to project calendar display.
author | casties |
---|---|
date | Fri, 25 Apr 2014 15:30:43 +0200 |
parents | f07dc0d2c60c |
children |
line wrap: on
line diff
--- a/zpt/project/edit_calendar.zpt Wed Apr 23 16:53:10 2014 +0200 +++ b/zpt/project/edit_calendar.zpt Fri Apr 25 15:30:43 2014 +0200 @@ -25,6 +25,12 @@ <p tal:condition="cal"> Number of events to show: <input name="show_num" size="2" tal:attributes="value python:cal.getFlag('show_num', 5)" /> </p> + <p tal:condition="cal"> + Show only events matching category: <input name="cat_match" size="5" tal:attributes="value python:cal.getFlag('cat_match')" /><br/> + If all events have the project number as their category "3.1" would show only events of project 3.1 while "3*" would + show all events of project 3 and all of its subprojects.<br/> + Leave empty to show all events in the calendar. + </p> <p> <input type="submit" value="submit" /> </p>