1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 00:40:52 +01:00
vichan/templates/mod/log.html

40 lines
947 B
HTML
Raw Normal View History

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