{% extends 'generic/object.html' %} {% load i18n %} {% load helpers %} {% load render_table from django_tables2 %} {% block title %}{% trans "User" %} {{ object.username }}{% endblock %} {% block subtitle %}{% endblock %} {% block content %}
{% trans "User" %}
{% trans "Username" %} {{ object.username }}
{% trans "Full Name" %} {{ object.get_full_name|placeholder }}
{% trans "Email" %} {{ object.email|placeholder }}
{% trans "Account Created" %} {{ object.date_joined|annotated_date }}
{% trans "Active" %} {% checkmark object.is_active %}
{% trans "Staff" %} {% checkmark object.is_staff %}
{% trans "Superuser" %} {% checkmark object.is_superuser %}
{% trans "Assigned Groups" %}
{% for group in object.groups.all %} {{ group }} {% empty %}
{% trans "None" %}
{% endfor %}
{% trans "Assigned Permissions" %}
{% for perm in object.object_permissions.all %} {{ perm }} {% empty %}
{% trans "None" %}
{% endfor %}
{% if perms.extras.view_objectchange %}
{% trans "Recent Activity" %}
{% render_table changelog_table 'inc/table.html' %}
{% endif %} {% endblock %}