Mercurial > p > roundup > code
view templates/classic/html/issue.index.html @ 2119:cc4667ef3f12
Added the ability to toggle where error messages go.
They either go to the user (default, for backwards compatibility), the
dispatcher, or both. These are able to be toggled via settings in config.py.
Please refer to upgrading.txt for more details. (And Richard, let me know
if I've done anything wrong with this checkin. :))
| author | Eddie Parker <eparker@users.sourceforge.net> |
|---|---|
| date | Thu, 25 Mar 2004 19:27:15 +0000 |
| parents | b86f0627b07c |
| children | 7bee183f2573 |
line wrap: on
line source
<!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar--> <tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title"> <span tal:replace="config/TRACKER_NAME" />: List of issues </title> <span metal:fill-slot="body_title" tal:omit-tag="python:1">List of issues</span> <td class="content" metal:fill-slot="content"> <tal:block tal:condition="not:context/is_view_ok"> You are not allowed to view this page. </tal:block> <tal:block tal:define="batch request/batch" tal:condition="context/is_view_ok"> <table class="list"> <tr> <th tal:condition="request/show/priority">Priority</th> <th tal:condition="request/show/id">ID</th> <th tal:condition="request/show/creation">Creation</th> <th tal:condition="request/show/activity">Activity</th> <th tal:condition="request/show/actor">Actor</th> <th tal:condition="request/show/topic">Topic</th> <th tal:condition="request/show/title">Title</th> <th tal:condition="request/show/status">Status</th> <th tal:condition="request/show/creator">Creator</th> <th tal:condition="request/show/assignedto">Assigned To</th> </tr> <tal:block tal:repeat="i batch"> <tr tal:define="group python:request.group[1]" tal:condition="python:group and batch.propchanged(group)"> <th tal:attributes="colspan python:len(request.columns)" tal:content="python:str(i[group]) or '(no %s set)'%group" class="group"> </th> </tr> <tr> <td tal:condition="request/show/priority" tal:content="python:i.priority.plain() or default"> </td> <td tal:condition="request/show/id" tal:content="i/id"> </td> <td class="date" tal:condition="request/show/creation" tal:content="i/creation/reldate"> </td> <td class="date" tal:condition="request/show/activity" tal:content="i/activity/reldate"> </td> <td class="date" tal:condition="request/show/actor" tal:content="python:i.actor.plain() or default"> </td> <td tal:condition="request/show/topic" tal:content="python:i.topic.plain() or default"> </td> <td tal:condition="request/show/title"> <a tal:attributes="href string:issue${i/id}" tal:content="python:str(i.title.plain(hyperlink=0)) or '[no title]'">title</a> </td> <td tal:condition="request/show/status" tal:content="python:i.status.plain() or default"> </td> <td tal:condition="request/show/creator" tal:content="python:i.creator.plain() or default"> </td> <td tal:condition="request/show/assignedto" tal:content="python:i.assignedto.plain() or default"> </td> </tr> </tal:block> <tr tal:condition="batch"> <th tal:attributes="colspan python:len(request.columns)"> <table width="100%"> <tr class="navigation"> <th> <a tal:define="prev batch/previous" tal:condition="prev" tal:attributes="href python:request.indexargs_href(request.classname, {'@startwith':prev.first, '@pagesize':prev.size})"><< previous</a> </th> <th tal:content="python: '%d...%d out of %d'%(batch.start, batch.start+batch.length-1, batch.sequence_length)">current</th> <th> <a tal:define="next batch/next" tal:condition="next" tal:attributes="href python:request.indexargs_href(request.classname, {'@startwith':next.first, '@pagesize':next.size})">next >></a> </th> </tr> </table> </th> </tr> </table> <a tal:attributes="href python:request.indexargs_url('issue', {'@action':'csv_export'})">Download as CSV</a> <form method="GET" id="index-controls" tal:attributes="action request/classname"> <table class="form"> <tr tal:condition="batch"> <th>Sort on:</th> <td> <select name="@sort"> <option value="">- nothing -</option> <option tal:repeat="col context/properties" tal:attributes="value col/_name; selected python:col._name == request.sort[1]" tal:content="col/_name">column</option> </select> </td> <th>Descending:</th> <td><input type="checkbox" name="@sortdir" tal:attributes="checked python:request.sort[0] == '-'"> </td> </tr> <tr> <th>Group on:</th> <td> <select name="@group"> <option value="">- nothing -</option> <option tal:repeat="col context/properties" tal:attributes="value col/_name; selected python:col._name == request.group[1]" tal:content="col/_name">column</option> </select> </td> <th>Descending:</th> <td><input type="checkbox" name="@groupdir" tal:attributes="checked python:request.group[0] == '-'"> </td> </tr> <tr><td colspan="4"> <input type="submit" value="Redisplay"> <tal:block tal:replace="structure python:request.indexargs_form(sort=0, group=0)" /> </td></tr> </table> </form> </tal:block> </td> </tal:block>
