statut template
This commit is contained in:
parent
05d8ca0499
commit
301f7bb445
|
|
@ -10,14 +10,14 @@
|
||||||
<th>Surname</th>
|
<th>Surname</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
{# <th>Statut</th>#}
|
<th>Statut</th>
|
||||||
<th>Visualiser</th>
|
<th>Visualiser</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% if org.users|length == 0 %}
|
{% if org.users|length == 0 %}
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="5" class="text-center">Aucun utilisateur trouvé.</td>
|
<td colspan="6" class="text-center">Aucun utilisateur trouvé.</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for user in org.users %}
|
{% for user in org.users %}
|
||||||
|
|
@ -30,6 +30,14 @@
|
||||||
<td>{{ user.surname }}</td>
|
<td>{{ user.surname }}</td>
|
||||||
<td>{{ user.name }}</td>
|
<td>{{ user.name }}</td>
|
||||||
<td>{{ user.email }}</td>
|
<td>{{ user.email }}</td>
|
||||||
|
{# <td>#}
|
||||||
|
{# {% if user.isActive %}#}
|
||||||
|
{# <span class="badge bg-success">Actif</span>#}
|
||||||
|
{# {% else %}#}
|
||||||
|
{# <span class="badge bg-secondary">Inactif</span>#}
|
||||||
|
{# {% endif %}#}
|
||||||
|
{# </td>#}
|
||||||
|
<td> <span class="badge bg-success">Actif</span></td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ path('user_show', {'id': user.id}) }}" class="p-3 align-middle">
|
<a href="{{ path('user_show', {'id': user.id}) }}" class="p-3 align-middle">
|
||||||
<i class="icon-grid menu-icon color-primary">
|
<i class="icon-grid menu-icon color-primary">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue