blob: ac54a75e5c92d64415f9ef8a12c53ec609be66aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
{% load i18n %}
<div class="paginator span-16 last">
<span class="index">
{% blocktrans with page.number as current_page and page.paginator.num_pages as total_page %}Page {{ current_page }} of {{ total_page }}{% endblocktrans %}
</span>
{% if page.has_previous %}
<span class="previous">
<a href="?page={{ page.previous_page_number }}{{ GET_string }}"
title="{% trans "More recent node types" %}">«</a>
</span>
{% endif %}
{% for page_number in begin %}
<span class="page {% ifequal page.number page_number %}current{% endifequal %}">
{% ifequal page.number page_number %}
<strong>{{ page_number }}</strong>
{% else %}
<a href="?page={{ page_number }}{{ GET_string }}"
title="{% trans "Nodetypes page" %} {{ page_number }}">{{ page_number }}</a>
{% endifequal%}
</span>
{% endfor %}
{% if middle %}
<span class="ellipsis">…</span>
{% for page_number in middle %}
<span class="page {% ifequal page.number page_number %}current{% endifequal %}">
{% ifequal page.number page_number %}
<strong>{{ page_number }}</strong>
{% else %}
<a href="?page={{ page_number }}{{ GET_string }}"
title="{% trans "Nodetypes page" %} {{ page_number }}">{{ page_number }}</a>
{% endifequal%}
</span>
{% endfor %}
{% endif %}
{% if end %}
<span class="ellipsis">…</span>
{% for page_number in end %}
<span class="page {% ifequal page.number page_number %}current{% endifequal %}">
{% ifequal page.number page_number %}
<strong>{{ page_number }}</strong>
{% else %}
<a href="?page={{ page_number }}{{ GET_string }}"
title="{% trans "Nodetypes page" %} {{ page_number }}">{{ page_number }}</a>
{% endifequal%}
</span>
{% endfor %}
{% endif %}
{% if page.has_next %}
<span class="next">
<a href="?page={{ page.next_page_number }}{{ GET_string }}"
title="{% trans "More old nodetypes" %}">»</a>
</span>
{% endif %}
</div>
|