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 %}