summaryrefslogtreecommitdiff
path: root/templates/mod/log.html
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-13 20:48:37 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-13 20:48:37 +1000
commite92ee2b4879d110f4076c17c0033267dfbbc9197 (patch)
tree103f30f52bb13f726a2e70cd5146e06c31e86da0 /templates/mod/log.html
parent7f6f836bf85350fe92d3975d2fb3973343923aeb (diff)
moderation log
Diffstat (limited to 'templates/mod/log.html')
-rw-r--r--templates/mod/log.html30
1 files changed, 26 insertions, 4 deletions
diff --git a/templates/mod/log.html b/templates/mod/log.html
index 2aa0ea0a..4f2beb40 100644
--- a/templates/mod/log.html
+++ b/templates/mod/log.html
@@ -1,11 +1,33 @@
<table class="modlog">
<tr>
- <th>
-
- </th>
+ <th>Staff</th>
+ <th>IP address</th>
+ <th>Ago</th>
+ <th>Board</th>
+ <th>Action</th>
</tr>
{% for log in logs %}
-
+ <tr>
+ <td class="minimal">
+ <a href="?/new_PM/{{ log.username }}">{{ log.username }}</a>
+ </td>
+ <td class="minimal">
+ <a href="?/IP/{{ log.ip }}">{{ log.ip }}</a>
+ </td>
+ <td class="minimal">
+ <span title="{{ log.time|date(config.post_date) }}">{{ log.time|ago }}</span>
+ </td>
+ <td class="minimal">
+ {% if log.board %}
+ <a href="?/{{ config.board_path|sprintf(log.board) }}{{ config.file_index }}">{{ config.board_abbreviation|sprintf(log.board) }}</a>
+ {% else %}
+ -
+ {% endif %}
+ </td>
+ <td>
+ {{ log.text }}
+ </td>
+ </tr>
{% endfor %}
</table>