{% load i18n %}
{% load wagtailadmin_tags %}

<li class="w-userbar__item wagtail-userbar__item {% block item_classes %}{% endblock %}" role="presentation">
    <a href="{{ url }}">
        {% if icon %}{% icon name=icon classname="w-action-icon" %}{% endif %}
        {% trans text %}
    </a>
</li>
