{% extends '@LcSov/adminlte/layout.html.twig' %} {% block navbar_header %} {{ parent() }} {% set section_current = section_resolver.getCurrent() %} {% set is_display_switch_section = display_switch_section is defined and display_switch_section %} {% endblock %} {% block reminders %} {% set reminders = carac_reminders(params_reminders) %} {% include '@LcSov/admin/reminder/block.html.twig' %} {% endblock %} {% block append_body %} {# modal switch merchant #} {% set user = app.user %} {% set merchant_current = merchant_resolver.getCurrent() %} {% if(user.favoriteMerchant != merchant_current) %} {# modal affichée uniquement si la sessionStorage.visit_merchant n'est pas défini (js) #} {% include '@LcCaracole/admin/merchant/modal/switch_merchant.html.twig' %} {% endif %} {% endblock %}