{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #} {% trans_default_domain ea.i18n.translationDomain %} {% block head_metas %} {% endblock head_metas %} {% block page_title %}{{ block('content_title')|striptags|raw }}{% endblock %} {# {% block head_stylesheets %} {% endblock %} #} {% block configured_stylesheets %} {% for css_asset in ea.assets.cssFiles ?? [] %} {% endfor %} {% for webpack_encore_entry in ea.assets.webpackEncoreEntries ?? [] %} {{ ea_call_function_if_exists('encore_entry_link_tags', webpack_encore_entry) }} {% endfor %} {% endblock %} {% block head_favicon %} {% endblock %} {# {% block head_javascript %} {% endblock head_javascript %} #} {% block configured_javascripts %} {% for js_asset in ea.assets.jsFiles ?? [] %} {% endfor %} {% for webpack_encore_entry in ea.assets.webpackEncoreEntries ?? [] %} {{ ea_call_function_if_exists('encore_entry_script_tags', webpack_encore_entry) }} {% endfor %} {% endblock %} {# {% if 'rtl' == ea.i18n.textDirection %} {% endif %} #} {% block configured_head_contents %} {% for htmlContent in ea.assets.headContents ?? [] %} {{ htmlContent|raw }} {% endfor %} {% endblock %} {% block body %} {% block javascript_page_layout %} {% endblock javascript_page_layout %} {% block wrapper_wrapper %} {% block flash_messages %} {{ include(ea.templatePath('flash_messages')) }} {% endblock flash_messages %}
{% block wrapper %} {#
{% block header %} {% set _user_menu_content %}

{{ 'user.logged_in_as'|trans(domain = 'EasyAdminBundle') }}

{{ ea.user is null ? 'user.anonymous'|trans(domain = 'EasyAdminBundle') : ea.userMenu.name }}

{% block user_menu %} {% if ea.userMenu.items|length > 0 %}
{% for item in ea.userMenu.items %} {% if item.isMenuSection %}
{% else %} {% if item.icon is not empty %}{% endif %} {{ item.label }} {% endif %} {% endfor %}
{% endif %} {% endblock user_menu %} {% endset %} {% endblock header %}
#}
{% block content %} {% block content_header_wrapper %}
{% endblock %}
{% block main %}{% endblock %}
{% block content_footer_wrapper %} {% set content_footer = block('content_footer') is defined ? block('content_footer') : '' %} {% if content_footer is not empty %} {% endif %} {% endblock %} {% endblock %}
{% endblock wrapper %}
{% endblock wrapper_wrapper %} {% block body_javascript %}{% endblock body_javascript %} {% block configured_body_contents %} {% for htmlContent in ea.assets.bodyContents ?? [] %} {{ htmlContent|raw }} {% endfor %} {% endblock %} {% endblock body %}