<div class="top-menu">
    <ul class="nav navbar-nav pull-right">
        <li class="dropdown dropdown-user">
            <a href="#" class="dropdown-toggle" title="Ver perfil">
                @if(!empty(Auth::user()))
                    <span class="username username-hide-on-mobile">{{ Auth::user()->full_name }}</span>
                    <span class="username role username-hide-on-mobile"> {{ Auth::user()->role }} </span>
                @endif
            </a>
        </li>
        <li class="dropdown dropdown-logout">
            <a href="{{url('logout')}}" class="dropdown-toggle">
                <i class="icon-logout" style=""></i>
            </a>
        </li>
    </ul>
</div>