view 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 source
<div class="pagination">
<span class="step-links">
{% if msgs.has_previous %}
  <a href="{{ url }}?page={{ msgs.previous_page_number }}" onclick="return ajaxPageFetch(this);">&laquo; 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 &raquo;</a>
{% endif %}
 </span>
</div>