1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/themes/mercurialroundup/html/_generic.index.html Sun Jun 06 16:19:05 2010 +0200
1.3 @@ -0,0 +1,71 @@
1.4 +<!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
1.5 +
1.6 +<tal:block metal:use-macro="templates/page/macros/icing">
1.7 +<title metal:fill-slot="head_title" i18n:translate=""
1.8 + ><span tal:replace="python:context._classname.capitalize()"
1.9 + i18n:name="class" /> editing - <span i18n:name="tracker"
1.10 + tal:replace="config/TRACKER_NAME" /></title>
1.11 +<tal:block metal:fill-slot="body_title" i18n:translate=""
1.12 + ><span tal:replace="python:context._classname.capitalize()"
1.13 + i18n:name="class" /> editing</tal:block>
1.14 +
1.15 +<td class="content" metal:fill-slot="content">
1.16 +
1.17 +<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok()
1.18 + or request.user.hasRole('Anonymous'))"
1.19 + tal:omit-tag="python:1" i18n:translate=""
1.20 +>You are not allowed to view this page.</span>
1.21 +
1.22 +<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())
1.23 + and request.user.hasRole('Anonymous')"
1.24 + tal:omit-tag="python:1" i18n:translate=""
1.25 +>Please login with your username and password.</span>
1.26 +
1.27 +<tal:block tal:condition="context/is_edit_ok">
1.28 +<tal:block i18n:translate="">
1.29 +<p class="form-help">
1.30 + You may edit the contents of the
1.31 + <span tal:replace="request/classname" i18n:name="classname"/>
1.32 + class using this form. Commas, newlines and double quotes (") must be
1.33 + handled delicately. You may include commas and newlines by enclosing the
1.34 + values in double-quotes ("). Double quotes themselves must be quoted by
1.35 + doubling ("").
1.36 +</p>
1.37 +
1.38 +<p class="form-help">
1.39 + Multilink properties have their multiple values colon (":") separated
1.40 + (... ,"one:two:three", ...)
1.41 +</p>
1.42 +
1.43 +<p class="form-help">
1.44 + Remove entries by deleting their line. Add new entries by appending
1.45 + them to the table - put an X in the id column. If you wish to restore a
1.46 + removed item and you know its id then just put that id in the id column.
1.47 +</p>
1.48 +</tal:block>
1.49 +<form onSubmit="return submit_once()" method="POST"
1.50 + tal:attributes="action context/designator">
1.51 +<textarea rows="15" style="width:90%" name="rows" tal:content="context/csv"></textarea>
1.52 +<br>
1.53 +<input type="hidden" name="@action" value="editCSV">
1.54 +<input type="submit" value="Edit Items" i18n:attributes="value">
1.55 +</form>
1.56 +</tal:block>
1.57 +
1.58 +<table tal:condition="context/is_only_view_ok" width="100%" class="list">
1.59 + <tr>
1.60 + <th tal:repeat="property context/propnames" tal:content="property"> </th>
1.61 + </tr>
1.62 + <tal:block repeat="item context/list">
1.63 + <tr tal:condition="item/is_view_ok"
1.64 + tal:attributes="class python:['normal', 'alt'][repeat['item'].index%6/3]">
1.65 + <td tal:repeat="property context/propnames"
1.66 + tal:content="python: item[property] or default"
1.67 + > </td>
1.68 + </tr>
1.69 + </tal:block>
1.70 +</table>
1.71 +
1.72 +</td>
1.73 +
1.74 +</tal:block>