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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
249
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
3 <html metal:use-macro="here/edit_template/macros/page">
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
4 <head>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
5 </head>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
6 <body>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
7 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:calendar" />
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
8 <tal:block metal:fill-slot="body">
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
9 <form tal:attributes="action string:$root/editProjectCalendar" method="post" tal:define="cal here/getProjectCalendar">
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
10 <h3>Project calendar</h3>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
11 <p>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
12 Calendar URL: <input name="url" tal:attributes="value cal/url | nothing" size="80" />
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
13 </p>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
14 <p>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
15 URL has to link to publicly accessible calendar in iCalendar format.<br /> (e.g.
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
16 https://sogo.mpiwg-berlin.mpg.de/SOGo/dav/public/mpiwg-calendar/Calendar/A5B-52288800-1-2F304600.ics)
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
17 </p>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
18 <p tal:condition="cal">Remove the calendar URL to switch off calendar display.</p>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
19 <p tal:condition="not:cal">Calendar display properties can be changed after the calendar has been created.</p>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
20 <p tal:condition="cal">
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
21 <tal:block tal:define="name string:only_upcoming; value python:test(cal.getFlag('only_upcoming'), 'yes', 'no');">
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
22 Show only upcoming events in the calendar: <span metal:use-macro="here/en/common_template/macros/yesno_input_radio" />
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
23 </tal:block>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
24 </p>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
25 <p tal:condition="cal">
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
26 Number of events to show: <input name="show_num" size="2" tal:attributes="value python:cal.getFlag('show_num', 5)" />
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
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
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
34 <p>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
35 <input type="submit" value="submit" />
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
36 </p>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
37 </form>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
38
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
39 </tal:block>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
40 </body>
f07dc0d2c60c add project calendar (ticket #137).
casties
parents:
diff changeset
41 </html>