Code

Replaced all uses of the 'nowrap' attribute with its CSS equivalent:
[roundup.git] / templates / classic / html / issue.index.html
1 <!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
2 <tal:block metal:use-macro="templates/page/macros/icing">
3 <title metal:fill-slot="head_title"> 
4  <span tal:replace="config/TRACKER_NAME" />: List of issues
5 </title> 
6 <td class="page-header-top" metal:fill-slot="body_title">
7  <h2>List of issues</h2>
8 </td>
9 <td class="content" metal:fill-slot="content">
11 <tal:block tal:condition="not:context/is_view_ok">
12 You are not allowed to view this page.
13 </tal:block>
15 <tal:block tal:define="batch request/batch" tal:condition="context/is_view_ok">
16  <table class="list">
17   <tr>
18    <th tal:condition="request/show/priority">Priority</th>
19    <th tal:condition="request/show/id">ID</th>
20    <th tal:condition="request/show/creation">Creation</th>
21    <th tal:condition="request/show/activity">Activity</th>
22    <th tal:condition="request/show/topic">Topic</th>
23    <th tal:condition="request/show/title">Title</th>
24    <th tal:condition="request/show/status">Status</th>
25    <th tal:condition="request/show/creator">Created&nbsp;By</th>
26    <th tal:condition="request/show/assignedto">Assigned&nbsp;To</th>
27   </tr>
28  <tal:block tal:repeat="i batch">
29   <tr tal:condition="python:request.group[1] and
30                             batch.propchanged(request.group[1])">
31    <th tal:attributes="colspan python:len(request.columns)"
32        tal:content="python:i[request.group[1]]" class="group">
33    </th>
34   </tr>
36   <tr>
37    <td tal:condition="request/show/priority"
38        tal:content="python:i.priority.plain() or default">&nbsp;</td>
39    <td tal:condition="request/show/id" tal:content="i/id">&nbsp;</td>
40    <td class="date" tal:condition="request/show/creation"
41        tal:content="i/creation/reldate">&nbsp;</td>
42    <td class="date" tal:condition="request/show/activity"
43        tal:content="i/activity/reldate">&nbsp;</td>
44    <td tal:condition="request/show/topic"
45        tal:content="python:i.topic.plain() or default">&nbsp;</td>
46    <td tal:condition="request/show/title">
47     <a tal:attributes="href string:issue${i/id}"
48                 tal:content="python:str(i.title.plain(hyperlink=0)) or '[no title]'">title</a>
49    </td>
50    <td tal:condition="request/show/status"
51        tal:content="python:i.status.plain() or default">&nbsp;</td>
52    <td tal:condition="request/show/creator"
53        tal:content="python:i.creator.plain() or default">&nbsp;</td>
54    <td tal:condition="request/show/assignedto"
55        tal:content="python:i.assignedto.plain() or default">&nbsp;</td>
56   </tr>
58  </tal:block>
60  <tr tal:condition="batch">
61   <th tal:attributes="colspan python:len(request.columns)">
62    <table width="100%">
63     <tr class="navigation">
64      <th>
65       <a tal:define="prev batch/previous" tal:condition="prev"
66          tal:attributes="href python:request.indexargs_href(request.classname,
67          {':startwith':prev.first, ':pagesize':prev.size})">&lt;&lt; previous</a>
68       &nbsp;
69      </th>
70      <th tal:content="python: '%d...%d out of %d'%(batch.start,
71              batch.start+batch.length-1, batch.sequence_length)">current</th>
72      <th>
73       <a tal:define="next batch/next" tal:condition="next"
74          tal:attributes="href python:request.indexargs_href(request.classname,
75          {':startwith':next.first, ':pagesize':next.size})">next &gt;&gt;</a>
76       &nbsp;
77      </th>
78     </tr>
79    </table>
80   </th>
81  </tr>
82 </table>
84 <form method="GET" tal:attributes="action request/classname">
85  
86  <table class="form">
87   <tr tal:condition="batch">
88    <th>Sort on:</th>
89    <td>
90     <select name=":sort">
91      <option value="">- nothing -</option>
92      <option tal:repeat="col context/properties"
93              tal:attributes="value col/_name;
94                              selected python:col._name == request.sort[1]"
95              tal:content="col/_name">column</option>
96     </select>
97    </td>
98    <th>Descending:</th>
99    <td><input type="checkbox" name=":sortdir"
100               tal:attributes="checked python:request.sort[0] == '-'"> 
101    </td>
102   </tr>
103   <tr>
104    <th>Group on:</th>
105    <td>
106     <select name=":group">
107      <option value="">- nothing -</option>
108      <option tal:repeat="col context/properties"
109              tal:attributes="value col/_name;
110                              selected python:col._name == request.group[1]"
111              tal:content="col/_name">column</option>
112     </select>
113    </td>
114    <th>Descending:</th>
115    <td><input type="checkbox" name=":groupdir"
116               tal:attributes="checked python:request.group[0] == '-'"> 
117    </td>
118   </tr>
119   <tr><td colspan="4">
120               <input type="submit" value="Redisplay">
121               <tal:block tal:replace="structure
122                 python:request.indexargs_form(sort=0, group=0)" />
123   </td></tr>
124  </table>
125 </form>
127 </tal:block>
129 </td>
130 </tal:block>