2017-06-11 23:34:13 +00:00
|
|
|
{% comment %}
|
2019-08-08 14:18:15 +00:00
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
2017-06-11 23:34:13 +00:00
|
|
|
{% endcomment %}
|
|
|
|
|
|
|
|
{% if users_list.paginator %}
|
2019-08-08 14:18:15 +00:00
|
|
|
{% include "pagination.html" with list=users_list %}
|
2017-06-11 23:34:13 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2019-08-08 14:18:15 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Prénom</th>
|
|
|
|
<th>Nom</th>
|
|
|
|
<th>Pseudo</th>
|
|
|
|
<th>Mail</th>
|
|
|
|
<th>Max emprunts</th>
|
|
|
|
<th>Adhérent</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for user in users_list %}
|
2017-06-11 23:34:13 +00:00
|
|
|
<tr>
|
2019-08-08 10:16:40 +00:00
|
|
|
<td>{{ user.first_name }}</td>
|
2019-08-02 19:47:54 +00:00
|
|
|
<td>{{ user.last_name }}</td>
|
2019-08-02 19:35:30 +00:00
|
|
|
<td>{{ user.username }}</td>
|
2017-06-11 23:34:13 +00:00
|
|
|
<td>{{ user.email }}</td>
|
2017-06-30 01:25:07 +00:00
|
|
|
<td>{{ user.maxemprunt }}</td>
|
2017-07-04 22:47:05 +00:00
|
|
|
{% if user.is_adherent %}
|
2019-08-08 14:18:15 +00:00
|
|
|
<td><span style="color:green">Oui</span></td>
|
2017-07-04 22:47:05 +00:00
|
|
|
{% else %}
|
2019-08-08 14:18:15 +00:00
|
|
|
<td><span style="color:red">Non</span></td>
|
2017-07-04 22:47:05 +00:00
|
|
|
{% endif %}
|
2017-06-11 23:34:13 +00:00
|
|
|
</tr>
|
2019-08-08 14:18:15 +00:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2017-06-11 23:34:13 +00:00
|
|
|
|