{% 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 %}
{% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} | {% dojo_sort request first_name 'first_name' %} | {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %}{% dojo_sort request last_name 'last_name' %} | {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %}{% dojo_sort request user_name 'username' 'asc' %} | {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %}{% dojo_sort request email 'email' %} | {% trans "Title" %} | {% trans "Phone Number(s)" %} | {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %}{% dojo_sort request active 'is_active' %} | {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %}{% dojo_sort request superuser 'is_superuser' %} | {% trans "Global Role" %} | {% trans "Date Joined" %} | {% trans "Last Login" %} | {% block users_table_extra_header_rows %} {% endblock users_table_extra_header_rows %}
---|---|---|---|---|---|---|---|---|---|---|---|
{{ 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 %} | {% block users_table_extra_data_rows %} {% endblock users_table_extra_data_rows %}