app/soc/templates/soc/list/pagination.html
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 22 Feb 2009 00:27:10 +0000
changeset 1451 ef134d062b83
parent 572 1b3e7280743a
child 1807 1f8cde169f32
permissions -rw-r--r--
Add generic datepicker support Any date(time) field now automatically has a picker widget. Patch by: "Haoyu Bai" <baihaoyu@gmail.com> Rebased by: Sverre Rabbelier Reviewed by: To-Be-Reviewed

<div class="pagination">

  {{ list.pagination_form.as_table }}
 
  {% if list.newest %}
    <a class="novisit" href="{{ list.newest }}">&laquo; First</a>
  {% endif %}
  {% if list.prev %}
    <a class="novisit" href="{{ list.prev }}">&lsaquo; Previous</a>
  {% endif %}
  <b>{{ list.first }}{% if list.last %} - {{ list.last }}{% endif %}</b>
  {% if list.next %}<a class="novisit" href="{{ list.next }}">Next &rsaquo;</a>
  {% endif %}
</div>