templates/front/base/header/corporate/header_desktop.html.twig line 1

Open in your IDE?
  1. {% set isCorporate = false %}
  2. {% if routeName is defined and routeName == 'homepage' %}
  3.     {% set isCorporate = true %}
  4. {% endif %}
  5. <header class="header header-desktop header-desktop--corporate {% if isCorporate %}home-corporative{% endif %}">
  6.     {% include 'front/base/header/general/desktop/old_elements.html.twig' %}
  7.     <div class="ui container header-desktop--container">
  8.         <div class="ui primary menu fixed border">
  9.             {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
  10.                 {% include 'front/base/header/impersonate_alert.html.twig' with {isCorporate: true} %}
  11.             {% endif %}
  12.             <div class="menu-background menu-background-corporate"></div>
  13.             {% include 'front/base/header/general/desktop/header.html.twig' %}
  14.             {% if parameters_menu is defined and parameters_menu.id and  parameters_menu.parent_id and parameters_menu.visibility %}
  15.                 {% include 'front/base/subheader.html.twig' %}
  16.             {% endif %}
  17.         </div>
  18.     </div>
  19. </header>