<div class="dropdown-content-footer">
    @if($text) <a href="{{ $url }}" class="text-white mr-auto">{{ $text }}</a> @endif
    @if($icon && !$text)
            <a href="{{ $url }}" class="text-muted w-100" data-popup="tooltip" title="" data-original-title="{{ $tooltipText }}">
                <i class="{{ $icon }} d-block top-0"></i>
            </a>
    @endif
    <div>