annotate templates/classic/html/issue.index.html @ 2365:3a80831ecebe

If the target platform is win32, create .bat files... ...instead of *nix shell scripts. Target platform is set to "win32" if main command is 'bdist_wininst' or if the command is 'bdist' and it has the list of formats (from command line or config file) and the first item on that list is wininst. Otherwise target platform is set to current (build) platform.
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Wed, 26 May 2004 10:00:53 +0000
parents daf5bd3666bd
children c2908812624a
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">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
3 <title metal:fill-slot="head_title">
2187
3b92a1b7a056 tracker name at end of page title (rfe [SF#926840])
Richard Jones <richard@users.sourceforge.net>
parents: 2146
diff changeset
4 List of issues - <span tal:replace="config/TRACKER_NAME" />
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
5 </title>
1976
3a4abf6d48c2 body_title improvement
Richard Jones <richard@users.sourceforge.net>
parents: 1911
diff changeset
6 <span metal:fill-slot="body_title" tal:omit-tag="python:1">List of issues</span>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
7 <td class="content" metal:fill-slot="content">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
8
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
9 <tal:block tal:condition="not:context/is_view_ok">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
10 You are not allowed to view this page.
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
11 </tal:block>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
12
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
13 <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
14 <table class="list">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
15 <tr>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
16 <th tal:condition="request/show/priority">Priority</th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
17 <th tal:condition="request/show/id">ID</th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
18 <th tal:condition="request/show/creation">Creation</th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
19 <th tal:condition="request/show/activity">Activity</th>
2077
3e0961d6d44d Added the "actor" property.
Richard Jones <richard@users.sourceforge.net>
parents: 2075
diff changeset
20 <th tal:condition="request/show/actor">Actor</th>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
21 <th tal:condition="request/show/topic">Topic</th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
22 <th tal:condition="request/show/title">Title</th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
23 <th tal:condition="request/show/status">Status</th>
2077
3e0961d6d44d Added the "actor" property.
Richard Jones <richard@users.sourceforge.net>
parents: 2075
diff changeset
24 <th tal:condition="request/show/creator">Creator</th>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
25 <th tal:condition="request/show/assignedto">Assigned&nbsp;To</th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
26 </tr>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
27 <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
28 <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
29 tal:condition="python:group and batch.propchanged(group)">
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
30 <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
31 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
32 </th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
33 </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
34
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
35 <tr>
126d4d0ac89b under the heading of "questionable whether it's a fix or not"
Richard Jones <richard@users.sourceforge.net>
parents: 1591
diff changeset
36 <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
37 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
38 <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
39 <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
40 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
41 <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
42 tal:content="i/activity/reldate">&nbsp;</td>
2077
3e0961d6d44d Added the "actor" property.
Richard Jones <richard@users.sourceforge.net>
parents: 2075
diff changeset
43 <td class="date" tal:condition="request/show/actor"
3e0961d6d44d Added the "actor" property.
Richard Jones <richard@users.sourceforge.net>
parents: 2075
diff changeset
44 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
45 <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
46 tal:content="python:i.topic.plain() or default">&nbsp;</td>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
47 <td tal:condition="request/show/title">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
48 <a tal:attributes="href string:issue${i/id}"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
49 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
50 </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
51 <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
52 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
53 <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
54 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
55 <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
56 tal:content="python:i.assignedto.plain() or default">&nbsp;</td>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
57 </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
58
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
59 </tal:block>
1635
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
60
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
61 <tr tal:condition="batch">
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
62 <th tal:attributes="colspan python:len(request.columns)">
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
63 <table width="100%">
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
64 <tr class="navigation">
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
65 <th>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
66 <a tal:define="prev batch/previous" tal:condition="prev"
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
67 tal:attributes="href python:request.indexargs_href(request.classname,
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
68 {'@startwith':prev.first, '@pagesize':prev.size})">&lt;&lt; previous</a>
1635
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
69 &nbsp;
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
70 </th>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
71 <th tal:content="python: '%d...%d out of %d'%(batch.start,
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
72 batch.start+batch.length-1, batch.sequence_length)">current</th>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
73 <th>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
74 <a tal:define="next batch/next" tal:condition="next"
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
75 tal:attributes="href python:request.indexargs_href(request.classname,
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
76 {'@startwith':next.first, '@pagesize':next.size})">next &gt;&gt;</a>
1635
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
77 &nbsp;
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
78 </th>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
79 </tr>
b0ffb474716e nicer index navigation
Richard Jones <richard@users.sourceforge.net>
parents: 1625
diff changeset
80 </table>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
81 </th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
82 </tr>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
83 </table>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
84
2112
b86f0627b07c added CSV download of index / search results
Richard Jones <richard@users.sourceforge.net>
parents: 2077
diff changeset
85 <a tal:attributes="href python:request.indexargs_url('issue',
2146
7bee183f2573 *** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents: 2112
diff changeset
86 {'@action':'export_csv'})">Download as CSV</a>
2112
b86f0627b07c added CSV download of index / search results
Richard Jones <richard@users.sourceforge.net>
parents: 2077
diff changeset
87
2242
daf5bd3666bd hide bottom form too
Richard Jones <richard@users.sourceforge.net>
parents: 2187
diff changeset
88 <form method="GET" class="index-controls"
daf5bd3666bd hide bottom form too
Richard Jones <richard@users.sourceforge.net>
parents: 2187
diff changeset
89 tal:attributes="action request/classname">
1824
24819ee5dfbc First steps towards HTML4.01 Strict validation.
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1635
diff changeset
90
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
91 <table class="form">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
92 <tr tal:condition="batch">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
93 <th>Sort on:</th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
94 <td>
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
95 <select name="@sort">
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
96 <option value="">- nothing -</option>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
97 <option tal:repeat="col context/properties"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
98 tal:attributes="value col/_name;
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
99 selected python:col._name == request.sort[1]"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
100 tal:content="col/_name">column</option>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
101 </select>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
102 </td>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
103 <th>Descending:</th>
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
104 <td><input type="checkbox" name="@sortdir"
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
105 tal:attributes="checked python:request.sort[0] == '-'">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
106 </td>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
107 </tr>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
108 <tr>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
109 <th>Group on:</th>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
110 <td>
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
111 <select name="@group">
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
112 <option value="">- nothing -</option>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
113 <option tal:repeat="col context/properties"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
114 tal:attributes="value col/_name;
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
115 selected python:col._name == request.group[1]"
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
116 tal:content="col/_name">column</option>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
117 </select>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
118 </td>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
119 <th>Descending:</th>
1911
f5c804379c85 fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents: 1825
diff changeset
120 <td><input type="checkbox" name="@groupdir"
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
121 tal:attributes="checked python:request.group[0] == '-'">
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
122 </td>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
123 </tr>
1824
24819ee5dfbc First steps towards HTML4.01 Strict validation.
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1635
diff changeset
124 <tr><td colspan="4">
24819ee5dfbc First steps towards HTML4.01 Strict validation.
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1635
diff changeset
125 <input type="submit" value="Redisplay">
24819ee5dfbc First steps towards HTML4.01 Strict validation.
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1635
diff changeset
126 <tal:block tal:replace="structure
24819ee5dfbc First steps towards HTML4.01 Strict validation.
Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
parents: 1635
diff changeset
127 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
128 </td></tr>
1591
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
129 </table>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
130 </form>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
131
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
132 </tal:block>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
133
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
134 </td>
21312a7564fd moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
135 </tal:block>

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