2016-07-03 18:09:58 +02:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Prénom</th>
|
|
|
|
<th>Nom</th>
|
|
|
|
<th>Pseudo</th>
|
|
|
|
<th>Inscrit le</th>
|
2016-07-03 21:35:50 +02:00
|
|
|
<th>Connexion</th>
|
2016-07-03 18:09:58 +02:00
|
|
|
<th>Profil</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2016-07-03 21:35:50 +02:00
|
|
|
{% for donnee in users_list %}
|
2016-07-03 18:09:58 +02:00
|
|
|
<tr>
|
2016-07-03 21:35:50 +02:00
|
|
|
<td>{{ donnee.0.name }}</td>
|
|
|
|
<td>{{ donnee.0.surname }}</td>
|
|
|
|
<td>{{ donnee.0.pseudo }}</td>
|
|
|
|
<td>{{ donnee.0.registered }}</td>
|
|
|
|
<td>{% if donnee.1 == True %}
|
|
|
|
<font color="green">Active</font>
|
2016-07-03 19:48:46 +02:00
|
|
|
{% else %}
|
2016-07-03 21:35:50 +02:00
|
|
|
<font color="red">Désactivée</font>
|
2016-07-03 19:48:46 +02:00
|
|
|
{% endif %}
|
|
|
|
</td>
|
2016-07-05 19:34:57 +02:00
|
|
|
<td><a href="{% url "users:profil" donnee.0.id%}" class="btn btn-primary btn-sm" role="button"><i class="glyphicon glyphicon-user"></i></a>
|
|
|
|
</td>
|
2016-07-03 18:09:58 +02:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|