From 8828101a0cb651dc5ebf4ec740647f0ad52c4027 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Tue, 28 Aug 2012 01:47:26 +1000 Subject: [PATCH] minor design change --- templates/mod/log.html | 5 +---- templates/mod/users.html | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/mod/log.html b/templates/mod/log.html index 43541892..e75330b5 100644 --- a/templates/mod/log.html +++ b/templates/mod/log.html @@ -10,10 +10,7 @@ {% if log.username %} - {{ log.username|e }} - - [PM]{% if not username %} […]{% endif %} - + {{ log.username|e }} {% elseif log.mod == -1 %} system {% else %} diff --git a/templates/mod/users.html b/templates/mod/users.html index 6ea6248f..fbd43b32 100644 --- a/templates/mod/users.html +++ b/templates/mod/users.html @@ -52,6 +52,9 @@ {% if mod|hasPermission(config.mod.promoteusers) and user.type > constant('JANITOR') %} {% endif %} + {% if mod|hasPermission(config.mod.modlog) %} + [{% trans 'log' %}] + {% endif %} {% if mod|hasPermission(config.mod.editusers) or (mod|hasPermission(config.mod.change_password) and mod.id == user.id) %} [{% trans 'edit' %}] {% endif %}