{% extends 'base.html.twig' %} {% block stylesheets %} {{ parent() }} {{encore_entry_link_tags('librairies_css')}} {{encore_entry_link_tags('base_css')}} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% set route_name = app.request.get('_route') %} {% set route_params = app.request.get('_route_params') %} {% block header_in %}
{% set cheminIndex = path('admin_home') %} Butagaz
{% if app.user is not empty %} {% if is_granted('IS_AUTHENTICATED_FULLY') %} {% if not is_granted("ROLE_PERMANENCE_SECU") and not is_granted("ROLE_TT") and not is_granted("ROLE_PRESTATAIRE_TECHNIQUE_PRIUS_TOOLS") or is_granted("ROLE_ADMIN") or is_granted("ROLE_CTTPRIUS") or is_granted("ROLE_TECHNIQUE_BUTAGAZ") %} {{ "wbxuser.form.btn.account" | trans }} {% endif %} {{ "wbxuser.form.btn.logout" | trans }} {% else %} {{ "wbxuser.form.btn.signup" | trans }} {{ "wbxuser.form.btn.login" | trans }} {% endif %} {% endif %}
{% if locales is defined and locales | length > 1 %} {% set locale = app.request.locale %} {% endif %}
{% endblock %} {% block offcanvas_sidebar %} {% endblock %} {% block my_js %} {{ parent() }} {% endblock %}