{% extends 'mtp_common/user_admin/base.html' %}
{% load i18n %}
{% load mtp_common %}
{% block page_title %}{% trans 'Manage user accounts' %} – {{ block.super }}{% endblock %}
{% block admin_header %}
{% trans 'Manage user accounts' %}
{% trans 'Add, view, edit or disable user accounts.' %} {% trans 'When you disable a user account, that user will be unable to log in.' %}
{% if locked_users_exist %}{% trans 'If a user enters a wrong password too many times, they are locked out for a short period.' %} {% trans 'You can allow them to log in now by clicking ‘Unlock’.' %}
{% endif %}{% trans 'Username' %} | {% trans 'Name' %} | {% trans 'Email' %} | {% trans 'Can manage accounts' %} | {% trans 'Actions' %} |
---|---|---|---|---|
{{ user.username }} | {{ user.first_name }} {{ user.last_name }} | {{ user.email }} | {% if user.user_admin %} ✔ {% trans 'User can manage other accounts' %} {% endif %} | {% trans 'Edit' %} {% if can_delete and request.user.username.lower != user.username.lower %} {% if not user.is_active %} {% trans 'Enable' %} {% elif user.is_locked_out %} {% trans 'Unlock' %} {% else %} {% trans 'Disable' %} {% endif %} {% endif %} |