vendor/kevinpapst/adminlte-bundle/Resources/views/Breadcrumb/breadcrumb.html.twig line 1

Open in your IDE?
  1. {% if active is not defined or adminlte_direct_include is defined %}
  2.     {% set active = adminlte_breadcrumbs(app.request) %}
  3. {% endif %}
  4. {% if active is defined and active is not null %}
  5. <ol class="breadcrumb">
  6.     <li>
  7.         <a href="{{ path('adminlte_welcome'|route_alias) }}">
  8.             <i class="fas fa-tachometer-alt"></i>
  9.             {{ 'Home'|trans({}, 'AdminLTEBundle') }}
  10.         </a>
  11.     </li>
  12.     {% if active %}
  13.         {% for item in active %}
  14.             <li><a href="{{ item.route is empty ? '#' : '/' in item.route ? item.route : path(item.route|route_alias, item.routeArgs) }}">{{ item.label|trans }}</a></li>
  15.         {% endfor %}
  16.     {% endif %}
  17. </ol>
  18. {% endif %}