Mercurial > public > sg101
view gpp/templates/messages/pagination.html @ 573:bcc4e8cf841b
For Django 1.4, update to newer versions of cache_page usage.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 02 May 2012 21:00:12 -0500 |
parents | 76ba9478ebbd |
children |
line wrap: on
line source
<div class="pagination"> <span class="step-links"> {% if msgs.has_previous %} <a href="{{ url }}?page={{ msgs.previous_page_number }}" onclick="return ajaxPageFetch(this);">« Previous</a> {% endif %} <span class="current"> Page {{ msgs.number }} of {{ msgs.paginator.num_pages }}. </span> {% if msgs.has_next %} <a href="{{ url }}?page={{ msgs.next_page_number }}" onclick="return ajaxPageFetch(this);">Next »</a> {% endif %} </span> </div>