<div class="top-menu">
    <ul class="nav navbar-nav pull-right">
        @if(!(auth()->user()->roleid == config('constants.ROLES.APODERADO')))
            <li class="dropdown dropdown-extended dropdown-inbox" id="header_notification_bar">
                <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
                    <i class="icon-bell"></i>
                    <span class="badge badge-default" id="notifications-bubble"></span>
                </a>
                <ul class="dropdown-menu">
                    <li class="external" id="notifications-status"></li>
                    <li>
                        <ul class="dropdown-menu-list scroller" style="height: 275px; width: auto; overflow: scroll; overflow-x: hidden;" data-handle-color="#637283" data-initialized="1" id="notifications-list"></ul>
                    </li>
                </ul>
            </li>
            <li class="dropdown dropdown-extended dropdown-inbox" id="header_inbox_bar">
                <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
                    <i class="icon-bubbles"></i>
                    <span class="badge badge-default" id="messages-bubble"></span>
                </a>
                <ul class="dropdown-menu">
                    <li class="external" id="messages-status"></li>
                    <li>
                        <ul class="dropdown-menu-list scroller" style="height: 275px; width: auto; overflow: scroll; overflow-x: hidden;" data-handle-color="#637283" data-initialized="1" id="messages-list"></ul>
                    </li>
                </ul>
            </li>
        @endif
        <li class="dropdown dropdown-user">
            <a href="{{ url('perfil') }}" 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>