{% extends "admin/base.html" %} {% block title %}User: {{ user.username }}{% endblock %} {% block content %}

Storage Usage

Used {{ user.used_storage_bytes | format_bytes }}
Quota {{ user.storage_quota_bytes | format_bytes }}
{{ "%.1f" | format(usage_percent) }}% used

Account Status

Status {% if user.is_active %} Active {% else %} Inactive {% endif %}
Role {% if user.is_superuser %} Administrator {% else %} User {% endif %}
2FA {% if user.is_2fa_enabled %} Enabled {% else %} Disabled {% endif %}
Plan {{ user.plan_type }}

Edit User

Cancel
{% if invoices %}

Recent Invoices

View All
{% for invoice in invoices %} {% endfor %}
Invoice # Period Total Status
{{ invoice.invoice_number }} {{ invoice.period_start.strftime('%Y-%m-%d') }} - {{ invoice.period_end.strftime('%Y-%m-%d') }} {{ invoice.total | format_currency }} {% if invoice.status == 'paid' %} Paid {% elif invoice.status == 'open' %} Open {% else %} {{ invoice.status }} {% endif %}
{% endif %}

Danger Zone

Deleting a user is permanent and cannot be undone. All files and data associated with this user will be lost.

{% endblock %}