summaryrefslogtreecommitdiff
path: root/templates/mod/log.html
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-13 21:43:01 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-13 21:43:01 +1000
commit761cb4feab1a052e2e611a1d09d0a3513e011c06 (patch)
tree5de4c9ea1fb7517521b97e893502287fdcacef31 /templates/mod/log.html
parentd1876a0dd66422570409787bae40aad371011b89 (diff)
?/users (user list)
Diffstat (limited to 'templates/mod/log.html')
-rw-r--r--templates/mod/log.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/mod/log.html b/templates/mod/log.html
index fe1c5c1f..61243202 100644
--- a/templates/mod/log.html
+++ b/templates/mod/log.html
@@ -31,9 +31,11 @@
{% endfor %}
</table>
-<p class="unimportant" style="text-align:center;word-wrap:break-word">
- {% for i in range(0, count / config.mod.modlog_page) %}
- <a href="?/log/{{ i + 1 }}">[{{ i + 1 }}]</a>
- {% endfor %}
-</p>
+{% 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) %}
+ <a href="?/log/{{ i + 1 }}">[{{ i + 1 }}]</a>
+ {% endfor %}
+ </p>
+{% endif %}