Mercurial > public > sg101
diff gpp/templates/messages/pagination.html @ 425:76ba9478ebbd
Initial beta-test commit of a revamped, jquery ui tab-based PM system. This is for #211.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 26 Apr 2011 00:16:35 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpp/templates/messages/pagination.html Tue Apr 26 00:16:35 2011 +0000 @@ -0,0 +1,15 @@ +<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>