Code

fixed ZRoundup - mostly changes to classic template
[roundup.git] / templates / classic / html / _generic.index.html
1 <!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
3 <tal:block metal:use-macro="templates/page/macros/icing">
4 <title metal:fill-slot="head_title"
5        tal:content="python:context._classname.capitalize()+' editing'"></title>
6 <td class="page-header-top" metal:fill-slot="body_title">
7  <h2 tal:content="python:context._classname.capitalize()+' editing'"></h2>
8 </td>
9 <td class="content" metal:fill-slot="content">
11 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
12 You are not allowed to view this page.
13 </span>
15 <tal:block tal:condition="context/is_edit_ok">
16 <p class="form-help">
17  You may edit the contents of the <span tal:replace="request/classname" />
18  class using this form. Commas, newlines and double quotes (") must be
19  handled delicately. You may include commas and newlines by enclosing the
20  values in double-quotes ("). Double quotes themselves must be quoted by
21  doubling ("").
22 </p>
24 <p class="form-help">
25  Multilink properties have their multiple values colon (":") separated 
26  (... ,"one:two:three", ...)
27 </p>
29 <p class="form-help">
30  Remove entries by deleting their line. Add new entries by appending
31  them to the table - put an X in the id column.
32 </p>
34 <form onSubmit="return submit_once()" method="POST"
35       tal:attributes="action context/designator">
36 <textarea rows="15" cols="60" name="rows" tal:content="context/csv"></textarea>
37 <br>
38 <input type="hidden" name="@action" value="editCSV">
39 <input type="submit" value="Edit Items">
40 </form>
41 </tal:block>
43 <tal:block tal:condition="context/is_only_view_ok">
44 view ok
45 </tal:block>
47 </td>
49 </tal:block>