Mercurial > p > roundup > code
diff roundup/templates/classic/html/issue.item @ 1292:f7d9fefcae88
Fixes for SourceForge tracker bugs.
- remember the change note on bad submissions [SF#625989]
- highlight required form fields [SF#625989]
add a couple of examples to the customisation doc too.
un-reversed the message list so first messages appear first.
fixed the messages header (post introduction of "remove")
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 21 Oct 2002 00:42:00 +0000 |
| parents | bf8b2380adb3 |
| children | 71be6588904f |
line wrap: on
line diff
--- a/roundup/templates/classic/html/issue.item Fri Oct 18 03:34:58 2002 +0000 +++ b/roundup/templates/classic/html/issue.item Mon Oct 21 00:42:00 2002 +0000 @@ -18,12 +18,12 @@ <table class="form"> <tr> - <th nowrap>Title</th> + <th class="required" nowrap>Title</th> <td colspan=3 tal:content="structure python:context.title.field(size=60)">title</td> </tr> <tr> - <th nowrap>Priority</th> + <th class="required" nowrap>Priority</th> <td tal:content="structure context/priority/menu">priority</td> <th nowrap>Status</th> <td tal:content="structure context/status/menu">status</td> @@ -60,7 +60,8 @@ <tr> <th nowrap>Change Note</th> <td colspan=3> - <textarea name=":note" wrap="hard" rows="5" cols="60"></textarea> + <textarea tal:content="request/form/:note/value | default" + name=":note" wrap="hard" rows="5" cols="60"></textarea> </td> </tr> @@ -76,8 +77,15 @@ </td> </tr> </table> +</form> -</form> +<table class="form" tal:condition="not:context/id"> +<tr> + <td>Note: </td> + <th class="required">highlighted</th> + <td> fields are required.</td> +</tr> +</table> <table class="form" tal:condition="context/is_only_view_ok"> <tr> @@ -114,8 +122,8 @@ </p> <table class="messages" tal:condition="context/messages"> - <tr><th colspan=4 class="header">Messages</th></tr> - <tr tal:repeat="msg context/messages/reverse"> + <tr><th colspan=5 class="header">Messages</th></tr> + <tr tal:repeat="msg context/messages"> <td><a tal:attributes="href string:msg${msg/id}" tal:content="string:msg${msg/id}"></a></td> <td tal:content="msg/author">author</td>
