templates/nav/user_navigation_links.html.twig line 1

Open in your IDE?
  1. {#
  2. #}
  3. <div class="collapse navbar-collapse me-auto order-lg-2 mobil-hauptmenu" id="navbarCollapse">
  4.     <!-- Search-->
  5.     <div class="input-group d-md-none my-3"><i class="ci-search position-absolute top-50 start-0 translate-middle-y text-muted fs-base ms-3"></i>
  6.         {% include('/nav/user_navigation_suche.html.twig') %}
  7.     </div>
  8.     <div id="user-navbar-link-seminare">
  9.         <ul class="navbar-nav">
  10.             <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown" data-bs-auto-close="outside">Seminare<b><i class="mdi mdi-menu-down"></i></b></a>
  11.                 <ul class="dropdown-menu">
  12.                     <li class="dropdown">
  13.                         <div class="spinner-border m-3" style="width: 1.5rem; height: 1.5rem;" role="status">
  14.                             <span class="visually-hidden">Loading...</span>
  15.                         </div>
  16.                     </li>
  17.                 </ul>
  18.             </li>
  19.         </ul>
  20.     </div>
  21.     <!-- Primary menu-->
  22.     <ul class="navbar-nav">
  23.         {#
  24.         <li class="nav-item d-lg-none">
  25.             <a class="nav-link" href="{{ path ('user_konfigurator_auswahl') }}">Stärkenkompass</a>
  26.         </li>
  27. #}
  28.         {% if is_granted('ROLE_FIRMA') %}
  29.         <li class="nav-item">
  30.             <a class="nav-link" href="{{ path ('user_lieferanten') }}">Lieferanten</a>
  31.         </li>
  32.         {% endif %}
  33.         {% if app.user.firmenProfil.id is defined and not null %}
  34.             {% if app.user.firmenProfil.profilArt == 1 or app.user.firmenProfil.profilArt == 99 %}
  35.                 <li class="nav-item"><a class="nav-link" href="{{ path ('user_firma',{id:0, seite:'info'}) }}">Firmenintern</a></li>
  36.             {% endif %}
  37.         {% endif %}
  38.         {% if is_granted('ROLE_CELSEO_MASTERADMIN') %}
  39.         <li class="nav-item">
  40.             <a class="nav-link d-md-none" href="{{ path ('faq_index') }}">
  41.                 FAQ
  42.             </a>
  43.         </li>
  44.         {% endif %}
  45.         {% if is_granted("IS_IMPERSONATOR") %}
  46.             <li class="nav-item">
  47.                 <a class="nav-link" href="{{ path ('admin_start') }}?_switch_user=_exit">
  48.                     <span class="nav-item text-danger fw-bolder">Fremdaccount</span>
  49.                     <i class="mdi mdi-exit-to-app"></i>
  50.                 </a>
  51.             </li>
  52.         {% endif %}
  53.     </ul>
  54. </div>