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.

This commit is contained in:
Michael Foster 2013-07-16 08:50:39 -04:00
parent c8f30550af
commit aadb57f2a2
3 changed files with 28 additions and 0 deletions

View file

@ -136,6 +136,16 @@
{% endif %}
</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>