src/Aviatur/TwigBundle/Resources/views/aval/Flux/Search/Cruise/cruiseSearch_index.html.twig line 1

Open in your IDE?
  1. {% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/search_index.html.twig') %}
  2. {% set home_slider = '1' %}
  3. {% block head_meta_label %}
  4.     {{parent()}}
  5.     <meta name="robots" content="index, follow">
  6. {% endblock head_meta_label %}
  7. {% block javascripts %}
  8.     <script>
  9.         jQuery(document).ready(function () {
  10.             utag.view({
  11.                 "tealium_event": "SCREEN_VIEW",
  12.                 "pagePath": location.pathname
  13.             });
  14.         });
  15.     </script>
  16.     <script type="text/javascript">
  17.         var formCruiseUrl = '{{ path('aviatur_form_cruiser_secure') }}';
  18.     </script>
  19. {% endblock %}
  20. {% block search_content %}
  21.     <div class="wrapper">
  22.         <div class="">
  23.             {#<iframe id="blockrandom" name="" src="http://plugandplay.istinfor.com/accessN.asp?AgId=000310952" width="850" height="800" scrolling="auto" align="top" frameborder="0" class="wrapper">
  24.                 Sin Iframes
  25.             </iframe>#}
  26.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Cruise/cruiseSearch_engine.html.twig') %}
  27.         </div>
  28.     </div>
  29. {% endblock %}
  30. {% block promo_content %}
  31.     {% if homePromos is defined and homePromos!=null and home_slider=='1'%}
  32.         {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoHtmlSlider.html.twig') with {'homePromos': homePromos, 'titlePromo':titlePromo, 'subtitlePromo':subtitlePromo, 'promoType': promoType}%}
  33.     {% endif %}
  34.     {% if homePromosMain is defined and homePromosMain!=null %}
  35.         {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoHtmlSlider.html.twig') with {'homePromos': homePromosMain, 'titlePromo':titlePromoMain, 'subtitlePromo':subtitlePromoMain, 'promoType':promoTypeMain, 'background':'#eee'} %}
  36.     {% endif %}
  37.     {% if homePromosRecommendations is defined and homePromosRecommendations!=null %}
  38.         {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/recommended-home.html.twig') with {'homePromos': homePromosRecommendations, 'titlePromo':titlePromoRecommendations, 'subtitlePromo': subtitlePromoRecommendations, 'promoType':promoTypeRecommendations} %}
  39.     {% endif %}
  40.     {% if homePromos is defined %}
  41.         <div class="wrapper">
  42.             {{ parent() }}
  43.             {# {% if home_slider=='1'%}
  44.                      {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoBanner.html.twig') %}
  45.                  {% else %}
  46.                       {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromo.html.twig') %}
  47.                  {% endif %}#}
  48.             {% if homePromos is defined and home_slider!='1'%}
  49.                 {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromo.html.twig') %}
  50.             {% endif %}
  51.         </div>
  52.         {% 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') ) %}
  53.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/mainSearch_editModal.html.twig') %}
  54.         {% endif %}
  55.     {% endif %}
  56.     {% if app.session.has('whitemark') != 1%}
  57.         <div class="wrapper">
  58.             {{ parent() }}
  59.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Cruise/cruiseSearch_promo.html.twig') %}
  60.         </div>
  61.     {% endif %}
  62. {% endblock %}