2016-07-03 16:09:58 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Prénom</th>
|
|
|
|
<th>Nom</th>
|
|
|
|
<th>Pseudo</th>
|
2016-07-05 18:01:37 +00:00
|
|
|
<th>Fin de cotisation le</th>
|
2016-07-03 19:35:50 +00:00
|
|
|
<th>Connexion</th>
|
2016-07-03 16:09:58 +00:00
|
|
|
<th>Profil</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2016-07-10 02:02:48 +00:00
|
|
|
{% for user in users_list %}
|
2016-07-03 16:09:58 +00:00
|
|
|
<tr>
|
2016-07-10 02:02:48 +00:00
|
|
|
<td>{{ user.name }}</td>
|
|
|
|
<td>{{ user.surname }}</td>
|
|
|
|
<td>{{ user.pseudo }}</td>
|
|
|
|
<td>{% if user.is_adherent %}{{ user.end_adhesion }}{% else %}Non adhérent{% endif %}</td>
|
|
|
|
<td>{% if user.has_access == True %}
|
2016-07-03 19:35:50 +00:00
|
|
|
<font color="green">Active</font>
|
2016-07-03 17:48:46 +00:00
|
|
|
{% else %}
|
2016-07-03 19:35:50 +00:00
|
|
|
<font color="red">Désactivée</font>
|
2016-07-03 17:48:46 +00:00
|
|
|
{% endif %}
|
|
|
|
</td>
|
2016-07-10 02:02:48 +00:00
|
|
|
<td><a href="{% url "users:profil" user.id%}" class="btn btn-primary btn-sm" role="button"><i class="glyphicon glyphicon-user"></i></a>
|
2016-07-05 17:34:57 +00:00
|
|
|
</td>
|
2016-07-03 16:09:58 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|