{% extends 'spire/navigation/accordion/nav_accordion.html' %}

{% block nav_title %}
    Settings
{% endblock %}

{% block nav_icon %}bi bi-gear-fill{% endblock %}

{% block accordion_content %}
    {% if perms.permission.view_portalgroup %}
        {% url 'permission:group_list' as group_list_url %}
        {% include 'spire/navigation/elements/nav_link.html' with link_text='Groups' link_icon='bi bi-people' url=group_list_url %}
    {% endif %}

    {% if perms.permission.view_portaluser %}
        {% url 'permission:user_list' as user_list_url %}
        {% include 'spire/navigation/elements/nav_link.html' with link_text='Users' link_icon='bi bi-person-badge' url=user_list_url %}
    {% endif %}
{% endblock %}
