{% extends 'base.html.twig' %} {% block body %}
{% if is_granted("ROLE_ADMIN") %}

Gestion Utilisateur

{% if is_granted("ROLE_SUPER_ADMIN") %} Supprimer {% if user.active %} Désactiver l'utilisateur {% else %} Activer l'utilisateur {% endif %} {% endif %}
{% endif %}
{% include 'user/userInformation.html.twig' %}

Vos applications

{% for app in apps %}
{% if app.logoMiniUrl %} Logo {{ app.name }} {% endif %}

{{ app.name|title }}

Description : {{ app.descriptionSmall|default('Aucune description disponible.')|raw }}

{# find appGroup once, used in both editable and read-only branches #} {% set appGroup = data.uoas[app.id]|default(null) %} {% if canEdit %}
{% if appGroup %} {% for role in data.rolesArray %} {% endfor %} {% else %}

Aucun rôle défini pour cette application.

{% endif %}
{% else %}
{% if appGroup %} {% for role in data.rolesArray %} {% endfor %} {% else %}

Aucun rôle défini pour cette application.

{% endif %}
{% endif %}
{% endfor %}
{% endblock %} {% block title %} {% endblock %}