{% block meta_dynamic_seo %}
{% endblock %}
{# Google analytics code added in the app parameters #}
{% if services.getSetting('google_analytics_code') != "" and services.getSetting('google_analytics_code') is not null %}
{% endif %}
{{ encore_entry_link_tags('app') }}
{# i18n lang specific styles #}
{% if app.request.locale == "fr" %}
{{ encore_entry_link_tags('app.fr') }}
{% elseif app.request.locale == "ar" %}
{{ encore_entry_link_tags('app.ar') }}
{% elseif app.request.locale == "es" %}
{{ encore_entry_link_tags('app.es') }}
{% elseif app.request.locale == "de" %}
{{ encore_entry_link_tags('app.de') }}
{% elseif app.request.locale == "pt" %}
{{ encore_entry_link_tags('app.pt') }}
{% elseif app.request.locale == "it" %}
{{ encore_entry_link_tags('app.it') }}
{% elseif app.request.locale == "br" %}
{{ encore_entry_link_tags('app.br') }}
{% endif %}
{# Application theme #}
{{ encore_entry_link_tags('app.'~services.getSetting('app_theme')) }}
{% block stylesheets %}
{% endblock %}
{# Custom css code added in the app parameters #}
{% if services.getSetting('custom_css') != "" and services.getSetting('custom_css') is not null %}
{% endif %}
{% include "Global/header.html.twig" %}
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
{% include "Global/message.html.twig" with { type: 'info', icon: 'fas fa-info-circle', message: ('You are connected as "%username%'|trans({'%username%' : app.user.username})~ '", ' ~ 'Click here'|trans ~ ' ' ~ 'to return to your dashboard'|trans) } %}
{% endif %}
{% block content %}{% endblock %}
{% include "Global/footer.html.twig" %}
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
{% include "Global/dashboard-items-sidenav.html.twig" %}
{% endif %}
{{ encore_entry_script_tags('app') }}
{% block javascripts %}
{% endblock %}
{% for type, messages in app.flashes %}
{% for message in messages %}
{% endfor %}
{% endfor %}
{% if services.getSetting("show_back_to_top_button") == "yes" %}
{% endif %}