{% extends 'mtp_common/user_admin/base.html' %}
{% load i18n %}
{% load mtp_common %}
{% block page_title %}{{ page_title }} – {{ block.super }}{% endblock %}
{% block admin_content %}
{{ page_title }}
{% trans 'Add, view, edit or disable user accounts.' %} {% trans 'When you disable a user account, that user will be unable to log in.' %}
{% if form.cleaned_data.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 'Name' %} | {% trans 'Email' %} | {% trans 'Requested' %} | {% trans 'Actions' %} |
---|---|---|---|
{{ account_request.first_name }} {{ account_request.last_name }} | {{ account_request.email }} | {{ account_request.created|date:'d/m/Y' }} | {% trans 'Manage' %} |
{% trans 'Name' %} | {% trans 'Email' %} | {% trans 'Can manage accounts' %} | {% trans 'Actions' %} | |
---|---|---|---|---|
{{ user.first_name }} {{ user.last_name }} | {{ user.email }} | {% if user.user_admin %}{% trans 'User can manage other accounts' %} | {% else %}{% 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 %} |
{% trans 'No users found' %} |
{% blocktrans trimmed count count=form.cleaned_data.user_count %} {{ count }} user {% plural %} {{ count }} users {% endblocktrans %}