diff templates/classic/html/page.html @ 3552:4cf7f9b7cb37

include "clear this message" link in the "ok" message bar
author Richard Jones <richard@users.sourceforge.net>
date Thu, 09 Feb 2006 04:45:43 +0000
parents f6719836e521
children 35b35a152b40
line wrap: on
line diff
--- a/templates/classic/html/page.html	Wed Feb 08 05:33:11 2006 +0000
+++ b/templates/classic/html/page.html	Thu Feb 09 04:45:43 2006 +0000
@@ -129,9 +129,13 @@
  </td>
  <td>
   <p tal:condition="options/error_message | nothing" class="error-message"
-     tal:repeat="m options/error_message" tal:content="structure m">error</p>
-  <p tal:condition="options/ok_message | nothing" class="ok-message"
-     tal:repeat="m options/ok_message" tal:content="structure m">error</p>
+     tal:repeat="m options/error_message" tal:content="structure m" />
+  <p tal:condition="options/ok_message | nothing" class="ok-message">
+    <span tal:repeat="m options/ok_message"
+       tal:content="structure string:$m <br/ > " />
+     <a class="form-small" tal:attributes="href string:issue${context/id}"
+        i18n:translate="">clear this message</a>
+  </p>
  </td>
 </tr>
 <tr>

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