{% 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' %}
{% url 'settings-users' as url %} {% if status == "federated" %} {% endif %} {% for user in users %} {% if status == "federated" %} {% endif %} {% endfor %}
{% 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 instance" as text %} {% include 'snippets/table-sort-header.html' with field="federated_server__server_name" sort=sort text=text %}
{% include 'snippets/avatar.html' with user=user %} {{ user|username }} {{ user.created_date }} {{ user.last_active_date }} {% include "snippets/user_active_tag.html" with user=user %} {% if user.federated_server %} {{ user.federated_server.server_name }} {% else %} {% trans "Not set" %} {% endif %}
{% include 'snippets/pagination.html' with page=users path=request.path %} {% endblock %}