diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-04-16 19:13:30 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-04-16 19:13:30 +1000 |
| commit | f0412b08140e256056fd1ea41ea1930fcc321d22 (patch) | |
| tree | bbfb9f777546feef2c96a7608545dd35e799397f /templates/mod | |
| parent | 7101fa540b86a2d90d50ff1121359f5881b507cd (diff) | |
paginate ban list
Diffstat (limited to 'templates/mod')
| -rw-r--r-- | templates/mod/ban_list.html | 9 |
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 %} + |
