{% extends '@SonataAdmin/CRUD/base_list.html.twig' %} {% block tab_menu %} {{ knp_menu_render(admin.sidemenu(action), { 'currentClass': 'active', 'template': get_global_template('tab_menu_template') }, 'twig') }} {% endblock %} {% block list_filters %}{% endblock %} {% block list_filters_actions %}{% endblock %} {% block list_table %}
| Type de consentement | Utilisateurs | % actifs | Progression |
|---|---|---|---|
| {% if item.type == 'general' %} {% elseif item.type == 'ssa' %} {% elseif item.type == 'email_notifications' %} {% else %} {% endif %} {{ item.label }} | {{ item.count }} / {{ stats.totalActiveUsers }} | {{ item.percent }}% |
|
{{ stats.totalActiveUsers }} utilisateurs actifs au total.
{{ stats.usersWithConsent }} ont accordé au moins un consentement
({{ stats.totalActiveUsers > 0 ? ((stats.usersWithConsent / stats.totalActiveUsers) * 100)|round(1) : 0 }}%).
{{ stats.usersWithoutConsent }} n'ont encore accordé aucun consentement.
| Utilisateur | Consentements actifs | Statut | |
|---|---|---|---|
| {{ userStat.username }} | {{ userStat.email }} | {% if userStat.consentCount >= stats.requiredCount %} Complet {% else %} {{ stats.requiredCount - userStat.consentCount }} manquant(s) {% endif %} | |
| Aucun consentement enregistré. | |||
| {{ stats.usersWithoutConsent }} utilisateur(s) actif(s) sans aucun consentement enregistré ne figurent pas dans ce tableau. | |||