summaryrefslogtreecommitdiff
path: root/templates/mod/users.html
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-14 22:28:21 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-14 22:28:21 +1000
commit87281687ed3ed06fd76d7bbb6c29404bb883418a (patch)
treeb343c1751d8f351ba87d2337d83014865a84f80e /templates/mod/users.html
parent1437a121f759731db35ea8c35c7f2ebbb2a42f5d (diff)
promote/demote users, started on rebuild
Diffstat (limited to 'templates/mod/users.html')
-rw-r--r--templates/mod/users.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/mod/users.html b/templates/mod/users.html
index aeacc8b5..63d799d5 100644
--- a/templates/mod/users.html
+++ b/templates/mod/users.html
@@ -30,7 +30,11 @@
</td>
<td>
{% if mod|hasPermission(config.mod.modlog) %}
- <span title="{{ user.action|e }}">{{ user.last|ago }}</span>
+ {% if user.last %}
+ <span title="{{ user.action|e }}">{{ user.last|ago }}</span>
+ {% else %}
+ <em>never</em>
+ {% endif %}
{% else %}
&ndash;
{% endif %}