Ne semble plus ĂȘtre utile.
[Plinn.git] / Products / Plinn / www / configureCalendarTool.zpt
1 <tal:header tal:replace="structure here/manage_page_header">header</tal:header>
2 <tal:tabs tal:replace="structure here/manage_tabs">tabs</tal:tabs>
3 <div i18n:domain="plinn">
4 <h3 i18n:translate="">Configure <code i18n:name="portal_calendar">portal_calendar</code> Tool</h3>
5 <form action="." method="get" tal:attributes="action here/absolute_url"
6 tal:define="indexes here/getCandidateIndexes ;
7 dateIndexes here/getDateIndexes ;
8 displayRange here/getDisplayRange ;
9 ">
10 <h4 i18n:translate="">Select date indexes</h4>
11 <select name="dateIndexes:list" size="7" multiple>
12 <option value="index" tal:repeat="index indexes" tal:attributes="value index ; selected python:index in dateIndexes" tal:content="index">index</option>
13 </select><br />
14 <h4 i18n:translate="">Select default time range displayed in calendar week view</h4>
15 <input type="text" name="displayRange:tokens" size="24" tal:attributes="value python:' '.join(map(lambda i : str(i/4), displayRange))"/>
16 <span i18n:translate="">(start and end time in hour)</span>
17 <br />
18 <input type="submit" name="configureTool:method" value="Change" i18n:attributes="value" />
19 </form>
20 </div>
21 <tal:footer tal:replace="structure here/manage_page_footer">footer</tal:footer>
22
23