{% extends "base.html" %} {% block title %}{{ subject.display_name }}{% endblock %} {% block crumb %}{{ subject.display_name }}{% endblock %} {% block content %}

{{ subject.display_name }}

{{ subject.username }} {% if !subject.has_login() %} ยท {{ layout.t("users.no_login") }}{% endif %}

{{ layout.t("users.master_data") }}

{{ layout.t("users.defaults_title") }}

{{ layout.t("users.defaults_hint") }}

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

{{ layout.t("common.password") }}

{% if !subject.has_login() %}

{{ layout.t("users.no_login_hint") }}

{% endif %}
{% endif %}

{{ layout.t("users.chips") }}

{% if chips.is_empty() %}

{{ layout.t("emp.no_chips") }} {{ layout.t("emp.chips_hint_pre") }} {{ layout.t("nav.chips") }} {{ layout.t("emp.chips_hint_post") }}

{% else %} {% for c in chips %} {% endfor %}
idTag {{ layout.t("common.label") }} {{ layout.t("common.active") }} {{ layout.t("common.expiry") }}
{{ c.id_tag }} {{ c.label.as_deref().unwrap_or("โ€“") }} {% if c.enabled != 0 %}{{ layout.t("common.yes") }}{% else %}{{ layout.t("common.no") }}{% endif %} {{ c.expires_at.as_deref().unwrap_or("โ€“") }}
{% endif %}

{{ layout.t("emp.recent") }}

{% for t in recent_tx %} {% endfor %} {% if recent_tx.is_empty() %} {% endif %}
{{ layout.t("common.start") }} {{ layout.t("common.end") }} {{ layout.t("common.wallbox") }} idTag {{ layout.t("common.energy_kwh") }}
{{ t.start_time }} {{ t.stop_time.as_deref().unwrap_or(layout.t("common.running")) }} {{ t.wallbox }} {{ t.id_tag }} {{ t.energy_wh / 1000 }}
{{ layout.t("emp.no_sessions") }}

โ† {{ layout.t("common.back") }}

{% endblock %}