diff options
Diffstat (limited to 'templates/mod/log.html')
| -rw-r--r-- | templates/mod/log.html | 12 |
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 %} |
