{% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/search_index.html.twig') %}
{% block search_content %}
<div class="wrapper">
<div>
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Hotel/hotelSearch_engine.html.twig') %}
</div>
</div>
{% endblock %}
{% block javascripts %}
<script>
jQuery(document).ready(function () {
utag.view({
"tealium_event": "SCREEN_VIEW",
"pagePath": location.pathname
});
});
</script>
{#PIXELES INFORMATION#}
{% if pixel_info.partner_datalayer is defined and app.session.has('whitemark') != 1 %}
{% set pixel_info_search = pixel_info.partner_datalayer %}
{% endif %}
{#{% if pixel_info.dataxpand is defined %}
{% set pixel_info_dataxpand = pixel_info.dataxpand %}
{% endif %}#}
{% if pixel_info.facebook is defined %}
{% set pixel_info_facebook = pixel_info.facebook %}
{% endif %}
{% endblock %}
{% block promo_content %}
{% if homePromos is defined %}
{# {% if app.session.has('operatorId') != 1 %}#}
<div class="wrapper">
{{ parent() }}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromo.html.twig') %}
</div>
{# {% endif %}#}
{% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_' ~ app.session.get('agencyId')) or is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_CREATE_' ~ app.session.get('agencyId')) or is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_DELETE_' ~ app.session.get('agencyId')) or is_granted('ROLE_SUPER_ADMIN') ) %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/mainSearch_editModal.html.twig') %}
{% endif %}
{% endif %}
{% if app.session.has('operatorId') != 1 and app.session.has('whitemark') != 1%}
<div class="wrapper">
{{ parent() }}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Hotel/hotelSearch_promo.html.twig') %}
</div>
{% endif %}
{% endblock %}