{% extends "base.html" %} {% block title %}{{ target.username }} — {{ library_name() }}{% endblock %} {% block content %}

{{ target.username }}

{{ target.role.name }}{% if not target.is_active %} — Inactive{% endif %}

{% if message %}

{{ message }}

{% endif %} {% if error %}

{{ error }}

{% endif %}
{% if target.email %}
Email
{{ target.email }}
{% endif %}
Role
{% if target.is_active %}
{% else %} {{ target.role.name }} {% endif %}
Status
{% if target.is_active %} Active
{% else %} Inactive
{% endif %}
Patron record
{% if patron %} {{ patron.full_name }} ({{ patron.library_card_number }}) {% if target.is_active %}
{% endif %} {% elif target.is_active and unlinked_patrons %}
Create a new patron record
{% elif target.is_active %}
Create a patron record
{% else %} None {% endif %}
{% if target.is_active and target.username != user.username %}
Reset password

Set a new password for {{ target.username }}. Requires your own current password to authorize. Tell the user their new password out of band; they should change it themselves via /ui/me/password afterwards.

{% endif %} {% endblock %}