{# account/index.html — the signed-in user's own account (milestone 490): who they are, the time zone every page writes its times in, their email (milestone 495) and a local account's password (milestone 497). One form, one Save. #} {% extends "base.html" %} {% from "_macros.html" import page_header, zone_select %} {% from "account/_email_choices.html" import email_section with context %} {% block title %}Your account — Steward{% endblock %} {% block content %} {{ page_header("Your account") }}

Signed in as {{ user.username }} ({{ user.role.value }}) with {{ source }} · times show in {{ zone_title }} ({{ zone_label }})

{% if error %} {% elif done %}
{{ done }}
{% endif %}
{{ csrf_field() }}

Time zone

{{ zone_select("time_zone", "acct-tz", zone_name, zones) }} Every page writes its times in this zone, on a 24-hour clock.
{{ email_section(user, defaults, "your time zone") }}

Password

{% if user.auth_source == "local" %}

Leave these empty to keep your password. A new one signs you out everywhere else you're signed in.

At least {{ min_password }} characters.
{% else %}

You sign in with {{ source }}, so your password is changed there, not in Steward.

{% endif %}
{% endblock %}