comparison templates/classic/html/issue.item.html @ 2236:975500ced7fa

add "remove" button to file attachments
author Richard Jones <richard@users.sourceforge.net>
date Sat, 24 Apr 2004 22:59:12 +0000
parents 3b92a1b7a056
children c2908812624a
comparison
equal deleted inserted replaced
2235:87c238d8bc76 2236:975500ced7fa
98 <b>${context/creation}</b> by <b>${context/creator}</b>, last 98 <b>${context/creation}</b> by <b>${context/creator}</b>, last
99 changed <b>${context/activity}</b> by <b>${context/actor}</b>.">activity info 99 changed <b>${context/activity}</b> by <b>${context/actor}</b>.">activity info
100 </p> 100 </p>
101 101
102 <table class="files" tal:condition="context/files"> 102 <table class="files" tal:condition="context/files">
103 <tr><th colspan="4" class="header">Files</th></tr> 103 <tr><th colspan="5" class="header">Files</th></tr>
104 <tr><th>File name</th><th>Uploaded</th><th>Type</th><th>Edit</th></tr> 104 <tr><th>File name</th><th>Uploaded</th><th>Type</th><th>Edit</th>
105 <th>Remove</th></tr>
105 <tr tal:repeat="file context/files"> 106 <tr tal:repeat="file context/files">
106 <td> 107 <td>
107 <a tal:attributes="href file/download_url" 108 <a tal:attributes="href file/download_url"
108 tal:content="file/name">dld link</a> 109 tal:content="file/name">dld link</a>
109 </td> 110 </td>
112 <span tal:content="file/creation">creation date</span> 113 <span tal:content="file/creation">creation date</span>
113 </td> 114 </td>
114 <td tal:content="file/type" /> 115 <td tal:content="file/type" />
115 <td><a tal:condition="file/is_edit_ok" 116 <td><a tal:condition="file/is_edit_ok"
116 tal:attributes="href string:file${file/id}">edit</a> 117 tal:attributes="href string:file${file/id}">edit</a>
118 </td>
119 <td>
120 <form style="padding:0" tal:condition="context/is_edit_ok"
121 tal:attributes="action string:issue${context/id}">
122 <input type="hidden" name="@remove@files" tal:attributes="value file/id">
123 <input type="hidden" name="@action" value="edit">
124 <input type="submit" value="remove">
125 </form>
117 </td> 126 </td>
118 </tr> 127 </tr>
119 </table> 128 </table>
120 129
121 <table class="messages" tal:condition="context/messages"> 130 <table class="messages" tal:condition="context/messages">

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