{% extends 'settings/layout.html' %} {% load i18n %} {% load utilities %} {% block title %}{% trans "Users" %}{% endblock %} {% block header %} {% if server %} {% blocktrans with instance_name=server.server_name %}Users: {{ instance_name }}{% endblocktrans %} Clear filters {% else %} {% trans "Users" %} {% endif %} {% endblock %} {% block panel %} {% include 'settings/users/user_admin_filters.html' %}
{% trans "Username" as text %} {% include 'snippets/table-sort-header.html' with field="username" sort=sort text=text %} | {% trans "Date Added" as text %} {% include 'snippets/table-sort-header.html' with field="created_date" sort=sort text=text %} | {% trans "Last Active" as text %} {% include 'snippets/table-sort-header.html' with field="last_active_date" sort=sort text=text %} | {% trans "Status" as text %} {% include 'snippets/table-sort-header.html' with field="is_active" sort=sort text=text %} | {% if status != "local" %}{% trans "Remote instance" as text %} {% include 'snippets/table-sort-header.html' with field="federated_server__server_name" sort=sort text=text %} | {% endif %}
---|---|---|---|---|
{{ user|username }} | {{ user.created_date }} | {{ user.last_active_date }} | {% if user.is_active %} ({{ user.get_deactivation_reason_display }}) {% endif %} | {% if status != "local" %} {% trans "Active" %} {% else %} {% trans "Inactive" %}{% if user.federated_server %} {{ user.federated_server.server_name }} {% else %} {% trans "Not set" %} {% endif %} | {% endif %}