{% load i18n %}
<span title='{{ text }}' class="list-group-item sidebar-list-group-item border-end-0 d-inline-block text-truncate bg-light" data-bs-parent="#sidebar">
    <h6>
        <i class="bi bi-bootstrap"></i>
        {% if icon %}<span class='sidebar-item-icon fas {{ icon }}'></span>{% endif %}
        {% if text %}<span class='sidebar-item-text' style='display: none;'>{{ text }}</span>{% endif %}
    </h6>
</span>