{% 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") %}

Vous n'avez pas accès à cette page

{% else %}
{% if is_granted("ROLE_SERVICE_CLIENT_CORIOLIS_BTZ") %} {% elseif is_granted("ROLE_MARKETING") %} {% elseif is_granted("ROLE_SUPER_ADMIN") or is_granted("ROLE_ADMIN") %} {% endif %} {% if not is_granted("ROLE_SERVICE_CLIENT_CORIOLIS_BTZ") %} {% endif %}
{{ form_row(form_filter.name) }}
{{ form_row(form_filter.email) }}
{{ form_row(form_filter.tel) }}

{{ form_row(form_export_filter.source) }}
{{ form_label(form_export_filter.dateDebut) }}
{{ form_widget(form_export_filter.dateDebut) }}
-
{{ form_widget(form_export_filter.dateFin) }}

{% for user in pager.currentPageResults %} {% endfor %}
{% 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 }}
{{ pager.getNbResults }} {% trans %}wbxuser.result{% endtrans %}
{% if pager.haveToPaginate %}
{{ pagerfanta(pager, 'twitter_bootstrap3', {'prev_message': 'Previous'|trans, 'next_message': 'Next'|trans}) }}
{% endif %}
{% endif %} {% endblock %} {% block my_js %} {{ parent() }} {{ encore_entry_script_tags('user_index') }} {% endblock %}