Mercurial > public > sg101
view gpp/templates/messages/pagination.html @ 451:345825e6dcae
Working on #220. Can't test locally, so committing in increments.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 30 Jun 2011 01:57:17 +0000 |
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>