Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- {% extends '@LcSov/adminlte/layout.html.twig' %}
-
- {% block navbar_header %}
- {{ parent() }}
-
- {% set section_current = section_current() %}
- {% set is_display_switch_section = display_switch_section is defined and display_switch_section %}
-
- <nav class="carac navbar navbar-expand navbar-light main-header{% if is_display_switch_section %} display-section-switch {{ section_container.solver.getHtmlClass(section_current()) }}{% endif %}">
-
- {% if is_display_switch_section %}
- <ul class="navbar-nav left">
- <li class="nav-item d-none d-sm-inline-block">
- {{ _self.form_switch_section(null) }}
- </li>
- {% for section in carac_sections() %}
- <li class="nav-item d-none d-sm-inline-block">
- {{ _self.form_switch_section(section) }}
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- <ul class="navbar-nav ml-auto right">
- <li class="nav-item nav-switch-merchant">
- <i class="fa fa-store"></i>
- {% set form_switch_merchant = carac_form_switch_merchant('admin') %}
- {% form_theme form_switch_merchant '@LcSov/adminlte/crud/form_theme.html.twig' %}
- {{ form_start(form_switch_merchant) }}
- {{ form(form_switch_merchant) }}
- {{ form_end(form_switch_merchant) }}
- </li>
- </ul>
- </nav>
- {% endblock %}
-
- {% block reminders %}
- {% if params_reminders_null != params_reminders %}
- {% set reminders = sov_reminders(params_reminders) %}
- {% include '@LcSov/admin/reminder/block.html.twig' %}
- {% endif %}
- {% endblock %}
-
- {% block append_body %}
- {# modal switch merchant #}
- {% set user = app.user %}
- {% set merchant_current = merchant_current() %}
-
- {% 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 %}
-
- {% macro form_switch_section(section) %}
- {% set form_switch_section = carac_form_switch_section(section) %}
- {% form_theme form_switch_section '@LcSov/adminlte/crud/form_theme.html.twig' %}
- {{ form_start(form_switch_section) }}
- {{ form(form_switch_section) }}
- {{ form_end(form_switch_section) }}
- {% endmacro %}
|