summaryrefslogtreecommitdiff
path: root/templates/mod/debug/antispam.html
blob: c3e7085955c9a71aebc59701793f80e128a43b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<p style="text-align:center">
	Most used (in active):
</p>
<table class="modlog" style="width:700px;margin:auto">
	<tr>
		<th>Board</th>
		<th>Thread</th>
		<th>Hash (SHA1)</th>
		<th>Created</th>
		<th>Expires</th>
		<th>Passed</th>
	</tr>
	{% for hash in top %}
		<tr>
			<td>{{ config.board_abbreviation|sprintf(hash.board) }}</td>
			<td>
				{% if hash.thread %}
					{{ hash.thread }}
				{% else %}
					-
				{% endif %}</td>
			<td>{{ hash.hash }}</td>
			<td>
				<span title="{{ hash.created|date(config.post_date) }}">{{ hash.created|ago }} ago</span>
			</td>
			<td>
				{% if hash.expires %}
					<span title="{{ hash.expires|date(config.post_date) }}">
						{{ hash.expires|until }}
					</span>
				{% else %}
					-
				{% endif %}
			</td>
			<td>{{ hash.passed }}</td>
		</tr>
	{% endfor %}
</table>
<p style="text-align:center">
	Total: <strong>{{ total }}</strong> (<strong>{{ expiring }}</strong> set to expire)
</p>