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