src/Aviatur/TwigBundle/Resources/views/aval/Flux/Search/Package/packageSearch_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 body_style %}
  3.     <style>
  4.         .page-head__bg__video.bg-vid_sunset{
  5.             top: 47% !important;
  6.         }
  7.     </style>
  8. {% endblock %}
  9. {% block search_content %}
  10.     <div class="wrapper" style="padding-top:50px; padding-bottom: 90px;">
  11.         <div class="">
  12.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Package/packageSearch_engine.html.twig') %}
  13.         </div>
  14.     </div>
  15. {% endblock %}
  16. {% block javascripts_bottom %}
  17.     <script>
  18.         jQuery(document).ready(function () {
  19.             utag.view({
  20.                 "tealium_event": "SCREEN_VIEW",
  21.                 "pagePath": location.pathname
  22.             });
  23.         });
  24.     </script>
  25. {% endblock javascripts_bottom %}
  26. {% block promo_content %}
  27.     {% if homePromos is defined %}
  28.         {% if app.session.has('officeId') != 1  %}
  29.             <div class="wrapper">
  30.                 {{ parent() }}
  31.                 {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromo.html.twig') %}
  32.             </div>
  33.         {% endif %}
  34.         {% 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') ) %}
  35.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/mainSearch_editModal.html.twig') %}
  36.         {% endif %}
  37.     {% endif %}
  38.     {% if app.session.has('officeId') != 1 and app.session.has('whitemark') != 1%}
  39.         <div class="wrapper">
  40.             {{ parent() }}
  41.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Package/packageSearch_promo.html.twig') %}
  42.         </div>
  43.     {% endif %}
  44. {% endblock %}