annotate templates/classic/html/issue.index.html @ 2467:76ead526113d

client instances may be used as translation engines. any backend translator may be passed as constructor argument or via setTranslator() method. by default, templating.translationService is used. use this engine to translate client messages.
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Tue, 15 Jun 2004 09:19:49 +0000
parents 48143bde35df
children 84a969033ed9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
1 <!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
2 <tal:block metal:use-macro="templates/page/macros/icing">
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
3 <title metal:fill-slot="head_title" i18n:translate=""
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
4 >List of issues - <span tal:replace="config/TRACKER_NAME"
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
5 i18n:name="tracker" /></title>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
6 <span metal:fill-slot="body_title" tal:omit-tag="python:1"
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
7 i18n:translate="">List of issues</span>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
8 <td class="content" metal:fill-slot="content">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
9
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
10 <span tal:condition="not:context/is_view_ok"
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
11 tal:omit-tag="python:1" i18n:translate=""
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
12 >You are not allowed to view this page.</span>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
13
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
14 <tal:block tal:define="batch request/batch" tal:condition="context/is_view_ok">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
15 <table class="list">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
16 <tr>
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
17 <th tal:condition="request/show/priority" i18n:translate="">Priority</th>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
18 <th tal:condition="request/show/id" i18n:translate="">ID</th>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
19 <th tal:condition="request/show/creation" i18n:translate="">Creation</th>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
20 <th tal:condition="request/show/activity" i18n:translate="">Activity</th>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
21 <th tal:condition="request/show/actor" i18n:translate="">Actor</th>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
22 <th tal:condition="request/show/topic" i18n:translate="">Topic</th>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
23 <th tal:condition="request/show/title" i18n:translate="">Title</th>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
24 <th tal:condition="request/show/status" i18n:translate="">Status</th>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
25 <th tal:condition="request/show/creator" i18n:translate="">Creator</th>
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
26 <th tal:condition="request/show/assignedto" i18n:translate="">Assigned&nbsp;To</th>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
27 </tr>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
28 <tal:block tal:repeat="i batch">
2075
b1704ba7be41 make mysql / postgresql work again. beginnings of otk/session store in rdbmses
Richard Jones <richard@users.sourceforge.net>
parents: 1976
diff changeset
29 <tr tal:define="group python:request.group[1]"
b1704ba7be41 make mysql / postgresql work again. beginnings of otk/session store in rdbmses
Richard Jones <richard@users.sourceforge.net>
parents: 1976
diff changeset
30 tal:condition="python:group and batch.propchanged(group)">
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
31 <th tal:attributes="colspan python:len(request.columns)"
2075
b1704ba7be41 make mysql / postgresql work again. beginnings of otk/session store in rdbmses
Richard Jones <richard@users.sourceforge.net>
parents: 1976
diff changeset
32 tal:content="python:str(i[group]) or '(no %s set)'%group" class="group">
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
33 </th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
34 </tr>
1625
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
35
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
36 <tr>
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
37 <td tal:condition="request/show/priority"
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
38 tal:content="python:i.priority.plain() or default">&nbsp;</td>
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
39 <td tal:condition="request/show/id" tal:content="i/id">&nbsp;</td>
1825
fad32dafc174 Replaced all uses of the 'nowrap' attribute with its CSS equivalent:
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1824
diff changeset
40 <td class="date" tal:condition="request/show/creation"
1625
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
41 tal:content="i/creation/reldate">&nbsp;</td>
1825
fad32dafc174 Replaced all uses of the 'nowrap' attribute with its CSS equivalent:
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1824
diff changeset
42 <td class="date" tal:condition="request/show/activity"
1625
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
43 tal:content="i/activity/reldate">&nbsp;</td>
2077
3e0961d6d44d Added the "actor" property.
Richard Jones <richard@users.sourceforge.net>
parents: 2075
diff changeset
44 <td class="date" tal:condition="request/show/actor"
3e0961d6d44d Added the "actor" property.
Richard Jones <richard@users.sourceforge.net>
parents: 2075
diff changeset
45 tal:content="python:i.actor.plain() or default">&nbsp;</td>
1625
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
46 <td tal:condition="request/show/topic"
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
47 tal:content="python:i.topic.plain() or default">&nbsp;</td>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
48 <td tal:condition="request/show/title">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
49 <a tal:attributes="href string:issue${i/id}"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
50 tal:content="python:str(i.title.plain(hyperlink=0)) or '[no title]'">title</a>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
51 </td>
1625
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
52 <td tal:condition="request/show/status"
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
53 tal:content="python:i.status.plain() or default">&nbsp;</td>
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
54 <td tal:condition="request/show/creator"
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
55 tal:content="python:i.creator.plain() or default">&nbsp;</td>
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
56 <td tal:condition="request/show/assignedto"
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
57 tal:content="python:i.assignedto.plain() or default">&nbsp;</td>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
58 </tr>
1625
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
59
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
60 </tal:block>
1635
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
61
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
62 <tr tal:condition="batch">
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
63 <th tal:attributes="colspan python:len(request.columns)">
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
64 <table width="100%">
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
65 <tr class="navigation">
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
66 <th>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
67 <a tal:define="prev batch/previous" tal:condition="prev"
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
68 tal:attributes="href python:request.indexargs_href(request.classname,
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
69 {'@startwith':prev.first, '@pagesize':prev.size})"
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
70 i18n:translate="">&lt;&lt; previous</a>
1635
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
71 &nbsp;
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
72 </th>
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
73 <th i18n:translate=""><span tal:replace="batch/start" i18n:name="start"
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
74 />..<span tal:replace="python: batch.start + batch.length -1" i18n:name="end"
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
75 /> out of <span tal:replace="batch/sequence_length" i18n:name="total"
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
76 /></th>
1635
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
77 <th>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
78 <a tal:define="next batch/next" tal:condition="next"
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
79 tal:attributes="href python:request.indexargs_href(request.classname,
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
80 {'@startwith':next.first, '@pagesize':next.size})"
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
81 i18n:translate="">next &gt;&gt;</a>
1635
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
82 &nbsp;
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
83 </th>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
84 </tr>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
85 </table>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
86 </th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
87 </tr>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
88 </table>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
89
2112
b86f0627b07c added CSV download of index / search results
Richard Jones <richard@users.sourceforge.net>
parents: 2077
diff changeset
90 <a tal:attributes="href python:request.indexargs_url('issue',
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
91 {'@action':'export_csv'})" i18n:translate="">Download as CSV</a>
2112
b86f0627b07c added CSV download of index / search results
Richard Jones <richard@users.sourceforge.net>
parents: 2077
diff changeset
92
2242
daf5bd3666bd hide bottom form too
Richard Jones <richard@users.sourceforge.net>
parents: 2187
diff changeset
93 <form method="GET" class="index-controls"
daf5bd3666bd hide bottom form too
Richard Jones <richard@users.sourceforge.net>
parents: 2187
diff changeset
94 tal:attributes="action request/classname">
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
95
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
96 <table class="form">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
97 <tr tal:condition="batch">
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
98 <th i18n:translate="">Sort on:</th>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
99 <td>
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
100 <select name="@sort">
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
101 <option value="" i18n:translate="">- nothing -</option>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
102 <option tal:repeat="col context/properties"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
103 tal:attributes="value col/_name;
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
104 selected python:col._name == request.sort[1]"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
105 tal:content="col/_name">column</option>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
106 </select>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
107 </td>
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
108 <th i18n:translate="">Descending:</th>
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
109 <td><input type="checkbox" name="@sortdir"
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
110 tal:attributes="checked python:request.sort[0] == '-'">
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
111 </td>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
112 </tr>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
113 <tr>
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
114 <th i18n:translate="">Group on:</th>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
115 <td>
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
116 <select name="@group">
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
117 <option value="" i18n:translate="">- nothing -</option>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
118 <option tal:repeat="col context/properties"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
119 tal:attributes="value col/_name;
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
120 selected python:col._name == request.group[1]"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
121 tal:content="col/_name">column</option>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
122 </select>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
123 </td>
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
124 <th i18n:translate="">Descending:</th>
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
125 <td><input type="checkbox" name="@groupdir"
2393
c2908812624a i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2242
diff changeset
126 tal:attributes="checked python:request.group[0] == '-'">
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
127 </td>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
128 </tr>
1824
24819ee5dfbc First steps towards HTML4.01 Strict validation.
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1635
diff changeset
129 <tr><td colspan="4">
2461
48143bde35df translate 'Redisplay' button caption
Alexander Smishlajev <a1s@users.sourceforge.net>
parents: 2393
diff changeset
130 <input type="submit" value="Redisplay" i18n:attributes="value">
1824
24819ee5dfbc First steps towards HTML4.01 Strict validation.
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1635
diff changeset
131 <tal:block tal:replace="structure
24819ee5dfbc First steps towards HTML4.01 Strict validation.
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1635
diff changeset
132 python:request.indexargs_form(sort=0, group=0)" />
24819ee5dfbc First steps towards HTML4.01 Strict validation.
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1635
diff changeset
133 </td></tr>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
134 </table>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
135 </form>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
136
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
137 </tal:block>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
138
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
139 </td>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
140 </tal:block>

Roundup Issue Tracker: http://roundup-tracker.org/