diff roundup/templates/classic/html/issue.index @ 1028:16498e77e3ff

allow overiding of the index args roundup/cgi/templating.py
author Richard Jones <richard@users.sourceforge.net>
date Tue, 03 Sep 2002 07:33:01 +0000
parents d6c13142e7b9
children cf30c6cdca02
line wrap: on
line diff
--- a/roundup/templates/classic/html/issue.index	Tue Sep 03 07:13:42 2002 +0000
+++ b/roundup/templates/classic/html/issue.index	Tue Sep 03 07:33:01 2002 +0000
@@ -59,9 +59,10 @@
    <td>
     <select name=":sort">
      <option value="">- nothing -</option>
-     <option tal:repeat="col request/columns"
-             tal:attributes="value col; selected python:col == request.sort[1]"
-             tal:content="col">column</option>
+     <option tal:repeat="col klass/properties"
+             tal:attributes="value col/name;
+                             selected python:col.name == request.sort[1]"
+             tal:content="col/name">column</option>
     </select>
    </td>
    <th>Descending:</th>
@@ -74,9 +75,10 @@
    <td>
     <select name=":group">
      <option value="">- nothing -</option>
-     <option tal:repeat="col request/columns"
-             tal:attributes="value col; selected python:col == request.group[1]"
-             tal:content="col">column</option>
+     <option tal:repeat="col klass/properties"
+             tal:attributes="value col/name;
+                             selected python:col.name == request.group[1]"
+             tal:content="col/name">column</option>
     </select>
    </td>
    <th>Descending:</th>

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