view gpp/templates/messages/pagination.html @ 475:772ce9385b85

Putting the 50 years of surf music banner on the base template so all pages get it.
author Brian Neal <bgneal@gmail.com>
date Tue, 06 Sep 2011 22:40:34 +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>