2
<div class="pagination" style="float:left">
3
<span class="summary">{{ label }} <strong>{{ page.start_index }}</strong>—<strong>{{ page.end_index }}</strong> {% trans "of" %} <strong>{{ paginator.count }}</strong> {{ label }} </span>
2
<div class="pagination">
4
4
{% if page.has_previous %}
5
{% ifequal page.previous_page_number 1 %}
6
<a href="?page={{ page.previous_page_number }}" class="prev">‹‹ </a>
8
<a href="?page=1" class="prev">‹‹‹‹ </a>
9
<a href="?page={{ page.previous_page_number }}" class="prev">‹‹ </a>
12
{% ifnotequal paginator.num_pages 1 %}
13
<span class="disabled prev">‹‹ </span>
5
<a href="{{ page.previous_link }}"><{% trans "Back" %}</a>
16
{% for pages in paginator.page_range %}
18
{% ifequal paginator.num_pages 1 %}
21
{% ifequal pages page.number %}
22
<span class="current page">| {{ page.number }} |</span>
24
<a href="?page={{ pages }}" class="page">{{ pages }}</a>
8
<span class="summary">{{ label }} <strong>{{ page.start_index }}</strong>—<strong>{{ page.end_index }}</strong> {% trans "of" %} <strong>{{ paginator.count }}</strong> {% trans "posts" %}
9
{% if page.has_other_pages %}
10
{% trans "in" %} <strong>{{ paginator.num_pages }}</strong>
29
15
{% if page.has_next %}
30
{% ifequal page.next_page_number paginator.num_pages %}
31
<a href="?page={{ page.next_page_number }}" class="next"> ››</a>
33
<a href="?page={{ page.next_page_number }}" class="next"> ››</a>
34
<a href="?page={{ paginator.num_pages }}" class="next"> ››››</a>
37
{% ifnotequal paginator.num_pages 1 %}
38
<span class="disabled next"> ››</span>
16
<a href="{{ page.next_link }}">{% trans "Forward" %}></a>