changeset 288:9d8de2984de1

Make the web status templates work with newer versions of genshi, like the one from debian lenny
author Bernhard Herzog <bh@intevation.de>
date Tue, 01 Sep 2009 13:46:28 +0000
parents 1fcdffbeb9de
children 433a49cacefc
files web/status-by-revision.html web/status-by-startdate.html
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/web/status-by-revision.html	Tue Sep 01 13:35:23 2009 +0000
+++ b/web/status-by-revision.html	Tue Sep 01 13:46:28 2009 +0000
@@ -22,7 +22,7 @@
 	</py:for>
       </tr>
 
-      <py:for each="row in report.revisions.sorted_by_revision">
+      <py:for each="row in report.revisions.sorted_by_revision()">
 	<tr>
 	  <td>${row[0][0]}</td>
 	  <py:for each="col in row[1]">
--- a/web/status-by-startdate.html	Tue Sep 01 13:35:23 2009 +0000
+++ b/web/status-by-startdate.html	Tue Sep 01 13:46:28 2009 +0000
@@ -30,7 +30,7 @@
 	<th class="statustablehead">Notes</th>
       </tr>
 
-      <py:for each="row in report.revisions.sorted_by_startdate">
+      <py:for each="row in report.revisions.sorted_by_startdate()">
 	<py:with vars="item=row[1]">
 	  <py:if test="item.new_date">
 	    <tr class="date_row"><td colspan="6">${item.new_date}</td></tr>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)