{% extends "admin/master.html" %} {% block title %}profile{% endblock %} {% block main %}

{{ _("Profile") }}

{{ _("Account Overview") }}
{% if current_user.profile %} {% if current_user.profile.name %} {% endif %} {% if current_user.profile.display_name %} {% endif %} {% endif %}
{{ _("User ID") }} {{ current_user.id }}
{{ _("Account Name") }} {{ current_user.username }}
{{ _("Name") }} {{ current_user.profile.name }}
{{ _("Display Name") }} {{ current_user.profile.display_name }}
{{ _("Email Address") }} {{ current_user.email or _("Not set") }}
{{ _("Email Status") }} {{ _("Verified") if current_user.email_verified else _("Pending") }}
{{ _("Phone Number") }} {{ current_user.phone_number or _("Not set") }}
{{ _("Phone Status") }} {{ _("Verified") if current_user.phone_verified else _("Pending") }}
{{ _("Change Email") }}

{{ _("Account Security") }}

{% if not current_user.email_verified and current_user.email %}
{{ resend_form.csrf_token }} {{ resend_form.submit(class_="btn btn-sm btn-outline-warning") }}
{% endif %} {{ _("Change Password") }}

{{ _("Two-Factor Authentication") }}

{{ _("Status") }}: {{ _("Enabled") if current_user.tfa_enabled else _("Disabled") }}

{% endblock %}