templates/admin/partial/sous_top_menu.html.twig line 7

Open in your IDE?
  1. <div class="sous-top-menu main-header">
  2.     <div class="col-lg-6 main_header_titel">
  3.         {% if header_titel is defined and header_titel %}
  4.             <h4 class="header-titel-text">{{header_titel}}</h4>
  5.         {% endif %}
  6.     </div>
  7.     {% if is_granted('ROLE_ADMIN') or app.request.attributes.get('_route') in  ['edit_client_user_front' , 'edit_client_front' , 'edit_project','show_project_devis','project_factures' ,'show_project_livrables','project_documents','admin_projects_access']%}
  8.         <div class="col-lg-6">
  9.             {% if breadcumb is defined and breadcumb %}
  10.                 <nav aria-label="breadcrumb" class="breadcrumb-nav">
  11.                     <ol class="breadcrumb">
  12.                         {% for item in breadcumb %}
  13.                             <li class="breadcrumb-item{% if loop.last %} breadcrumb-item-active{% endif %}">
  14.                                 {% if not loop.last %}
  15.                                     <a href="{{ item.url }}" title="{{ item.name }}">{{ item.name }}</a>
  16.                                 {% else %}
  17.                                     {{ item.name }}
  18.                                 {% endif %}
  19.                             </li>
  20.                             {% if not loop.last %}
  21.                                 <li class="breadcrumb-separator" aria-hidden="true">></li>
  22.                             {% endif %}
  23.                         {% endfor %}
  24.                     </ol>
  25.                 </nav>
  26.             {% endif %}
  27.         </div>
  28.     {% endif %}
  29. </div>