diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-08-27 22:13:47 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-08-27 22:13:47 +1000 |
| commit | b105a17b4f47931f9d5b7f41d181246e328280ba (patch) | |
| tree | 727d93884d6503cc5f4bd491f92151a8f3014c53 /templates/mod/log.html | |
| parent | 913010cff5d09311ca6c8bc7a139d5deee82ba38 (diff) | |
user logs
Diffstat (limited to 'templates/mod/log.html')
| -rw-r--r-- | templates/mod/log.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/mod/log.html b/templates/mod/log.html index dca1b2d0..43541892 100644 --- a/templates/mod/log.html +++ b/templates/mod/log.html @@ -10,7 +10,10 @@ <tr> <td class="minimal"> {% if log.username %} - <a href="?/new_PM/{{ log.username|e }}">{{ log.username|e }}</a> + {{ log.username|e }} + <small> + <a href="?/new_PM/{{ log.username|e }}">[PM]</a>{% if not username %} <a href="?/log:{{ log.username|e }}">[…]</a>{% endif %} + </small> {% elseif log.mod == -1 %} <em>system</em> {% else %} @@ -40,7 +43,7 @@ {% if count > logs|count %} <p class="unimportant" style="text-align:center;word-wrap:break-word"> {% for i in range(0, (count - 1) / config.mod.modlog_page) %} - <a href="?/log/{{ i + 1 }}">[{{ i + 1 }}]</a> + <a href="?/log{% if username %}:{{ username }}{% endif %}/{{ i + 1 }}">[{{ i + 1 }}]</a> {% endfor %} </p> {% endif %} |
