Mercurial > public > sg101
view gpp/templates/messages/pagination.html @ 434:ffdeb403ad21
For #211; update the URL in the private messages notification email. Messages no longer have a get_absolute_url() method. Just send people to the main messages index.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 12 May 2011 02:56:13 +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>