src/Aviatur/TwigBundle/Resources/views/octopus/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 type="text/javascript">
  9.         var formCruiseUrl = '{{ path('aviatur_form_cruiser_secure') }}';
  10.     </script>
  11. {% endblock %}
  12. {% block search_content %}
  13.    <div class="search__light wrapper">
  14.         <div class="search__light--box">
  15.             {#<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">
  16.                 Sin Iframes
  17.             </iframe>#}
  18.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Cruise/cruiseSearch_engine.html.twig') %}
  19.         </div>
  20.         {% if homePromos is defined and homePromos != null and home_slider == '1'%}
  21.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoSlider.html.twig') %}
  22.         {% endif %}
  23.     </div>
  24. {% endblock %}
  25. {% block promo_content %}
  26.     {% if homePromos is defined %}
  27.         {% if app.session.has('operatorId') != 1  %}
  28.             <div class="wrapper">
  29.                 {{ parent() }}
  30.                 {% if home_slider == '1'%}
  31.                 {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoBanner.html.twig') %}
  32.                 {% else %}
  33.                     {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromo.html.twig') %}
  34.                 {% endif %}
  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/Cruise/cruiseSearch_promo.html.twig') %}
  45.         </div>
  46.     {% endif %}
  47. {% endblock %}