|
1 | 1 | <!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar--> |
2 | 2 | <tal:block metal:use-macro="templates/page/macros/icing"> |
3 | | -<title metal:fill-slot="head_title"> |
4 | | - List of issues - <span tal:replace="config/TRACKER_NAME" /> |
5 | | -</title> |
6 | | -<span metal:fill-slot="body_title" tal:omit-tag="python:1">List of issues</span> |
| 3 | +<title metal:fill-slot="head_title" i18n:translate="" |
| 4 | + >List of issues - <span tal:replace="config/TRACKER_NAME" |
| 5 | + i18n:name="tracker" /></title> |
| 6 | +<span metal:fill-slot="body_title" tal:omit-tag="python:1" |
| 7 | + i18n:translate="">List of issues</span> |
7 | 8 | <td class="content" metal:fill-slot="content"> |
8 | 9 |
|
9 | | -<tal:block tal:condition="not:context/is_view_ok"> |
10 | | -You are not allowed to view this page. |
11 | | -</tal:block> |
| 10 | +<span tal:condition="not:context/is_view_ok" |
| 11 | + tal:omit-tag="python:1" i18n:translate="" |
| 12 | +>You are not allowed to view this page.</span> |
12 | 13 |
|
13 | 14 | <tal:block tal:define="batch request/batch" tal:condition="context/is_view_ok"> |
14 | 15 | <table class="list"> |
15 | 16 | <tr> |
16 | | - <th tal:condition="request/show/priority">Priority</th> |
17 | | - <th tal:condition="request/show/id">ID</th> |
18 | | - <th tal:condition="request/show/creation">Creation</th> |
19 | | - <th tal:condition="request/show/activity">Activity</th> |
20 | | - <th tal:condition="request/show/actor">Actor</th> |
21 | | - <th tal:condition="request/show/topic">Topic</th> |
22 | | - <th tal:condition="request/show/title">Title</th> |
23 | | - <th tal:condition="request/show/status">Status</th> |
24 | | - <th tal:condition="request/show/creator">Creator</th> |
25 | | - <th tal:condition="request/show/assignedto">Assigned To</th> |
| 17 | + <th tal:condition="request/show/priority" i18n:translate="">Priority</th> |
| 18 | + <th tal:condition="request/show/id" i18n:translate="">ID</th> |
| 19 | + <th tal:condition="request/show/creation" i18n:translate="">Creation</th> |
| 20 | + <th tal:condition="request/show/activity" i18n:translate="">Activity</th> |
| 21 | + <th tal:condition="request/show/actor" i18n:translate="">Actor</th> |
| 22 | + <th tal:condition="request/show/topic" i18n:translate="">Topic</th> |
| 23 | + <th tal:condition="request/show/title" i18n:translate="">Title</th> |
| 24 | + <th tal:condition="request/show/status" i18n:translate="">Status</th> |
| 25 | + <th tal:condition="request/show/creator" i18n:translate="">Creator</th> |
| 26 | + <th tal:condition="request/show/assignedto" i18n:translate="">Assigned To</th> |
26 | 27 | </tr> |
27 | 28 | <tal:block tal:repeat="i batch"> |
28 | 29 | <tr tal:define="group python:request.group[1]" |
|
65 | 66 | <th> |
66 | 67 | <a tal:define="prev batch/previous" tal:condition="prev" |
67 | 68 | tal:attributes="href python:request.indexargs_href(request.classname, |
68 | | - {'@startwith':prev.first, '@pagesize':prev.size})"><< previous</a> |
| 69 | + {'@startwith':prev.first, '@pagesize':prev.size})" |
| 70 | + i18n:translate=""><< previous</a> |
69 | 71 | |
70 | 72 | </th> |
71 | | - <th tal:content="python: '%d...%d out of %d'%(batch.start, |
72 | | - batch.start+batch.length-1, batch.sequence_length)">current</th> |
| 73 | + <th i18n:translate=""><span tal:replace="batch/start" i18n:name="start" |
| 74 | + />..<span tal:replace="python: batch.start + batch.length -1" i18n:name="end" |
| 75 | + /> out of <span tal:replace="batch/sequence_length" i18n:name="total" |
| 76 | + /></th> |
73 | 77 | <th> |
74 | 78 | <a tal:define="next batch/next" tal:condition="next" |
75 | 79 | tal:attributes="href python:request.indexargs_href(request.classname, |
76 | | - {'@startwith':next.first, '@pagesize':next.size})">next >></a> |
| 80 | + {'@startwith':next.first, '@pagesize':next.size})" |
| 81 | + i18n:translate="">next >></a> |
77 | 82 | |
78 | 83 | </th> |
79 | 84 | </tr> |
|
83 | 88 | </table> |
84 | 89 |
|
85 | 90 | <a tal:attributes="href python:request.indexargs_url('issue', |
86 | | - {'@action':'export_csv'})">Download as CSV</a> |
| 91 | + {'@action':'export_csv'})" i18n:translate="">Download as CSV</a> |
87 | 92 |
|
88 | 93 | <form method="GET" class="index-controls" |
89 | 94 | tal:attributes="action request/classname"> |
90 | | - |
| 95 | + |
91 | 96 | <table class="form"> |
92 | 97 | <tr tal:condition="batch"> |
93 | | - <th>Sort on:</th> |
| 98 | + <th i18n:translate="">Sort on:</th> |
94 | 99 | <td> |
95 | 100 | <select name="@sort"> |
96 | | - <option value="">- nothing -</option> |
| 101 | + <option value="" i18n:translate="">- nothing -</option> |
97 | 102 | <option tal:repeat="col context/properties" |
98 | 103 | tal:attributes="value col/_name; |
99 | 104 | selected python:col._name == request.sort[1]" |
100 | 105 | tal:content="col/_name">column</option> |
101 | 106 | </select> |
102 | 107 | </td> |
103 | | - <th>Descending:</th> |
| 108 | + <th i18n:translate="">Descending:</th> |
104 | 109 | <td><input type="checkbox" name="@sortdir" |
105 | | - tal:attributes="checked python:request.sort[0] == '-'"> |
| 110 | + tal:attributes="checked python:request.sort[0] == '-'"> |
106 | 111 | </td> |
107 | 112 | </tr> |
108 | 113 | <tr> |
109 | | - <th>Group on:</th> |
| 114 | + <th i18n:translate="">Group on:</th> |
110 | 115 | <td> |
111 | 116 | <select name="@group"> |
112 | | - <option value="">- nothing -</option> |
| 117 | + <option value="" i18n:translate="">- nothing -</option> |
113 | 118 | <option tal:repeat="col context/properties" |
114 | 119 | tal:attributes="value col/_name; |
115 | 120 | selected python:col._name == request.group[1]" |
116 | 121 | tal:content="col/_name">column</option> |
117 | 122 | </select> |
118 | 123 | </td> |
119 | | - <th>Descending:</th> |
| 124 | + <th i18n:translate="">Descending:</th> |
120 | 125 | <td><input type="checkbox" name="@groupdir" |
121 | | - tal:attributes="checked python:request.group[0] == '-'"> |
| 126 | + tal:attributes="checked python:request.group[0] == '-'"> |
122 | 127 | </td> |
123 | 128 | </tr> |
124 | 129 | <tr><td colspan="4"> |
|
0 commit comments