diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-05-06 01:33:10 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-05-06 01:33:10 +1000 |
| commit | a6104587203f1b1b448e6977066d6e649de91ae8 (patch) | |
| tree | 58f3f17daaeb47de3ecc87f9967b432612147e68 /templates/mod/log.html | |
| parent | ac2837c6204221554ceebc56c5fb9e38be4e0925 (diff) | |
a lot more improvements
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> |
