Mercurial > public > sg101
view gpp/templates/messages/pagination.html @ 472:7c3816d76c6c
Implement rate limiting on registration and login for #224.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 25 Aug 2011 02:23:55 +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>