app/soc/templates/soc/list/list_pagination.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Mon, 22 Sep 2008 14:08:37 +0000
changeset 185 2f3bd84bb106
child 187 2c0a497b2b2a
permissions -rw-r--r--
Add list_helpers functions that are going to be used when rendering list views like (Users List, Sponsors List etc). Add list default templates and CSS classes. Patch by: Pawel Solyga Reviewed by: to-be-reviewed

<div class="pagination">
  {% if newest %}
    <a class="novisit" href="{{newest}}">&laquo; First</a>
  {% endif %}
  {% if prev %}
    <a class="novisit" href="{{prev}}">&lsaquo; Previous</a>
  {% endif %}
  <b>{{ first }}{% if last %} - {{ last }}{% endif %}</b>
  {% if next %}<a class="novisit" href="{{next}}">Next &rsaquo;</a>
  {% else %}<span style="color:gray">Next &rsaquo;</span>{% endif %}
</div>