<nav class="admin">
    <ul>
        {% if frontend_link is not empty %}
            <li>
                <a href="{{ frontend_link }}" target="_blank">
                    <i class="icon-eye"></i>
                    <span class="hidden-xs">{{ 'menu.to_frontend'|trans({}, 'backend') }}</span>
                </a>
            </li>
        {% endif %}
        <li>
            <a href="{{ path('fos_user_security_logout') }}">
                <i class="icon-logout"></i>
                {{ 'manage_profile.logout'|trans({}, 'backend') }}
            </a>
        </li>
    </ul>
</nav>
