{% extends base_template %} {% load i18n avatar %} {% block card %} {% comment %} Render into the ``card`` slot — works under ``conjunto/app_base.html`` (which exposes ``card`` as the inner content slot) AND under medux's ``common/administration.html`` (where ``card`` lands inside the 2-column admin pane on the right). {% endcomment %}

{% if view.icon %}{% endif %}{% trans "Users" %}

{% if users %}
{% for u in users %} {% endfor %}
{% trans "User" %} {% trans "Name" %} {% trans "Email" %} {% trans "Roles" %}
{% avatar u size="xs" extra_classes="me-2" %} {{ u.username }} {% if u.is_superuser %} {% trans "Superuser" %} {% endif %} {% if not u.is_active %} {% trans "Inactive" %} {% endif %}
{{ u.get_full_name|default:"—" }} {{ u.email|default:"—" }} {% for role in u.current_roles %} {{ role }} {% empty %} {% trans "No roles" %} {% endfor %}
{% if not u.is_superuser %} {% endif %}
{% else %}

{% trans "No users" %}

{% trans "No users are currently members of this tenant." %}

{% endif %}
{% endblock %}