Keep the current list and row number
authorSverre Rabbelier <srabbelier@gmail.com>
Thu, 12 Mar 2009 13:37:26 +0000
changeset 1804 e151c2039a98
parent 1803 d516eb26985e
child 1805 7204ec5ead23
Keep the current list and row number Patch by: Sverre Rabbelier
app/soc/templates/soc/list/main.html
app/soc/templates/soc/models/list.html
--- a/app/soc/templates/soc/list/main.html	Thu Mar 12 13:36:36 2009 +0000
+++ b/app/soc/templates/soc/list/main.html	Thu Mar 12 13:37:26 2009 +0000
@@ -8,7 +8,7 @@
       <tr><td colspan="9"><span class="disabled">(None)</span></td></tr>
     {% else %}
       {% include list.heading %}
-      {% for _ in list.rows %}
+      {% for row_number in list.rows %}
         {% include list.nextRow %}
       {% endfor %}
     {% endif %}
--- a/app/soc/templates/soc/models/list.html	Thu Mar 12 13:36:36 2009 +0000
+++ b/app/soc/templates/soc/models/list.html	Thu Mar 12 13:37:26 2009 +0000
@@ -17,7 +17,7 @@
 {% if list.empty %}
 {{ no_lists_msg }}
 {% endif %}
-{% for _ in list.lists %}
+{% for list_number in list.lists %}
 <p>
 {% include list.nextList %}
 </p>