view gpp/templates/messages/pagination.html @ 572:368d731af479

For Django 1.4, remove verify_exists from model field definitions.
author Brian Neal <bgneal@gmail.com>
date Wed, 02 May 2012 20:51:38 -0500
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);">&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>