<!-- Toolbar-->
<div class="navbar-toolbar d-flex align-items-center order-lg-3">
{#
<button class="navbar-toggler px-0" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
#}
<div class="d-none d-xl-block me-3">
<div class="input-group">
<i class="ci-search position-absolute top-50 end-0 translate-middle-y text-muted me-3"></i>
<input class="form-control rounded-start input-suchbegriff ps-2" type="text" placeholder="Seminar suchen">
</div>
</div>
<a class="navbar-tool d-md-flex d-none d-md-block d-xl-none" href="javascript:void(0)"
data-bs-toggle="collapse" data-bs-target="#searchBox" role="button" aria-expanded="false"
aria-controls="searchBox">
<span class="navbar-tool-tooltip zindex-10">Suche</span>
<div class="navbar-tool-icon-box"><i class="navbar-tool-icon ci-search"></i></div>
</a>
<div class="favoriten-handy-navigation-link {% if is_granted('ROLE_MITGLIED') %}d-none{% endif %}">
<a class="navbar-tool d-none d-md-flex me-2"
href="{% if is_granted('ROLE_MITGLIED') %}{{ path ('user_profil_mein_profil_info', {seite:'favoriten'}) }}{% else %}{{ path ('user_gast_favoriten') }}{% endif %}">
<span class="navbar-tool-tooltip zindex-10">Favoriten</span>
<div class="navbar-tool-icon-box bg-secondary rounded-circle"><i class="navbar-tool-icon ci-heart"></i></div>
</a>
</div>
{% if not is_granted('ROLE_MITGLIED') %}
<a class="navbar-tool me-2 d-lg-flex" href="{{ path ('app_login') }}"><span class="navbar-tool-tooltip zindex-10">Login</span>
<div class="navbar-tool-icon-box bg-secondary"><i class="navbar-tool-icon ci-user"></i></div>
</a>
{% endif %}
{% if is_granted('ROLE_MITGLIED') %}
<div class="navbar-tool dropdown dropdown-click">
<a class="navbar-tool-icon-box dropdown-toggle bg-secondary" id="nav-oben-notification-user-glocke-warnung" href="#">
<span id="nav-oben-notification-user-glocke"
style="visibility: hidden"
class="navbar-tool-label">0</span>
<i class="navbar-tool-icon ci-bell"></i>
</a>
<div class="dropdown-menu dropdown-menu-end notification-dropdown">
<div style="min-width: 14rem;">
<span class="dropdown-header">
<b>Benachrichtigungen</b>
</span>
<div id="user-navigation-notification">
{#
Hier wird die Notification über Ajax eingebunden
#}
</div>
</div>
</div>
</div>
{% if is_granted('ROLE_CELSEO_MASTERADMIN') %}
<a class="navbar-tool ms-2" href="{{ path ('user_firma_projektmappe', {seite:'Projekte', projektId:0, aufgabeId:0, aufgabeUserId:0, terminId:0}) }}">
<span class="navbar-tool-tooltip zindex-10">Projektmappe</span>
<div class="navbar-tool-icon-box bg-secondary rounded-circle">
<span id="nav-oben-notification-stempeluhr" style="visibility: hidden" class="navbar-tool-label"><i class="mdi mdi-timer-sand"></i></span>
<span id="nav-oben-notification-projekte" style="visibility: hidden" class="navbar-tool-label"><i class="ci-bell"></i></span>
<i class="navbar-tool-icon mdi mdi-progress-wrench fs-4"></i>
</div>
</a>
{% endif %}
{% if app.user.firmenProfil.id is defined and not null %}
<div class="navbar-tool dropdown ms-2">
{% set firmenpfad = path ('user_firma',{id:0, seite:'info'}) %}
{% if app.user.firmenProfil.profilArt == 2 or app.user.firmenProfil.profilArt == 22 or app.user.firmenProfil.profilArt == 3 %}
{% set firmenpfad = path ('admin_firmenadmin_start') %}
{% endif %}
<a class="navbar-tool-icon-box border dropdown-toggle" href="{{ firmenpfad }}" style="overflow: hidden">
{% if app.user.firmenprofil.logoKlein|length > 0 %}
<img class="rounded-circle" src="{{ asset('uploads/firmen/logo/' ~ app.user.firmenprofil.id ~ '/'~ app.user.firmenprofil.logoKlein ) }}" alt="Firma">
{% else %}
{% if app.user.firmenprofil.logo|length > 0 %}
<img class="rounded-circle" src="{{ asset('uploads/firmen/logo/' ~ app.user.firmenprofil.id ~ '/'~ app.user.firmenprofil.logo ) }}" alt="Firma">
{% else %}
<i class="navbar-tool-icon mdi mdi-factory"></i>
{% endif %}
{% endif %}
</a>
{% if app.user.firmenProfil.profilArt == 2 or app.user.firmenProfil.profilArt == 22 or app.user.firmenProfil.profilArt == 3 %}
{% else %}
<div class="dropdown-menu dropdown-menu-end">
<div style="min-width: 14rem;">
<span class="dropdown-header"><b>{{ app.user.firmenProfil.firmenname }}</b></span>
<a class="dropdown-item d-flex align-items-center" href="{{ path ('user_firma',{id:0, seite:'info'}) }}">
<i class="ci-briefcase opacity-60 me-2"></i>Firmenintern
</a>
{% if is_granted('ROLE_FIRMA_ADMIN') %}
{% if is_granted('ROLE_CELSEO_MASTERADMIN') %}
<a class="dropdown-item d-flex align-items-center" href="{{ path ('admin_start') }}">
<i class="mdi mdi-security opacity-60 me-2"></i>Adminbereich
</a>
{% else %}
<a class="dropdown-item d-flex align-items-center" href="{{ path ('admin_firmenadmin_start') }}">
<i class="mdi mdi-security opacity-60 me-2"></i>Adminbereich
</a>
{% endif %}
{% endif %}
{% if app.user.firmenProfil != null and app.request.server.get('WEB_UMGEBUNG') != 'WEB' %}
<div class="dropdown-divider"></div>
<span class="dropdown-header"><b>CELSEO Intranet Login</b></span>
<div id="admin-celseo-intranet-zugang">
</div>
<a class="dropdown-item d-flex align-items-center"
href="{{ path ('user_profil_mein_profil_info', {seite:'intranet'}) }}">
<i class="ci-server opacity-60 me-2"></i>Intranet Verbindung verwalten
</a>
{% endif %}
</div>
</div>
{% endif %}
</div>
{% endif %}
<div class="navbar-tool dropdown ms-2">
<a class="navbar-tool-icon-box border dropdown-toggle" href="{{ path ('user_profil_mein_profil_info', {seite:'dashboard'}) }}">
<span id="freigabe-celseo-support-symbol"
style="visibility: {% if app.user.userProfil.celseoSupportFreigabe == null %}hidden{% else %}visible{% endif %}"
class="navbar-tool-label bg-primary"><i class="ms-1 ci-earphones me-2"></i></span>
{% if app.user.userProfil.profilbild|length > 0 %}
<img class="rounded-circle" src="{{ path('user_profilbild') }}?profilbild={{ app.user.userProfil.profilbild }}" alt="Profil">
{% else %}
<img class="rounded-circle" src="{{ asset('img/campus/kein_user.png') }}" alt="Profil">
{% endif %}
</a>
<div class="dropdown-menu dropdown-menu-end">
<div style="min-width: 14rem;">
<span class="dropdown-header">
<b>Account</b>
<br><span class="small">
{% if app.user.userProfil.nachname|length > 0 %}
{{ app.user.userProfil.vorname ~ ' ' ~ app.user.userProfil.nachname }}
{% else %}
{{ app.user.email }}
{% endif %}
</span>
</span>
<a class="dropdown-item d-flex align-items-center" href="{{ path ('user_profil_mein_profil_info', {seite:'termine'}) }}">
<i class="mdi mdi-calendar-month-outline opacity-60 me-2"></i>Schulungstermine
</a>
<a class="dropdown-item d-flex align-items-center" href="{{ path ('user_profil_mein_profil_info', {seite:'ondemand'}) }}">
<i class="ci-video opacity-60 me-2"></i>On-Demand Videos
</a>
<a class="dropdown-item d-flex align-items-center" href="{{ path ('user_profil_mein_profil_info', {seite:'buchungen'}) }}">
<i class="ci-bag opacity-60 me-2"></i>Buchungen
</a>
{% if app.user.interneSchulungenZertifikate is defined and app.user.interneSchulungenZertifikate|length > 0 %}
<a class="dropdown-item d-flex align-items-center" href="{{ path ('user_profil_mein_profil_info', {seite:'zertifikate'}) }}">
<i class="ci-document opacity-60 me-2"></i>
Zertifikate
</a>
{% endif %}
<a class="dropdown-item d-flex align-items-center" href="{{ path ('user_profil_mein_profil_info', {seite:'favoriten'}) }}">
<i class="ci-heart opacity-60 me-2"></i>
Favoriten
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item d-flex align-items-center" href="{{ path ('user_profil_mein_profil_info', {seite:'bearbeiten'}) }}"><i
class="ci-user opacity-60 me-2"></i>Profil</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item d-flex align-items-center" href="{{ path ('app_logout') }}"><i class="ci-sign-out opacity-60 me-2"></i>Logout</a>
</div>
</div>
</div>
<div class="dropdown-menu dropdown-menu-end">
<div style="min-width: 14rem;">
</div>
</div>
<div class="warenkorb-navigation-link d-none">
<div class="navbar-tool dropdown ms-2 d-none d-md-flex">
<a class="navbar-tool-icon-box bg-secondary dropdown-toggle" href="{{ path ('user_profil_mein_profil_info', {seite:'warenkorb'}) }}">
<span id="warenkorb-navigation-anzahl"
class="navbar-tool-label "
style="visibility: hidden">0
</span>
<i class="navbar-tool-icon ci-cart"></i>
</a>
<!-- Cart dropdown-->
<div class="dropdown-menu dropdown-menu-end">
<div class="widget widget-cart px-3 pt-2 pb-3" style="width: 30rem;">
<div id="user-navigation-warenkorb">
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if is_granted('ROLE_CELSEO_MASTERADMIN') %}
<a class="navbar-tool ms-2 d-md-flex d-none d-md-block" href="{{ path ('faq_index') }}">
<span class="navbar-tool-tooltip zindex-10">FAQ (nur CELSEO)</span>
<div class="navbar-tool-icon-box bg-secondary rounded-circle"><i class="navbar-tool-icon mdi mdi-help"></i></div>
</a>
{% endif %}
<button class="navbar-toggler px-0 ms-3 button-mobiles-menu" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
</div>