{% extends "server/base.html" %} {% import "server/icons.html" as icons %} {% import "server/avatar.html" as people %} {% block title %}{{ t.text("server.settings") }}{% endblock %} {# a part opened on a narrow screen is named on top, with the way back to the directory #} {% block back %}{% if view == "part" %}/ui/settings/{% endif %}{% endblock %} {% block heading %}{% if view == "part" %}{{ t.text("server.settings") }}{{ t.text(part.title) }}{% else %}{{ t.text("server.settings") }}{% endif %}{% endblock %} {% block body %}
{{ people.avatar(account) }}
{{ account.name }}{% if account.admin %}{{ t.text("server.admin") }}{% endif %}
{% if groups %} {% endif %} {# a plain form: the login module answers it whatever build drew this page #}
{% if part %} {# the directory keeps its own address; only an opened part carries the part's #} {% else %}

{{ t.text("server.settings.empty") }}

{% endif %}
{% endblock %}