{# Google analytics code added in the app parameters #} {% if envFileAccessor.getSetting('google_analytics_code') != "" and envFileAccessor.getSetting('google_analytics_code') is not null %} {% endif %} {% block title %}{% endblock %} | {{ envFileAccessor.getSetting("website_name") }} {% set appLayoutSettings = repository.getAppLayoutSettings() %} {% block meta_dynamic_seo %} {% endblock %} {% block importmap %}{{ importmap('app') }}{% endblock %} {# Application theme #} {% block stylesheets %} {% endblock %} {# Custom css code added in the app parameters #} {% if envFileAccessor.getSetting('custom_css') != "" and envFileAccessor.getSetting('custom_css') is not null %} {% endif %} {% include "Global/header.html.twig" %} {% if is_granted('IS_IMPERSONATOR') %} {% include "Global/message.html.twig" with { type: 'info', icon: 'fas fa-info-circle', message: ('You are connected as "%email%'|trans({'%email%' : app.user.email})~ '", ' ~ '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 %} {% block javascripts %} {% endblock %} {% for type, messages in app.flashes %} {% for message in messages %}
{% endfor %} {% endfor %} {% if envFileAccessor.getSetting("show_back_to_top_button") == "1" %} {% endif %}