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

Edit user — {{ user.username }}

Created {{ user.created_at.strftime('%Y-%m-%d') if user.created_at }} · Last login {{ user.last_login.strftime('%Y-%m-%d %H:%M') if user.last_login else 'never' }} · {{ user.login_count or 0 }} logins

Back
{% if ratio %}
File ratio
Uploaded: {{ '%.1f'|format(ratio.bytes_uploaded / 1048576) }} MB ({{ ratio.files_uploaded }} files) · Downloaded: {{ '%.1f'|format(ratio.bytes_downloaded / 1048576) }} MB ({{ ratio.files_downloaded }} files)
{% endif %}
{% if custom_fields_list %}
Custom Profile Fields
{% for f in custom_fields_list %}
{% set val = custom_values.get(f.id, '') %} {% if f.field_type == 'textarea' %} {% elif f.field_type == 'select' %} {% set choices = f.choices | from_json if f.choices else [] %} {% else %} {% endif %}
{% endfor %}
{% endif %}
Feature Access Flags

Check a box to suspend that feature for this user.

{% for key, label in [ ('no_echomail', 'Echomail (read + post + QWK REP)'), ('no_mrc', 'MRC Chat'), ('no_irc', 'IRC'), ('no_games', 'Games & Doors'), ('no_qwk', 'QWK Downloads'), ('no_files', 'File Downloads'), ] %}
{% endfor %}
{% if flags_dict.values() | list | select | list %}
This user has one or more features suspended.
{% endif %}
Sysop notes ({{ notes | length }})
{% endblock %}