Mercurial > hg > MPIWGWeb
view 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 |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html metal:use-macro="here/edit_template/macros/page"> <head> </head> <body> <tal:block metal:fill-slot="navsel" tal:define="global menusel string:calendar" /> <tal:block metal:fill-slot="body"> <form tal:attributes="action string:$root/editProjectCalendar" method="post" tal:define="cal here/getProjectCalendar"> <h3>Project calendar</h3> <p> Calendar URL: <input name="url" tal:attributes="value cal/url | nothing" size="80" /> </p> <p> URL has to link to publicly accessible calendar in iCalendar format.<br /> (e.g. https://sogo.mpiwg-berlin.mpg.de/SOGo/dav/public/mpiwg-calendar/Calendar/A5B-52288800-1-2F304600.ics) </p> <p tal:condition="cal">Remove the calendar URL to switch off calendar display.</p> <p tal:condition="not:cal">Calendar display properties can be changed after the calendar has been created.</p> <p tal:condition="cal"> <tal:block tal:define="name string:only_upcoming; value python:test(cal.getFlag('only_upcoming'), 'yes', 'no');"> Show only upcoming events in the calendar: <span metal:use-macro="here/en/common_template/macros/yesno_input_radio" /> </tal:block> </p> <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> </form> </tal:block> </body> </html>