src/Aviatur/TwigBundle/Resources/views/aval/Flux/Search/Hotel/hotelSearch_index.html.twig line 1

Open in your IDE?
  1. {% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/search_index.html.twig') %}
  2. {% block search_content %}
  3.     <div class="wrapper">
  4.         <div>
  5.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Hotel/hotelSearch_engine.html.twig') %}
  6.         </div>
  7.     </div>
  8. {% endblock %}
  9. {% block javascripts %}
  10.     <script>
  11.         jQuery(document).ready(function () {
  12.             utag.view({
  13.                 "tealium_event": "SCREEN_VIEW",
  14.                 "pagePath": location.pathname
  15.             });
  16.         });
  17.     </script>
  18.     {#PIXELES INFORMATION#}
  19.     {% if pixel_info.partner_datalayer is defined and app.session.has('whitemark') != 1 %}
  20.         {% set pixel_info_search = pixel_info.partner_datalayer %}
  21.     {% endif %}
  22.     {#{% if pixel_info.dataxpand is defined %}
  23.         {% set pixel_info_dataxpand = pixel_info.dataxpand %}
  24.     {% endif %}#}
  25.     {% if pixel_info.facebook is defined %}
  26.         {% set pixel_info_facebook = pixel_info.facebook %}
  27.     {% endif %}
  28. {% endblock %}
  29. {% block promo_content %}
  30.     {% if homePromos is defined %}
  31.         {#        {% if app.session.has('operatorId') != 1  %}#}
  32.         <div class="wrapper">
  33.             {{ parent() }}
  34.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromo.html.twig') %}
  35.         </div>
  36.         {#        {% endif %}#}
  37.         {% 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') ) %}
  38.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/mainSearch_editModal.html.twig') %}
  39.         {% endif %}
  40.     {% endif %}
  41.     {% if app.session.has('operatorId') != 1 and app.session.has('whitemark') != 1%}
  42.         <div class="wrapper">
  43.             {{ parent() }}
  44.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Hotel/hotelSearch_promo.html.twig') %}
  45.         </div>
  46.     {% endif %}
  47. {% endblock %}