changeset 3658:b2cff3b9e582

nicer listing of Superseder links (sf non-patch [SF#497767])
author Richard Jones <richard@users.sourceforge.net>
date Fri, 11 Aug 2006 00:36:30 +0000
parents f7db2771e87d
children bfb120928309
files CHANGES.txt doc/index.txt templates/classic/html/issue.item.html
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Fri Aug 11 00:27:38 2006 +0000
+++ b/CHANGES.txt	Fri Aug 11 00:36:30 2006 +0000
@@ -21,6 +21,7 @@
 - update for latest version of pysqlite (sf bug 1487098; patch 1534227)
 - updated ZRoundup for Zope 2.9 (sf patch 1511734)
 - fix timelog example in customisation doc to mention permissions
+- nicer listing of Superseder links (sf non-patch 1497767)
 
 
 2006-04-27 1.1.2
--- a/doc/index.txt	Fri Aug 11 00:27:38 2006 +0000
+++ b/doc/index.txt	Fri Aug 11 00:36:30 2006 +0000
@@ -120,6 +120,7 @@
 Georges Martin,
 Gordon McMillan,
 John F Meinel Jr,
+Toni Mueller,
 Stefan Niederhauser,
 Truls E. Nęss,
 Patrick Ohly,
--- a/templates/classic/html/issue.item.html	Fri Aug 11 00:27:38 2006 +0000
+++ b/templates/classic/html/issue.item.html	Fri Aug 11 00:36:30 2006 +0000
@@ -52,9 +52,11 @@
  <td>
   <span tal:replace="structure python:context.superseder.field(showid=1, size=20)" />
   <span tal:condition="context/is_edit_ok" tal:replace="structure python:db.issue.classhelp('id,title', property='superseder')" />
-  <span tal:condition="context/superseder" tal:repeat="sup context/superseder">
-   <br><span i18n:translate="">View: <a i18n:name="link" tal:content="sup/id"
-     tal:attributes="href string:issue${sup/id}"></a></span>
+  <span tal:condition="context/superseder">
+   <br><span i18n:translate="">View:</span>
+     <a tal:repeat="sup context/superseder"
+        tal:content="python:sup['id'] + ', '*(not repeat['sup'].end)"
+        tal:attributes="href string:issue${sup/id}"></a>
   </span>
  </td>
  <th i18n:translate="">Nosy List</th>

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