statut template

This commit is contained in:
Charles 2025-07-28 16:05:20 +02:00
parent 05d8ca0499
commit 301f7bb445
1 changed files with 10 additions and 2 deletions

View File

@ -10,14 +10,14 @@
<th>Surname</th>
<th>Name</th>
<th>Email</th>
{# <th>Statut</th>#}
<th>Statut</th>
<th>Visualiser</th>
</tr>
</thead>
<tbody>
{% if org.users|length == 0 %}
<tr>
<td colspan="5" class="text-center">Aucun utilisateur trouvé.</td>
<td colspan="6" class="text-center">Aucun utilisateur trouvé.</td>
</tr>
{% endif %}
{% for user in org.users %}
@ -30,6 +30,14 @@
<td>{{ user.surname }}</td>
<td>{{ user.name }}</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>
<a href="{{ path('user_show', {'id': user.id}) }}" class="p-3 align-middle">
<i class="icon-grid menu-icon color-primary">