app/soc/templates/soc/list/list_pagination.html
author Todd Larsen <tlarsen@google.com>
Fri, 03 Oct 2008 17:21:41 +0000
changeset 265 3c2994f3b85f
parent 187 2c0a497b2b2a
child 539 e30462354e26
permissions -rw-r--r--
List views should have a selectable pagination "page" length: http://code.google.com/p/soc/issues/detail?id=59 Patch by: Chen Lunpeng and Todd Larsen Review by: Augie Fackler Review URL: http://codereviews.googleopensourceprograms.com/1201

<div class="pagination">

  {{ pagination_form.as_table }}
 
  {% 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>
  {% endif %}
</div>