Code

consistency ... __file/__note -> :file/:note
[roundup.git] / roundup / templates / classic / html / issue.item
1 <!-- dollarId: issue.item,v 1.4 2001/08/03 01:19:43 richard Exp dollar-->
2 <form method="POST" onSubmit="return submit_once()"
3       enctype="multipart/form-data">
5 <input type="hidden" name=":template" value="item">
6 <input type="hidden" name=":required" value="title">
8 <table class="form">
9 <tr>
10  <th nowrap>Title</th>
11  <td colspan=3 tal:content="structure python:context.title.field(size=60)">title</td>
12 </tr>
14 <tr>
15  <th nowrap>Priority</th>
16  <td tal:content="structure context/priority/menu">priority</td>
17  <th nowrap>Status</th>
18  <td tal:content="structure context/status/menu">status</td>
19 </tr>
21 <tr>
22  <th nowrap>Superseder</th>
23  <td>
24   <span tal:replace="structure python:context.superseder.field(showid=1, size=20)" />
25   <span tal:replace="structure python:db.issue.classhelp('id,title', label='list', width=500)" />
26   <span tal:condition="context/superseder">
27    <br>View: <span tal:replace="structure python:context.superseder.link(showid=1)" />
28   </span>
29  </td>
30  <th nowrap>Nosy List</th>
31  <td>
32   <span tal:replace="structure context/nosy/field" />
33   <span tal:replace="structure python:db.user.classhelp('username,realname,address,phone', label='list', width=500)" />
34  </td>
35 </tr>
37 <tr>
38  <th nowrap>Assigned To</th>
39  <td tal:content="structure context/assignedto/menu">assignedto menu</td>
40  <td>&nbsp;</td>
41  <td>&nbsp;</td>
42 </tr>
44 <tr>
45  <th nowrap>Change Note</th>
46  <td colspan=3>
47   <textarea name=":note" wrap="hard" rows="5" cols="60"></textarea>
48  </td>
49 </tr>
51 <tr>
52  <th nowrap>File</th>
53  <td colspan=3><input type="file" name=":file" size="40"></td>
54 </tr>
56 <tr>
57  <td>&nbsp;</td>
58  <td colspan=3 tal:content="structure context/submit">
59   submit button will go here
60  </td>
61 </tr>
62 </table>
64 <span tal:condition="context/id" tal:content="structure string:Created on
65 <b>${context/creation}</b> by <b>${context/creator/username}</b>, last
66 changed <b>${context/activity}</b>.">activity info</span>
68 <tal:block tal:condition="context/id">
69  <table class="messages" tal:condition="context/messages">
70   <tr><th colspan=3 class="header">Messages</th></tr>
71   <tal:block tal:repeat="msg context/messages/reverse">
72    <tr>
73     <th><a tal:attributes="href string:msg${msg/id}"
74            tal:content="string:msg${msg/id}"></a></th>
75     <th tal:content="string:Author: ${msg/author}">author</th>
76     <th tal:content="string:Date: ${msg/date}">date</th>
77    </tr>
78    <tr>
79     <td colspan="3"><pre tal:content="msg/content">content</pre></td>
80    </tr>
81   </tal:block>
82  </table>
84  <table class="files" tal:condition="context/files">
85   <tr><th colspan="2" class="header">Files</th></tr>
86   <tr><th>File name</th><th>Uploaded</th></tr>
87   <tr tal:repeat="file context/files">
88    <td>
89     <a tal:attributes="href string:file${file/id}/${file/name}"
90        tal:content="file/name">dld link</a>
91    </td>
92    <td>
93     <span tal:content="file/creator">creator's name</span>,
94     <span tal:content="file/creation">creation date</span>
95    </td>
96   </tr>
97  </table>
99  <tal:block tal:replace="structure context/history" />
101 </tal:block>
103 </form>