diff options
author | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:06 +0800 |
---|---|---|
committer | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:06 +0800 |
commit | 2acb62174ab2cac9c7a88faafcb5f0a22a54db6f (patch) | |
tree | 93e9d22d6fb8a6c882e3915a8511a3ac542a1e67 /templates/pagesize.html | |
download | askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.tar.gz askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.tar.bz2 askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.zip |
initiliaze git rep
Diffstat (limited to 'templates/pagesize.html')
-rw-r--r-- | templates/pagesize.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/pagesize.html b/templates/pagesize.html new file mode 100644 index 00000000..5eb0159c --- /dev/null +++ b/templates/pagesize.html @@ -0,0 +1,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 %}
\ No newline at end of file |