custom/plugins/IabTheme/src/Resources/views/storefront/layout/navigation/flyout-item.html.twig line 1

Open in your IDE?
  1. {% block layout_navigation_flyout_item %}
  2.     <div class="text-uppercase border-bottom pb-3 d-flex">
  3.         <a class="mr-auto {% if navigationTree.id == page.header.navigation.active.id or navigationTree.id in activePath %} active{% endif %}"
  4.                 href="{{ category_url(navigationTree.category) }}"
  5.                 itemprop="url"
  6.                 title="{{ navigationTree.category.translated.name }}">
  7.             {{ navigationTree.category.translated.name }}
  8.         </a>
  9.     </div>
  10.     {% for item in navigationTree.children %}
  11.         {% set category = item.category %}
  12.         {% set name = category.translated.name %}
  13.         <div class="pt-2 d-flex">
  14.             <a class="mr-auto {% if category.id == page.header.navigation.active.id or category.id in activePath %} active{% endif %}"
  15.                    href="{{ category_url(category) }}"
  16.                    itemprop="url"
  17.                    title="{{ name }}">
  18.                 {{ name }}
  19.             </a>
  20.             <span>
  21.                 {% sw_icon 'arrow-right' style {
  22.                     'color': 'primary',
  23.                     'pack':'solid'
  24.                 } %}
  25.             </span>
  26.         </div>
  27.     {% endfor %}
  28. {% endblock %}