{% extends "server/base.html" %}
{% import "server/icons.html" as icons %}
{# a part opened on a narrow screen leads back to the directory #}
{% block root %}{% if view == "part" %} data-back="/settings"{% endif %}{% endblock %}
{% block title %}{{ t.text("server.settings") }}{% endblock %}
{% block body %}
{{ account.name[:1] | upper }}
{{ account.name }}{% if account.admin %}{{ t.text("server.admin") }}{% endif %}
{% if groups %}
{% endif %}
{% if part %}
{# the directory keeps its own address; only an opened part carries the part's #}
{% else %}