templates/Slivki/mobile/breadcrumbs.html.twig line 1

Open in your IDE?
  1. <nav aria-label="breadcrumb">
  2.     <ol class="breadcrumb m-0 py-1 px-2 bg-white">
  3.         <li class="breadcrumb-item"><a href="{{ base_url }}">Главная</a></li>
  4.         {% for category in parentCategoryList %}
  5.             <li class="breadcrumb-item">
  6.                 <a href="{{ getCategoryURL(category) }}">
  7.                     {{ directorName is defined and directorName and loop.last ? directorName : category.getName() }}
  8.                     {% if showCityName is defined and loop.last and parentCategoryList[0].getCity() %}
  9.                         в {{ parentCategoryList[0].getCity().getNameLocative() }}
  10.                     {% endif %}
  11.                 </a>
  12.             </li>
  13.         {% endfor %}
  14.         {% if breadcrumbTitle is defined %}
  15.             <li class="breadcrumb-item text-muted">
  16.                 {{ breadcrumbTitle }}
  17.             </li>
  18.         {% elseif supplierCategoryData is defined and supplierCategoryData %}
  19.             <li class="breadcrumb-item">
  20.                 <a href="{{ supplierCategoryData.url }}">{{ supplierCategoryData.name }}</a>
  21.             </li>
  22.         {% endif %}
  23.     </ol>
  24. </nav>