{% extends "base.html" %} {% from "_macros.html" import icon, model_avatar %} {% block title %}{{ t("Your settings") }} - {{ brand.name }}{% endblock %} {% block head %} {% endblock %} {% block body_attrs %} data-authenticated="true"{{ ' data-settings-embed' if settings_embed }}{% endblock %} {% block body %} {# The same page twice. As a page it has the shell -- the sidebar and the topbar -- and in the settings window (ui.js, desktop widths) it is the content of a frame inside a dialog that has its own title and close button, so the shell is left out and nothing else changes: every form, tab and redirect below is the one the page has always had. `settings_embed` is decided in pages.py; `data-settings-embed` on the body is what ui.js reads in the frame. #}
{% endblock %}