diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-08-28 01:47:26 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-08-28 01:47:26 +1000 |
| commit | 8828101a0cb651dc5ebf4ec740647f0ad52c4027 (patch) | |
| tree | 6abdf094eebd55206a190f352e7e7de52fdeb7e3 | |
| parent | 9fbf24dca5a04d137c01a6418d41e01d65f8405b (diff) | |
minor design change
| -rw-r--r-- | templates/mod/log.html | 5 | ||||
| -rw-r--r-- | 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 @@ <tr> <td class="minimal"> {% if log.username %} - {{ 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> + <a href="?/log:{{ log.username|e }}">{{ log.username|e }}</a> {% elseif log.mod == -1 %} <em>system</em> {% 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') %} <a style="float:left;text-decoration:none" href="?/users/{{ user.id }}/demote" title="{% trans 'Demote' %}">▼</a> {% endif %} + {% if mod|hasPermission(config.mod.modlog) %} + <a class="unimportant" style="margin-left:5px;float:right" href="?/log:{{ user.username|e }}">[{% trans 'log' %}]</a> + {% endif %} {% if mod|hasPermission(config.mod.editusers) or (mod|hasPermission(config.mod.change_password) and mod.id == user.id) %} <a class="unimportant" style="margin-left:5px;float:right" href="?/users/{{ user.id }}">[{% trans 'edit' %}]</a> {% endif %} |
