Mercurial > public > sg101
view gpp/templates/messages/pagination.html @ 549:c4696a0cbd3f
Altered the open graph meta tags tag to generate tags for the home page
when None is supplied as a parameter. Updated the home page template to use it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 15 Jan 2012 13:27:37 -0600 |
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);">« 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>