{% set profileRoute = profile_route|default('user_profil') %} {% for user in users %} {% endfor %}
Utilisateur
Email
{% if staff %} Rôle {% else %} Société(s) {% endif %}
Statut
{% include '@App/partials/components/badge_user.html.twig' with {user: user, taille: 40, role: true, email: false, staff: staff, societe: societe} %} {{user.email}} {% if staff %} {{user.role}} {% else %} {% endif %} {% if contact_route is defined and societe and societe.contact != user %} {% endif %}