    <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->name !!}<small>&nbsp;&nbsp; - {!! $user->fonction !!}</small>
          </a>
          <div class="dropdown-menu dropdown-menu-sm dropdown-menu-right hide" style="left: inherit; right: 0px;">
              <a href="{!! route('logout') !!}" class="dropdown-item">
                <i class="fa fa-sign-out mr-1"></i> Se deconnecter
              </a>
              @if($user->hasRole('ADMINISTRATEUR') || $user->hasRole('ADMINISTRATEUR FONCTIONNEL') || ((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
          </div>

      </li>
    </ul>