blob: 5fb28e204e34d71260c7f55d0f7d5c2f9d727f6f (
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
|
<!-- template pagesize.html -->
{% spaceless %}
{% load i18n %}
{% if is_paginated %}
<div class="paginator">
<span class="text">{% trans "posts per page" %}</span>
{% ifequal page_size 10 %}
<span class="curr">10</span>
{% else %}
<span class="page"><a href="{{base_url}}page_size=10">10</a></span>
{% endifequal %}
{% ifequal page_size 30 %}
<span class="curr">30</span>
{% else %}
<span class="page"><a href="{{base_url}}page_size=30">30</a></span>
{% endifequal %}
{% ifequal page_size 50 %}
<span class="curr">50</span>
{% else %}
<span class="page"><a href="{{base_url}}page_size=50">50</a></span>
{% endifequal %}
</div>
{% endif %}
{% endspaceless %}
<!-- end template pagesize.html -->
|