{% block head_stylesheets %} {% endblock %} {% block head_custom_stylesheets %} {% for css_asset in easyadmin_config('design.assets.css') %} {% endfor %} {% endblock head_custom_stylesheets %} {% if easyadmin_config('design.brand_color') != 'hsl(230, 55%, 60%)' %} {% endif %} {% block head_favicon %} {% set favicon = easyadmin_config('design.assets.favicon') %} {% endblock %} {% block head_javascript %} {% endblock head_javascript %} {% if easyadmin_config('design.rtl') %} {% endif %} {% block body %} {% block wrapper_wrapper %}
{% block wrapper %}
{% block header %}
{% if is_granted('ROLE_ADMIN') %}
{% else %} {% if current_merchant %} {{ current_merchant.title }} {% endif %} {% endif %}
{% set _user_name = easyadmin_read_property(app.user, easyadmin_config('user.name_property_path'))|default('user.unnamed'|trans(domain = 'EasyAdminBundle')) %} {% set _logout_path = easyadmin_logout_path() %} {% set _user_has_logout = _logout_path is not empty %} {% set _user_is_impersonated = is_granted('ROLE_PREVIOUS_ADMIN') %} {% set _user_menu_content %}

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

{% if app.user|default(false) == false %} {{ 'user.anonymous'|trans(domain = 'EasyAdminBundle') }} {% else %} {{ _user_name }} {% endif %}

{% block user_menu %} {% if _user_has_logout or _user_is_impersonated %}
{% if _user_has_logout %} {{ 'user.signout'|trans(domain = 'EasyAdminBundle') }} {% endif %} {% if _user_is_impersonated %} {{ 'user.exit_impersonation'|trans(domain = 'EasyAdminBundle') }} {% endif %}
{% endif %} {% endblock user_menu %} {% endset %} {% endblock header %}
{% block flash_messages %} {{ include(_entity_config is defined ? _entity_config.templates.flash_messages : '@EasyAdmin/default/flash_messages.html.twig') }} {% endblock flash_messages %} {% block content %}
{% block content_header_wrapper %} {% set _has_content_help = _entity_config is defined and _entity_config[app.request.query.get('action')]['help']|default(false) %}
{% block content_header %}

{% block content_title %}{% endblock %}

{% block global_actions_wrapper %}
{% block global_actions %}{% endblock %}
{% endblock %}
{% block content_help %} {% if _entity_config is defined and _entity_config[app.request.query.get('action')]['help']|default(false) %}
{{ _entity_config[app.request.query.get('action')]['help']|trans(domain = _entity_config.translation_domain)|raw }}
{% endif %} {% endblock content_help %} {% endblock content_header %}
{% endblock content_header_wrapper %}
{% block main %}{% endblock %}
{% block content_footer_wrapper %} {% endblock %}
{% endblock content %}
{% endblock wrapper %}
{% endblock wrapper_wrapper %} {% block body_javascript %}{% endblock body_javascript %} {% block body_custom_javascript %} {% for js_asset in easyadmin_config('design.assets.js') %} {% endfor %} {% endblock body_custom_javascript %} {% endblock body %}