{% extends is_granted("ROLE_ADMIN") or is_granted("ROLE_MANDATAIRE") or is_granted("ROLE_SERVICE_CLIENT_CORIOLIS_BTZ") or is_granted("ROLE_MARKETING") or is_granted("ROLE_ADMIN_BUTAGAZ") ? 'layout_admin.html.twig' : 'layout_site_user.html.twig' %} {% block content %} {% include 'flashes.html.twig' %} {% if is_granted("ROLE_CTTPRIUS") or is_granted("ROLE_TECHNIQUE_BUTAGAZPRIUS") %}
{% include 'sort.html.twig' with { 'col' : 'q.enabled', 'name': 'wbxuser.form.enabled' } %} | {{ 'wbxuser.form.roles' | trans }} | {{ 'wbxuser.form.type' | trans }} | {% include 'sort.html.twig' with { 'col' : 'q.username', 'name': 'wbxuser.form.username' } %} | {% include 'sort.html.twig' with { 'col' : 'q.firstname', 'name': 'wbxuser.form.firstname' } %} | {% include 'sort.html.twig' with { 'col' : 'q.lastname', 'name': 'wbxuser.form.lastname' } %} | {% include 'sort.html.twig' with { 'col' : 'q.email', 'name': 'wbxuser.form.email' } %} | |
---|---|---|---|---|---|---|---|
|
{{ "wbxuser.yes" | trans }}{% else %}danger">{{ "wbxuser.no" | trans }}{% endif %} | {% include 'user/role.html.twig' %} | {{ ('wbxuser.user.type.' ~ user.type) | trans }} | {{ user.username }} | {{ user.firstname }} | {{ user.lastname }} | {{ user.email }} |