summaryrefslogtreecommitdiffstats
path: root/templates/pagesize.html
blob: 5eb0159cf46e021754abb6a4b6924f4b16ab5c81 (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
{% spaceless %}
{% if is_paginated %}
<div class="paginator">
    <span class="text">每页显示</span>
    {% ifequal pagesize 10 %}
        <span class="curr">10</span>
    {% else %}
        <span class="page"><a href="{{base_url}}pagesize=10">10</a></span>
    {% endifequal %}
    
    {% ifequal pagesize 30 %}
        <span class="curr">30</span>
    {% else %}
        <span class="page"><a href="{{base_url}}pagesize=30">30</a></span>
    {% endifequal %}
    
    {% ifequal pagesize 50 %}
        <span class="curr">50</span>
    {% else %}
        <span class="page"><a href="{{base_url}}pagesize=50">50</a></span>
    {% endifequal %}
</div> 
{% endif %}
{% endspaceless %}