Mercurial > hg > MPIWGWeb
annotate zpt/project/edit_calendar.zpt @ 284:1a103b073c72 default tip
make favicon url host and schema relative.
author | casties |
---|---|
date | Thu, 25 Jun 2015 17:44:57 +0200 |
parents | 2e507e256726 |
children |
rev | line source |
---|---|
249 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 <html metal:use-macro="here/edit_template/macros/page"> | |
4 <head> | |
5 </head> | |
6 <body> | |
7 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:calendar" /> | |
8 <tal:block metal:fill-slot="body"> | |
9 <form tal:attributes="action string:$root/editProjectCalendar" method="post" tal:define="cal here/getProjectCalendar"> | |
10 <h3>Project calendar</h3> | |
11 <p> | |
12 Calendar URL: <input name="url" tal:attributes="value cal/url | nothing" size="80" /> | |
13 </p> | |
14 <p> | |
15 URL has to link to publicly accessible calendar in iCalendar format.<br /> (e.g. | |
16 https://sogo.mpiwg-berlin.mpg.de/SOGo/dav/public/mpiwg-calendar/Calendar/A5B-52288800-1-2F304600.ics) | |
17 </p> | |
18 <p tal:condition="cal">Remove the calendar URL to switch off calendar display.</p> | |
19 <p tal:condition="not:cal">Calendar display properties can be changed after the calendar has been created.</p> | |
20 <p tal:condition="cal"> | |
21 <tal:block tal:define="name string:only_upcoming; value python:test(cal.getFlag('only_upcoming'), 'yes', 'no');"> | |
22 Show only upcoming events in the calendar: <span metal:use-macro="here/en/common_template/macros/yesno_input_radio" /> | |
23 </tal:block> | |
24 </p> | |
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)" /> | |
27 </p> | |
250
2e507e256726
added filtering by category (including substring) to project calendar display.
casties
parents:
249
diff
changeset
|
28 <p tal:condition="cal"> |
2e507e256726
added filtering by category (including substring) to project calendar display.
casties
parents:
249
diff
changeset
|
29 Show only events matching category: <input name="cat_match" size="5" tal:attributes="value python:cal.getFlag('cat_match')" /><br/> |
2e507e256726
added filtering by category (including substring) to project calendar display.
casties
parents:
249
diff
changeset
|
30 If all events have the project number as their category "3.1" would show only events of project 3.1 while "3*" would |
2e507e256726
added filtering by category (including substring) to project calendar display.
casties
parents:
249
diff
changeset
|
31 show all events of project 3 and all of its subprojects.<br/> |
2e507e256726
added filtering by category (including substring) to project calendar display.
casties
parents:
249
diff
changeset
|
32 Leave empty to show all events in the calendar. |
2e507e256726
added filtering by category (including substring) to project calendar display.
casties
parents:
249
diff
changeset
|
33 </p> |
249 | 34 <p> |
35 <input type="submit" value="submit" /> | |
36 </p> | |
37 </form> | |
38 | |
39 </tal:block> | |
40 </body> | |
41 </html> |