{% extends "base.html" %} {% load i18n %} {% load navigation_tags %} {% load authorization_tags %} {% block content %} {{ block.super }} {% load display_tags %} {% trans "First Name" as first_name %} {% trans "Last Name" as last_name %} {% trans "User Name" as user_name %} {% trans "Email" as email %} {% trans "Active" as active %} {% trans "Superuser" as superuser %}

{{ name }}

{% include "dojo/filter_snippet.html" with form=filtered.form %}
{% if users %}
{% include "dojo/paging_snippet.html" with page=users page_size=True %}
{% block users_table %} {% block users_table_header_row %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% block users_table_extra_header_rows %} {% endblock users_table_extra_header_rows %} {% endblock users_table_header_row %} {% block users_table_data_rows %} {% for u in users %} {% block users_table_extra_data_rows %} {% endblock users_table_extra_data_rows %} {% endfor %} {% endblock users_table_data_rows %}
{% dojo_sort request first_name 'first_name' %}{% dojo_sort request last_name 'last_name' %}{% dojo_sort request user_name 'username' 'asc' %}{% dojo_sort request email 'email' %} {% trans "Title" %} {% trans "Phone Number(s)" %}{% dojo_sort request active 'is_active' %}{% dojo_sort request superuser 'is_superuser' %} {% trans "Global Role" %} {% trans "Date Joined" %} {% trans "Last Login" %}
{{ u.first_name }} {{ u.last_name }} {{ u.username }} {{ u.email }} {% if u.usercontactinfo.title %} {{ u.usercontactinfo.title }} {% endif %} {% if u.usercontactinfo.phone_number %} {% trans "Phone:" %} {{ u.usercontactinfo.phone_number }} {% endif %} {% if u.usercontactinfo.phone_number and u.usercontactinfo.cell_number %}
{% endif %} {% if u.usercontactinfo.cell_number %} {% trans "Cell:" %} {{ u.usercontactinfo.cell_number }} {% endif %}
{% if u.is_active %} {% else %} {% endif %} {% if u.is_superuser %} {% else %} {% endif %} {% if u.global_role.role %} {{ u.global_role.role }} {% endif %} {{ u.date_joined }} {% if u.last_login %}{{ u.last_login }}{% else %}{% trans "Never" %}{% endif %}
{% endblock users_table %}
{% include "dojo/paging_snippet.html" with page=users page_size=True %}
{% else %}
{% trans "No Users" %}
{% endif %}
{% endblock %} {% block postscript %} {{ block.super }} {% include "dojo/filter_js_snippet.html" %} {% endblock %}