custom/plugins/ASE_eCommerce_v1/src/Resources/views/storefront/layout/header/service-bar.html.twig line 1

Open in your IDE?
  1. {% block layout_header_service_bar %}
  2. <section class="section-nav top-level d-none d-md-block">
  3. <div class="container">
  4.     <div class="section-inner row">
  5.         <nav class="navbar navbar-expand justify-content-start col-2 col-md-4 text-left py-0">
  6.             <ul class="navbar-nav switcher" role="menubar" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
  7.                 <li class="nav-item">
  8.                     <a class="nav-link{% if context.salesChannel.id == '4e25057bf37e49f0b3dfb7071d5875b4' %} active{% endif %}" rel="noopener" href="{{ 'asetheme.channel.private.link'|trans }}" title="{{ 'asetheme.channel.private.long'|trans|striptags|sw_sanitize }}">
  9.                         <i class="material-icons">home</i>
  10.                         <span>{{ 'asetheme.channel.private.long'|trans|sw_sanitize }}</span>
  11.                     </a>
  12.                 </li>
  13.                 <li class="nav-item">
  14.                     <a class="nav-link{% if context.salesChannel.id == '35d164dce41848a6868eefbfba919e62' %} active{% endif %}" rel="noopener" href="{{ 'asetheme.channel.business.link'|trans }}" title="{{ 'asetheme.channel.business.long'|trans|striptags|sw_sanitize }}">
  15.                         <i class="material-icons">business</i>
  16.                         <span>{{ 'asetheme.channel.business.long'|trans|sw_sanitize }}</span>
  17.                     </a>
  18.                 </li>
  19.             </ul>
  20.         </nav>
  21.         
  22.         <nav class="navbar navbar-expand justify-content-end col-10 col-md-8 text-right py-0">
  23.             <ul class="navbar-nav" role="menubar" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
  24.                 <li class="nav-item">
  25.                     <a class="nav-link" rel="noopener" href="{{ 'asetheme.top.page.link'|trans }}" title="{{ 'asetheme.top.page.text'|trans|striptags|sw_sanitize }}">{{ 'asetheme.top.page.text'|trans|sw_sanitize }}</a>
  26.                 </li>
  27.                 <li class="nav-item">
  28.                     <a class="nav-link" rel="noopener" href="{{ 'asetheme.top.blog.link'|trans }}" title="{{ 'asetheme.top.blog.text'|trans|striptags|sw_sanitize }}">{{ 'asetheme.top.blog.text'|trans|sw_sanitize }}</a>
  29.                 </li>
  30.                 <li class="nav-item">
  31.                     <a class="nav-link" rel="noopener" href="{{ 'asetheme.top.company.link'|trans }}" title="{{ 'asetheme.top.company.text'|trans|striptags|sw_sanitize }}">{{ 'asetheme.top.company.text'|trans|sw_sanitize }}</a>
  32.                 </li>
  33.                 <li class="nav-item">
  34.                     <a class="nav-link{% if page.cmsPage.id == '3d9d11be8318433b965172bcd95e1834' %} active{% endif %}" rel="noopener" href="{{ 'asetheme.top.help.link'|trans }}" title="{{ 'asetheme.top.help.text'|trans|striptags|sw_sanitize }}">{{ 'asetheme.top.help.text'|trans|sw_sanitize }}</a>
  35.                 </li>
  36.                 <li class="nav-item">
  37.                     <a class="nav-link{% if page.cmsPage.id == 'db8bdabc17114d51b837cb403e8e3cd3' %} active{% endif %}" rel="noopener" href="{{ 'asetheme.top.contact.link'|trans }}" title="{{ 'asetheme.top.contact.text'|trans|striptags|sw_sanitize }}">{{ 'asetheme.top.contact.text'|trans|sw_sanitize }}</a>
  38.                 </li>
  39.                 
  40.                 {% if context.customer %}
  41.                     <li class="nav-item">
  42.                         <a class="nav-link{% if activeRoute == 'frontend.account.home.page' %} active{% endif %}" rel="noopener" href="{{ path('frontend.account.home.page') }}" title="{{ "account.myAccount"|trans|striptags|sw_sanitize }}">
  43.                             {{ "account.myAccount"|trans|sw_sanitize }}
  44.                         </a>
  45.                     </li>
  46.                 {% endif %}
  47.                 
  48.                 {% if not context.customer %}
  49.                     <li class="nav-item login">
  50.                         <a class="nav-link{% if activeRoute == 'frontend.account.login.page' %} active{% endif %}" href="{{ path('frontend.account.login.page') }}" title="{{ "account.loginSubmit"|trans|striptags|sw_sanitize }}">
  51.                             <i class="material-icons">person</i> {{ "account.loginSubmit"|trans|sw_sanitize }}
  52.                         </a>
  53.                     </li>
  54.                 {% else %}
  55.                     <li class="nav-item login">
  56.                         <a class="nav-link loggedin" href="{{ path('frontend.account.logout.page') }}" title="{{ "account.logout"|trans|striptags }}" data-container="body" data-toggle="popover" data-placement="bottom" data-html="true" data-trigger="hover" data-content="{{ "account.loggedInAs"|trans|sw_sanitize }} <strong>{{ context.customer.firstName }} {{ context.customer.lastName }} {% if context.customer.company %}({{ context.customer.company }}){% endif %}</strong>">
  57.                             <i class="material-icons">exit_to_app</i> {{ "account.logout"|trans|sw_sanitize }}
  58.                         </a>
  59.                     </li>
  60.                 {% endif %}
  61.                 
  62.             </ul>
  63.         </nav>
  64.     </div>
  65. </div>
  66. </section>
  67. {% endblock %}