summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 368f4d9)
raw | patch | inline | side by side (parent: 368f4d9)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 20 Jan 2004 03:57:26 +0000 (03:57 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 20 Jan 2004 03:57:26 +0000 (03:57 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2053 57a73879-2fb5-44c3-a270-3262357dd7e2
templates/classic/html/issue.item.html | patch | blob | history |
index 28e12625cb18f32e3322ebde966c071fcf676e66..7423a8d908c691661a42e03db9fc5a6fc5bff5a9 100644 (file)
@@ -98,17 +98,40 @@ python:db.user.classhelp('username,realname,address', property='nosy', width='60
changed <b>${context/activity}</b>.">activity info
</p>
+<table class="files" tal:condition="context/files">
+ <tr><th colspan="4" class="header">Files</th></tr>
+ <tr><th>File name</th><th>Uploaded</th><th>Type</th><th>Edit</th></tr>
+ <tr tal:repeat="file context/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>
+ <td tal:content="file/type" />
+ <td><a tal:condition="file/is_edit_ok"
+ tal:attributes="href string:file${file/id}">edit</a>
+ </td>
+ </tr>
+</table>
+
<table class="messages" tal:condition="context/messages">
<tr><th colspan="4" class="header">Messages</th></tr>
<tal:block tal:repeat="msg context/messages/reverse">
<tr>
<th><a tal:attributes="href string:msg${msg/id}"
- tal:content="string:msg${msg/id}"></a></th>
+ tal:content="string:msg${msg/id} (view)"></a></th>
<th tal:content="string:Author: ${msg/author}">author</th>
<th tal:content="string:Date: ${msg/date}">date</th>
<th>
- <a tal:condition="context/is_edit_ok"
- tal:attributes="href string:issue${context/id}?@remove@messages=${msg/id}&@action=edit">remove</a>
+ <form style="padding:0" tal:condition="context/is_edit_ok"
+ tal:attributes="action string:issue${context/id}">
+ <input type="hidden" name="@remove@messages" tal:attributes="value msg/id">
+ <input type="hidden" name="@action" value="edit">
+ <input type="submit" value="remove">
+ </form>
</th>
</tr>
<tr>
@@ -119,21 +142,6 @@ python:db.user.classhelp('username,realname,address', property='nosy', width='60
</tal:block>
</table>
-<table class="files" tal:condition="context/files">
- <tr><th colspan="2" class="header">Files</th></tr>
- <tr><th>File name</th><th>Uploaded</th></tr>
- <tr tal:repeat="file context/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>
-
<tal:block tal:condition="context/id" tal:replace="structure context/history" />
</td>