{% block body %}
{% if title is defined %}

{{ title }}

{% if organizationId %} {% endif %}
{% endif %}
{% if users|length == 0 %} {% else %} {% for user in users %} {# Logic for status #} {% endfor %} {% endif %}
Picture Surname Name Email Statut Visualiser
Aucun utilisateur trouvé dans cette organisation.
{% if user.entity.pictureUrl %} User profile pic {% else %}
{{ user.entity.name|first|upper }}{{ user.entity.surname|first|upper }}
{% endif %}
{{ user.entity.surname }} {{ user.entity.name }} {{ user.entity.email }} {# check if the user is active in the organization link #} {% if user.isActive is defined %} {% if user.isActive %} {% if user.connected %} Actif {% else %} Inactif {% endif %} {% else %} Désactivé {% endif %} {# if no organization link #} {% else %} {% if user.connected %} Actif {% else %} Inactif {% endif %} {% endif %} {% if organizationId is defined and organizationId %} {{ ux_icon('fa6-regular:eye', {height: '30px', width: '30px'}) }} {% else %} {{ ux_icon('fa6-regular:eye', {height: '30px', width: '30px'}) }} {% endif %}
{% endblock %}