diff --git a/templates/user/userList.html.twig b/templates/user/userList.html.twig deleted file mode 100644 index 5035ecc..0000000 --- a/templates/user/userList.html.twig +++ /dev/null @@ -1,99 +0,0 @@ -{% block body %} - -
- - {% if title is defined %} -
-
- {% if logo %} - Organization Logo - - {% endif %} -

{{ title|capitalize }}

- {% if organizationId %} - - {% endif %} -
-
- - {% endif %} -
- - - - - - - - - - - - - - {% if users|length == 0 %} - - - - {% else %} - {% for user in users %} - - - - - - {# Logic for status #} - - - - {% endfor %} - {% endif %} - - -
ProfileNomPrénomEmailStatutAction
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 %} \ No newline at end of file