--- a/app/soc/templates/soc/list/list_pagination.html Fri Nov 21 23:45:15 2008 +0000
+++ b/app/soc/templates/soc/list/list_pagination.html Fri Nov 21 23:45:37 2008 +0000
@@ -2,13 +2,13 @@
{{ pagination_form.as_table }}
- {% if newest %}
- <a class="novisit" href="{{newest}}">« First</a>
+ {% if list.newest %}
+ <a class="novisit" href="{{ list.newest }}">« First</a>
{% endif %}
- {% if prev %}
- <a class="novisit" href="{{prev}}">‹ Previous</a>
+ {% if list.prev %}
+ <a class="novisit" href="{{ list.prev }}">‹ Previous</a>
{% endif %}
- <b>{{ first }}{% if last %} - {{ last }}{% endif %}</b>
- {% if next %}<a class="novisit" href="{{next}}">Next ›</a>
+ <b>{{ list.first }}{% if list.last %} - {{ list.last }}{% endif %}</b>
+ {% if list.next %}<a class="novisit" href="{{ list.next }}">Next ›</a>
{% endif %}
</div>