paginate ban list

This commit is contained in:
Michael Save 2012-04-16 19:13:30 +10:00
parent 7101fa540b
commit f0412b0814
4 changed files with 24 additions and 8 deletions

View file

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