{% extends "base.html" %} {% load url from future %} {% load i18n %} {% block content %} {% if delete %}
{% blocktrans %} Deleting this user will remove any associated auditlogs, maybe deactivate their account instead? {% endblocktrans %}
{% endif %}

{% trans "User" %}: {{ viewuser.username }}

{% if not LDAP_ENABLED %}
{% if delete %}
{% csrf_token %}
{% else %} {% trans "Edit" %} {% if hastoken %}{% trans "Disable Two Factor" %}{% endif %} {% trans "Delete" %} {% endif %}

{% else %} {% if hastoken %}Disable Two Factor{% endif %} {% endif %}
{% trans "Email" %}{{ viewuser.email }}
{% trans "Groups" %}{% for g in viewuser.groups.all %}{{ g.name }}, {% endfor %}
{% if not delete %} {% include "credaudit_list.html" with type='cred' %} {% endif %} {% endblock %}