summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-16 19:13:30 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-16 19:13:30 +1000
commitf0412b08140e256056fd1ea41ea1930fcc321d22 (patch)
treebbfb9f777546feef2c96a7608545dd35e799397f /templates
parent7101fa540b86a2d90d50ff1121359f5881b507cd (diff)
paginate ban list
Diffstat (limited to 'templates')
-rw-r--r--templates/mod/ban_list.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/mod/ban_list.html b/templates/mod/ban_list.html
index 00b8a0f4..66471d6d 100644
--- a/templates/mod/ban_list.html
+++ b/templates/mod/ban_list.html
@@ -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 %}
+