{% extends "base.html" %} {% load navigation_tags %} {% load authorization_tags %} {% block content %} {{ block.super }} {% load display_tags %}
{% 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' %} | {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %}{% dojo_sort request 'Last Login' 'last_login'%} | {% 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' %} |
---|---|---|---|---|---|---|
{{ u.first_name }} | {{ u.last_name }} | {{ u.username }} | {{ u.email }} | {{ u.last_login }} | {% if u.is_active %} {% else %} {% endif %} | {% if u.is_superuser %} {% else %} {% endif %} |