summaryrefslogtreecommitdiff
path: root/templates/mod/view_ip.html
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-16 08:50:39 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-16 08:50:39 -0400
commitaadb57f2a2db9210468f25d7dcd45d561ef6ad54 (patch)
treee1c8663bc1577258a8061c84f705b7bba6c8f0a9 /templates/mod/view_ip.html
parentc8f30550af861b95a1f475069ad8d10960a613b2 (diff)
More ban stuff: Show whether or not user has "seen" a ban yet in the ban list and on IP address pages. Purge useless expired ban records.
Diffstat (limited to 'templates/mod/view_ip.html')
-rw-r--r--templates/mod/view_ip.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/mod/view_ip.html b/templates/mod/view_ip.html
index 562a0140..e2dad7af 100644
--- a/templates/mod/view_ip.html
+++ b/templates/mod/view_ip.html
@@ -137,6 +137,16 @@
</td>
</tr>
<tr>
+ <th>{% trans 'Seen' %}</th>
+ <td>
+ {% if ban.seen %}
+ {% trans 'Yes' %}
+ {% else %}
+ {% trans 'No' %}
+ {% endif %}
+ </td>
+ </tr>
+ <tr>
<th>{% trans 'Staff' %}</th>
<td>
{% if ban.username %}