summaryrefslogtreecommitdiff
path: root/templates/mod
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-08-27 22:13:47 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-08-27 22:13:47 +1000
commitb105a17b4f47931f9d5b7f41d181246e328280ba (patch)
tree727d93884d6503cc5f4bd491f92151a8f3014c53 /templates/mod
parent913010cff5d09311ca6c8bc7a139d5deee82ba38 (diff)
user logs
Diffstat (limited to 'templates/mod')
-rw-r--r--templates/mod/log.html7
-rw-r--r--templates/mod/user.html3
2 files changed, 8 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 }}">[&hellip;]</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 %}
diff --git a/templates/mod/user.html b/templates/mod/user.html
index 3c4b89cf..1bb297af 100644
--- a/templates/mod/user.html
+++ b/templates/mod/user.html
@@ -121,5 +121,8 @@
</tr>
{% endfor %}
</table>
+ <p style="text-align:center" class="unimportant">
+ <a href="?/log:{{ user.username|e }}">{% trans 'View more logs for this user.' %}</a>
+ </p>
{% endif %}