diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-01-23 03:49:55 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-01-23 03:49:55 +0000 |
commit | 3b33b581deb792da4642288db9101336e84baaea (patch) | |
tree | d234e8c2f30e6a9e03d02f4bc475ae745ba8e466 | |
parent | f0252d1c9afdee9572006a09ee95bbca71478efd (diff) |
Message list format
-rw-r--r-- | html/issue.item.html | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/html/issue.item.html b/html/issue.item.html index 3a397c2..61e66ad 100644 --- a/html/issue.item.html +++ b/html/issue.item.html @@ -39,6 +39,10 @@ onSubmit="return submit_once()" enctype="multipart/form-data" tal:attributes="action context/designator"> +<p class="important"> + <strong>IMPORTANT:</strong> to report a new issue, choose a good title, a <strong>reallistic</strong> priority level, and proper keywords. +</p> + <table class="form"> <tr> <th class="required" i18n:translate="">Title</th> @@ -161,31 +165,29 @@ python:db.user.classhelp('username,realname,address', property='nosy', width='60 </tr> </table> -<table class="messages" tal:condition="context/messages"> - <tr><th colspan="4" class="header" i18n:translate="">Messages</th></tr> +<table class="list nowrap messages" tal:condition="context/messages"> + <tr class="nohover"><th colspan="4" class="header" i18n:translate="">Messages</th></tr> + <tal:block tal:repeat="msg context/messages/reverse"> - <tr> - <th><a tal:attributes="href string:msg${msg/id}" - i18n:translate="">msg<tal:x replace="msg/id" i18n:name="id" /> (view)</a></th> - <th i18n:translate="">Author: <tal:x replace="msg/author" - i18n:name="author" /></th> - <th i18n:translate="">Date: <tal:x replace="msg/date" - i18n:name="date" /></th> - <th> - <form style="padding:0" method="POST" tal:condition="context/is_edit_ok" + <tr> + <td> + <form class="remove-message" method="POST" 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" i18n:attributes="value"> </form> - </th> - </tr> - <tr> - <td colspan="4" class="content"> - <pre tal:content="structure msg/content/hyperlinked">content</pre> - </td> - </tr> - </tal:block> + + <span class='author'><tal:x replace="msg/author" />:</span> + + <pre class='content' tal:content="structure msg/content/hyperlinked">content</pre> + + on <a tal:attributes="href string:msg${msg/id}" title="View message"><tal:x replace="msg/date" /></a> + + </td> +</tr> + +</tal:block> </table> <tal:block tal:condition="context/id" tal:replace="structure context/history" /> |