Paginate ?/noticeboard

This commit is contained in:
Michael Save 2012-04-21 15:15:32 +10:00
parent 2c1f14d24b
commit 2a301de29f
7 changed files with 125 additions and 10 deletions

View file

@ -33,7 +33,7 @@
{% if count > logs|count %}
<p class="unimportant" style="text-align:center;word-wrap:break-word">
{% for i in range(0, count / config.mod.modlog_page) %}
{% for i in range(0, (count - 1) / config.mod.modlog_page) %}
<a href="?/log/{{ i + 1 }}">[{{ i + 1 }}]</a>
{% endfor %}
</p>