2012-04-12 20:41:30 -04:00
|
|
|
<table class="modlog">
|
|
|
|
<tr>
|
2012-04-13 06:48:37 -04:00
|
|
|
<th>Staff</th>
|
|
|
|
<th>IP address</th>
|
2012-04-16 09:18:07 -04:00
|
|
|
<th>Time</th>
|
2012-04-13 06:48:37 -04:00
|
|
|
<th>Board</th>
|
|
|
|
<th>Action</th>
|
2012-04-12 20:41:30 -04:00
|
|
|
</tr>
|
|
|
|
{% for log in logs %}
|
2012-04-13 06:48:37 -04:00
|
|
|
<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>
|
2012-04-12 20:41:30 -04:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
2012-04-13 07:43:01 -04:00
|
|
|
{% if count > logs|count %}
|
|
|
|
<p class="unimportant" style="text-align:center;word-wrap:break-word">
|
2012-04-21 01:15:32 -04:00
|
|
|
{% for i in range(0, (count - 1) / config.mod.modlog_page) %}
|
2012-04-13 07:43:01 -04:00
|
|
|
<a href="?/log/{{ i + 1 }}">[{{ i + 1 }}]</a>
|
|
|
|
{% endfor %}
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2012-04-13 06:57:59 -04:00
|
|
|
|