{% extends 'settings/admin_layout.html' %} {% load i18n %} {% block title %}{% trans "Users" %}{% endblock %} {% block header %} {% if server %} {% blocktrans with server_name=server.server_name %}Users: {{ server_name }}{% endblocktrans %} Clear filters {% else %} {% trans "Users" %} {% endif %} {% endblock %} {% block panel %} {% include 'settings/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 %} | {% trans "Remote server" as text %} {% include 'snippets/table-sort-header.html' with field="federated_server__server_name" sort=sort text=text %} |
---|---|---|---|---|
{{ user.username }} | {{ user.created_date }} | {{ user.last_active_date }} | {% if user.is_active %}{% trans "Active" %}{% else %}{% trans "Inactive" %}{% endif %} | {% if user.federated_server %} {{ user.federated_server.server_name }} {% elif not user.local %} {% trans "Not set" %} {% endif %} |