diff options
Diffstat (limited to 'templates/mod/log.html')
| -rw-r--r-- | templates/mod/log.html | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/templates/mod/log.html b/templates/mod/log.html index 9b0979cb..dca1b2d0 100644 --- a/templates/mod/log.html +++ b/templates/mod/log.html @@ -1,15 +1,21 @@ <table class="modlog"> <tr> - <th>Staff</th> - <th>IP address</th> - <th>Time</th> - <th>Board</th> - <th>Action</th> + <th>{% trans 'Staff' %}</th> + <th>{% trans 'IP address' %}</th> + <th>{% trans 'Time' %}</th> + <th>{% trans 'Board' %}</th> + <th>{% trans 'Action' %}</th> </tr> {% for log in logs %} <tr> <td class="minimal"> - <a href="?/new_PM/{{ log.username }}">{{ log.username }}</a> + {% if log.username %} + <a href="?/new_PM/{{ log.username|e }}">{{ log.username|e }}</a> + {% elseif log.mod == -1 %} + <em>system</em> + {% else %} + <em>{% trans 'deleted?' %}</em> + {% endif %} </td> <td class="minimal"> <a href="?/IP/{{ log.ip }}">{{ log.ip }}</a> |
