diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-04-13 21:43:01 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-04-13 21:43:01 +1000 |
| commit | 761cb4feab1a052e2e611a1d09d0a3513e011c06 (patch) | |
| tree | 5de4c9ea1fb7517521b97e893502287fdcacef31 /templates | |
| parent | d1876a0dd66422570409787bae40aad371011b89 (diff) | |
?/users (user list)
Diffstat (limited to 'templates')
| -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 %} |
