{% set currentLocal = app.request.locale %} {% set countryUrl = getCountry(app.request.attributes.get('_country')) %} {% set currentCountry2 = getCountry(app.request.attributes.get('_country')) %} {# For autocomplete research #} {% set currentCountry = countryForAutocomplete(currentCountry2) %} {{ render(controller( 'FindMyDataBundle\\Controller\\MainController::displayHrefLang', { 'localWebsite': countryUrl, 'route' : app.request.attributes.get('_route'), 'rq' : app.request } )) }} {% block canonicalUrl %} {# Dans un block car pour les actualités c'est différents #} {{ render(controller( 'FindMyDataBundle\\Controller\\MainController::displayCanonicalUrl', { 'url' : app.request.uri, 'current' : app.request } )) }} {% endblock %} {% block meta %} {# Dans les metas car pour les pages de recherches c'est différents #} {{ render(controller( 'FindMyDataBundle\\Controller\\MainController::displayContent', { 'pageKey': app.session.get('meta') } )) }} {% endblock %} {% block add %} {% endblock %} {% set isProdMode = isProdMode() %} {% if isProdMode %}{% endif %} {% block stylesheets %}{% endblock %} {% set project_photographer = customParam('project_photographer') %} {% if isProdMode %} {% block GTM %} {% endblock %} {% endif %} {% set currentWebsite = getWebsiteId() %} {% set name_logo = customParam('name_logo') %}
{% set flashCls = { 'success' : 'success', 'error' : 'danger' } %} {% for label, messages in app.flashes(['success', 'error']) %} {% for message in messages %}
{{ message }}
{% endfor %} {% endfor %}
{% block body %}{% endblock %} {% block javascripts %}{% endblock %} {% if displayPopup is defined %} {{ render(controller( 'FindMyDataBundle\\Controller\\MainController::popupCallAction', {'url' : app.request.uri} )) }} {% endif %} {% if displayCookieBanner() %} {% endif %}