comparison 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
comparison
equal deleted inserted replaced
249:f07dc0d2c60c 250:2e507e256726
23 </tal:block> 23 </tal:block>
24 </p> 24 </p>
25 <p tal:condition="cal"> 25 <p tal:condition="cal">
26 Number of events to show: <input name="show_num" size="2" tal:attributes="value python:cal.getFlag('show_num', 5)" /> 26 Number of events to show: <input name="show_num" size="2" tal:attributes="value python:cal.getFlag('show_num', 5)" />
27 </p> 27 </p>
28 <p tal:condition="cal">
29 Show only events matching category: <input name="cat_match" size="5" tal:attributes="value python:cal.getFlag('cat_match')" /><br/>
30 If all events have the project number as their category "3.1" would show only events of project 3.1 while "3*" would
31 show all events of project 3 and all of its subprojects.<br/>
32 Leave empty to show all events in the calendar.
33 </p>
28 <p> 34 <p>
29 <input type="submit" value="submit" /> 35 <input type="submit" value="submit" />
30 </p> 36 </p>
31 </form> 37 </form>
32 38