view gpp/templates/messages/pagination.html @ 431:0d91176cf9b3

More work on #211. The compose view now returns the tab fragment HTML so errors can be displayed correctly.
author Brian Neal <bgneal@gmail.com>
date Fri, 06 May 2011 00:02: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);">&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>