2016-11-01 15:32:14 +00:00
|
|
|
{% if ban_list.paginator %}
|
|
|
|
{% include "pagination.html" with list=ban_list %}
|
|
|
|
{% endif %}
|
|
|
|
|
2016-07-03 16:09:58 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Utilisateur</th>
|
|
|
|
<th>Raison</th>
|
|
|
|
<th>Date de début</th>
|
|
|
|
<th>Date de fin</th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for ban in ban_list %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ ban.user }}</td>
|
|
|
|
<td>{{ ban.raison }}</td>
|
|
|
|
<td>{{ ban.date_start }}</td>
|
|
|
|
<td>{{ ban.date_end }}</td>
|
2016-11-18 10:53:10 +00:00
|
|
|
<td class="text-right">
|
|
|
|
{% if is_bofh %}
|
|
|
|
{% include 'buttons/edit.html' with href='users:edit-ban' id=ban.id %}
|
|
|
|
{% endif %}
|
|
|
|
{% include 'buttons/history.html' with href='users:history' name='ban' id=ban.id %}
|
|
|
|
</td>
|
2016-07-03 16:09:58 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|