    <ul class="navbar-nav ml-auto">
        <!-- Notifications Dropdown Menu -->
      <li class="nav-item dropdown show">
          <a class="nav-link" data-toggle="dropdown" href="#" >
               <i class="fa fa-user"></i>
                &nbsp;{!! $user->NomComplet !!}<small>&nbsp;&nbsp; - {!! $user->getRoleNames()->first() !!}</small>
          </a>
          <div class="dropdown-menu dropdown-menu-sm dropdown-menu-right hide" style="left: inherit; right: 0px;">

              <a class="dropdown-item" href="{{ route('logout') }}"
                 onclick="event.preventDefault();
                               document.getElementById('logout-form').submit();">Se deconnecter
              </a>
              @if($user->hasRole('ADMINISTRATEUR') || $user->hasRole('ADMINISTRATEUR FONCTIONNEL') || $user->hasRole('DANE')
                || ((isset($origine_user)&&($origine_user->id!=$user->id)) ))
                  <div class="dropdown-divider"></div>
                  <a href="{{ url('change_profil') }}" class="dropdown-item">
                    <i class="fa fa-users mr-1"></i> Changer de profil
                  </a>
              @endif
              <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                  @csrf
              </form>
          </div>

      </li>
    </ul>