{% extends 'base.html' %} {% from '_ui.html' import flags as flag_chips, csrf_field, copy_field %} {% block content %}

Users

{% if user.online %}{% endif %}

{{ user.username }}

{{ user.email }}{% if user.uin %} ยท UIN {{ user.uin }}{% endif %}

{{ flag_chips(user) }}

status
{% if user.online %}{{ user.status | lower }}, {{ user.sessions }} session{{ 's' if user.sessions != 1 else '' }}{% if programs %} ({{ programs | join(', ') }}){% endif %}{% else %}signed out{% endif %}
joined
{{ user.date_created | when }}
last signed in
{{ user.date_login | when }}
UUID
{{ user.uuid }}
{% if user.suspended %}

suspended{% if user.suspended_at %} {{ user.suspended_at | ago }}{% endif %}

{% if user.deleted_at is none or suspended_days is none %}

{% if user.suspended_at %}Since {{ user.suspended_at | when }}. {% endif %}Suspended accounts are kept on this server.

{% elif user.suspended_at %}

Since {{ user.suspended_at | when }}. The account is deleted {{ user.deleted_at | until }} ({{ user.deleted_at | when }}), {{ suspended_days }} days after it was suspended, unless it's unsuspended before then.

{% else %}

It was suspended before azul kept the date, so it's deleted at the next hourly check, unless it's unsuspended first.

{% endif %}
{% endif %} {% if reveal and reveal.kind == 'password' %}

temporary password for {{ reveal['for'] }}

Give it to them however you can reach them. It won't be shown again, and they should change it once they're in.

{{ copy_field('tempPasswordValue', reveal.value, 'Temporary password') }}
{% endif %}

account

{{ csrf_field(csrf) }}
{% for key, label, desc in flags %} {% if key == 'is_admin' and is_self and user[key] %}{% endif %} {% endfor %}

alert

{{ csrf_field(csrf) }}
**bold**, *italic*, and a blank line for a new paragraph: Messenger 6 and later show them, the rest get the words.
{% if email_available %}
{% endif %} {% if not user.online %}

{{ user.username }} isn't signed in{% if email_available %}, so only an e-mail copy would reach them{% else %}, and the website isn't linked to e-mail it{% endif %}.

{% endif %}

sessions

{% if sessions %}
    {% for s in sessions %}
  • {{ program_names.get(s.client.program, s.client.program) }} {{ s.client.version }} {{ s.status | lower }} via {{ s.client.via }}
    {{ csrf_field(csrf) }}
  • {% endfor %}
{{ csrf_field(csrf) }}
{% else %}

Not signed in anywhere.

{% endif %}

password

{{ csrf_field(csrf) }}
Keep working in {% for flag, name in legacy_clients %}
{% endfor %}
{{ csrf_field(csrf) }}
{{ csrf_field(csrf) }}
{% if not reset_available %}

The website isn't linked right now, so it can't send the e-mail.

{% endif %}

delete this account

{% if is_self %}

You can't delete your own account from the admin panel.

{% else %}

Removes {{ user.username }} for good: their contacts, CrossTalk Beacon posts, reactions and comments go too, and circles they ran pass to the next administrator or member. It can't be undone.

{{ csrf_field(csrf) }}
{% endif %}
{% endblock %}