Mercurial > p > roundup > code
view roundup/templates/classic/html/issue.item @ 1006:2a71acd81308
tweaks, and include status on default index pages
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 02 Sep 2002 06:20:51 +0000 |
| parents | 1798d2fa9fec |
| children | 1198c6a8dcb2 |
line wrap: on
line source
<!-- dollarId: issue.item,v 1.4 2001/08/03 01:19:43 richard Exp dollar--> <form method="POST" onSubmit="return submit_once()" enctype="multipart/form-data"> <table border=0 cellspacing=0 cellpadding=2 class="form"> <tr> <th nowrap>Title</th> <td colspan=3 class="form-text" tal:content="structure python:issue.title.field(size=60)">title</td> </tr> <tr class="form"> <th nowrap>Priority</th> <td class="form-text" tal:content="structure issue/priority/menu">priority</td> <th nowrap>Status</th> <td class="form-text" tal:content="structure issue/status/menu">status</td> </tr> <tr class="form"> <th nowrap>Superseder</th> <td> <span tal:replace="structure python:issue.superseder.field(showid=1, size=20)" /> <span tal:replace="structure python:db.issue.classhelp('id,title', label='list', width=500)" /> <span tal:condition="issue/superseder"> <br>View: <span tal:replace="structure python:issue.superseder.link(showid=1)" /> </span> </td> <th nowrap>Nosy List</th> <td> <span tal:replace="structure issue/nosy/field" /> <span tal:replace="structure python:db.user.classhelp('username,realname,address,phone', label='list', width=500)" /> </td> </tr> <tr class="form"> <th nowrap>Assigned To</th> <td class="form-text" tal:content="structure issue/assignedto/menu"> assignedto menu </td> <td> </td> <td> </td> </tr> <tr class="form"> <th nowrap>Change Note</th> <td colspan=3 class="form-text"> <textarea name="__note" wrap="hard" rows="5" cols="60"></textarea> </td> </tr> <tr class="form"> <th nowrap>File</th> <td colspan=3 class="form-text"> <input type="file" name="__file" size="40"> </td> </tr> <tr class="form"> <td> </td> <td colspan=3 class="form-text" tal:content="structure issue/submit"> submit button will go here </td> </tr> </table> <span tal:content="structure string:Created on <b>${issue/creation}</b> by <b>${issue/creator/username}</b>, last changed <b>${issue/activity}</b>.">activity info</span> <tal:block tal:condition="exists:item"> <table class="messages" tal:condition="issue/messages"> <tr><th colspan=2 class="header">Messages</th></tr> <tal:block tal:repeat="msg issue/messages/reverse"> <tr> <th tal:content="string:Author: ${msg/author}">author</th> <th tal:content="string:Date: ${msg/date}">date</th> </tr> <tr> <td colspan="2"><pre tal:content="msg/content">content</pre></td> </tr> </tal:block> </table> <table class="files" tal:condition="issue/files"> <tr><th colspan="2" class="header">Files</th></tr> <tr><th>File name</th><th>Uploaded</th></tr> <tr tal:repeat="file issue/files"> <td> <a tal:attributes="href string:file${file/id}/${file/name}" tal:content="file/name">dld link</a> </td> <td> <span tal:content="file/creator">creator's name</span>, <span tal:content="file/creation">creation date</span> </td> </tr> </table> <table class="history"> <tr><th colspan="2" class="header">History</th></tr> <tr><td colspan="2" tal:content="structure issue/history">history</td></tr> </table> </tal:block> </form>
