{# templates/account/index.html.twig #} {% extends 'base.html.twig' %} {% block title %} {% if tab == 'import' %}{{ 'app.import.tab'|trans }}{% elseif tab == 'account' %}{{ 'app.account.page_title_account'|trans }}{% else %}{{ 'app.account.page_title_user'|trans }}{% endif %} {% endblock %} {% block body %}

{% if tab == 'import' %}{{ 'app.import.tab'|trans }}{% elseif tab == 'account' %}{{ 'app.account.page_title_account'|trans }}{% else %}{{ 'app.account.page_title_user'|trans }}{% endif %}

{% if isAdmin %} {% endif %}
{# ── Import-Tab (nur Admin) ────────────────────────────────────────── #} {% if tab == 'import' and isAdmin %} {% else %} {# ── Besitzer des Accounts (nur Admin, Account-Tab) ─────────────────── #} {% if tab == 'account' and isAdmin %} {% endif %} {% endif %}{# Ende Import-else #}
{% endblock %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('account') }} {% endblock %}