comparison gpp/templates/core/pagination_query.html @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 <div class="pagination">
2 <ul>
3 {% if page.has_previous %}
4 <li class="prev"><a href="../{{ page.previous_page_number }}/?query={{ query }}" title="Go to page {{ page.previous_page_number }}">&laquo; Previous</a></li>
5 {% endif %}
6 {% for num in page.page_range %}
7 {% if num %}
8 {% ifequal num page.number %}
9 <li class="current">{{ num }}</li>
10 {% else %}
11 <li class="page"><a href="../{{ num }}/?query={{ query }}" title="Go to page {{ num }}">{{ num }}</a></li>
12 {% endifequal %}
13 {% else %}
14 <li>&hellip;</li>
15 {% endif %}
16 {% endfor %}
17 {% if page.has_next %}
18 <li class="next"><a href="../{{ page.next_page_number }}/?query={{ query }}" title="Go to page {{ page.next_page_number }}">Next &raquo;</a></li>
19 {% endif %}
20 </ul>
21 </div>
22 <br clear="left" />