Browse Source

ban list formatting changes

pull/40/head
Michael Save 12 years ago
parent
commit
1dedf5deae
  1. 11
      templates/mod/ban_list.html

11
templates/mod/ban_list.html

@ -4,10 +4,11 @@
<form action="" method="post">
<table class="mod">
<tr>
<th>{% trans 'IP address' %}</th>
<th>{% trans 'IP address/mask' %}</th>
<th>{% trans 'Reason' %}</th>
<th>{% trans 'Board' %}</th>
<th>{% trans 'Set' %}</th>
<th>{% trans 'Duration' %}</th>
<th>{% trans 'Expires' %}</th>
<th>{% trans 'Staff' %}</th>
</tr>
@ -37,6 +38,14 @@
</td>
<td style="white-space: nowrap">
{{ ban.set|date(config.post_date) }}
<small>({{ ban.set|ago }} ago)</small>
</td>
<td style="white-space: nowrap">
{% if ban.expires == 0 %}
-
{% else %}
{{ (ban.expires - ban.set + time()) | until }}
{% endif %}
</td>
<td style="white-space: nowrap">
{% if ban.expires == 0 %}

Loading…
Cancel
Save