src/Aviatur/TwigBundle/Resources/views/octopus/Flux/App/front.html.twig line 95

Open in your IDE?
  1. {% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/App/base.html.twig') %}
  2. {# head #}
  3. {% block head_title %}{% if seo_title is defined %}{{seo_title}}{% else %}Tiquetes baratos, hoteles y paquetes turísticos en línea {% endif %}{% endblock head_title %}
  4. {% block head_description_content %}{% if seo_description is defined %}{{seo_description}}{% else %}Agencia de viajes en línea en Colombia! Reserva vuelos, hoteles, autos, cruceros y paquetes.{% endif %}{% endblock head_description_content %}
  5. {% block head_meta_title %}{% if seo_meta_title is defined %}{{seo_meta_title}}{% endif %}{% endblock head_meta_title %}
  6. {% block head_keywords %}{% if seo_keywords is defined %}{{seo_keywords}}{% endif %}{% endblock head_keywords %}
  7. {% if is_mobile() %}
  8.     {% block head_viewport %}
  9.         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
  10.         <link rel="apple-touch-icon" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-iphone.png')) }}">
  11.         <link rel="apple-touch-icon" sizes="76x76" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-ipad.png')) }}">
  12.         <link rel="apple-touch-icon" sizes="120x120" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-iphone-retina.png')) }}">
  13.         <link rel="apple-touch-icon" sizes="152x152" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-ipad-retina.png')) }}">
  14.         <link rel="apple-touch-icon" sizes="180x180" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-iphone-plus-retina.png')) }}">
  15.     {% endblock head_viewport %}
  16. {% endif %}
  17. {% block stylesheets %}
  18.     <link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/common_assets/css/vendor/owl-carousel/owl.carousel.css')) }}"/>
  19.     <link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/common_assets/css/vendor/owl-carousel/owl.theme.css')) }}"/>
  20.     {{ parent() }}
  21. {% endblock stylesheets %}
  22. {# END head #}
  23. {% block base_content %}
  24.     <!--[if (!IE)|(gt IE 8)]><!-->
  25.     {% if app.session.has('operatorId') != 1 and pdfGenerator is not defined %}
  26.         {% block header %}
  27.             {% set headerPromoStart = app.session.get('headerPromoStart')|date('U') %}
  28.             {% set headerPromoEnd = app.session.get('headerPromoEnd')|date('U') %}
  29.             {% set linkHeader = path('homepage') %}
  30.             {% set colorImage = "" %}
  31.             {% set classMainNav = "" %}
  32.             {% set imgType = '_background_default' %}
  33.             {# {% set videoType = 'NO_VID' %} #}
  34.             {% if background_home is defined %}
  35.                 {% if background_home.active == 'true' %}
  36.                     {% set videoType = 'NO_VID' %}
  37.                     {% set imgType = background_home.name %}
  38.                 {% endif %}
  39.             {% else %}
  40.                 {% set videoType = 'NO_VID' %}
  41.                 {% set imgType = '_background_default' %}
  42.             {% endif %}
  43.             <header class="page-head">
  44.                 {% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_' ~ app.session.get('agencyId')) or is_granted('ROLE_SUPER_ADMIN') ) %}
  45.                     {% if background_home is defined %}
  46.                         <div class="page-head-edit-background"><a href="#" class="js-ajax-homechange" data-toggle="modal" data-target="#js-promo-editModal">Editar</a></div>
  47.                     {% endif %}
  48.                 {% endif %}
  49.                 <div class="page-head__bg-container hidden-palm">
  50.                     {% if videoType is not defined %}
  51.                         {% set curHour = 'now'|localizeddate("medium", "none", null, null, "Hmm") %}
  52.                         {% if curHour >= '500' and curHour < '900' %}
  53.                             {% set videoType = '-day' %}
  54.                         {% elseif curHour >= '900' and curHour < '1300' %}
  55.                             {% set videoType = '-day' %}
  56.                         {% elseif curHour >= '1300' and curHour < '1700' %}
  57.                             {% set videoType = '-day' %}
  58.                         {% elseif curHour >= '1700' and curHour < '2100' %}
  59.                             {% set videoType = '-day' %}
  60.                         {% else %}
  61.                             {% set videoType = '-day' %}
  62.                         {% endif %}
  63.                     {% endif %}
  64.                     {% if videoType != 'NO_VID' %}
  65.                         {% block headerVideo %}
  66.                         {% endblock headerVideo %}
  67.                         <div class="page-head__bg__img bg-img{{ videoType }} js-headerImg"></div>
  68.                     {% else %}
  69.                         {# <div class="page-head__bg__img bg-img{{ imgType }} js-headerImg"></div> #}
  70.                     <div class="page-head__bg__img bg-img-day js-headerImg" style="background-image: url('https://aviatursym.com/version/7/assets/common_assets/img/header/cover.jpg');background-size: cover;"></div>
  71.                     {% endif %}
  72.                 </div>
  73.                 {% include twig_exists('@AviaturTwig/'~ agency_folder.twigStyle() ~'/App/header.html.twig') %}
  74.                 {% block searcher_header %}
  75.                 {% endblock %}
  76.             </header>
  77.         {% endblock %}
  78.     {% else %}
  79.         <section></section>
  80.         {% endif %}
  81.     <div class="page__body js-page-body-toggle pt-[17px]{% if 'aviatur_general_homepage' in app.request.get('_route') %}hidden-palm{% endif %}">
  82.         {# <div class="ajax-loader spinOverlay sp-offset--big js-loadingChangeCoin spiner-none"></div> #}
  83.         {% block body %}
  84.         {% endblock body %}
  85.     </div>
  86.     {% if app.session.has('operatorId') != 1 and app.session.has('whitemark') != 1 and pdfGenerator is not defined %}
  87.         {% block footer %}
  88.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigStyle() ~'/App/footer.html.twig') %}
  89.         {% endblock footer %}
  90.     {% endif %}
  91.     {% block modal %}
  92.         {{ parent()}}
  93.         {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Components/callUsModal.html.twig') %}
  94.         {% if app.session.get('agencyId') == 216 or app.session.get('agencyId') == 217 or app.session.get('agencyId') == 56 %}
  95.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Templates/modalLoginAgent.html.twig') with {'redirectLogin': path('aviatur_customer_edit_info')} %}
  96.         {% else %}
  97.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Templates/modalLogin.html.twig') with {'redirectLogin': path('aviatur_customer_edit_info')} %}
  98.         {% endif %}
  99.     {% endblock modal %}
  100.     <!-- <![endif]-->
  101.     <!--[if lte IE 8]>
  102.     <body style="background-color: #009BF8;">
  103.         <table style="width:600px; table-layout: fixed; margin: auto; background-color: #ffffff; margin-top: 50px;">
  104.             <tbody>
  105.                 <tr>
  106.                     <td colspan="2" style="text-align: center; padding-top: 25px;">
  107.                         <img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/octopuslogp.png')) }}" alt="AVIATUR.COM" />
  108.                     </td>
  109.                 </tr>
  110.                 <tr>
  111.                     <td colspan="2" style="text-align: center; font-size: 20px; padding-top: 15px; font-weight: bold;">
  112.                         Bienvenido!
  113.                     </td>
  114.                 </tr>
  115.                 <tr>
  116.                     <td colspan="2" style="text-align: center; padding-left: 15px; padding-right: 15px; padding-top: 5px; font-size: 16px;">
  117.                         Para aprovechar mejor toda la experiencia de AVIATUR.com, sugerimos utilizar un navegador de última generación. Puedes utilizar Microsoft Internet Explorer 9 en adelante o descargar uno de los siguientes navegadores.
  118.                     </td>
  119.                 </tr>
  120.                 <tr>
  121.                     <td style="text-align: center; padding-top: 25px;"><a href="http://www.google.com/intl/es/chrome/browser/" target="_blank"><img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/chrome-logo.png')) }}" alt="AVIATUR.COM" /></a></td>
  122.                     <td style="text-align: center; padding-top: 25px;"><a href="https://www.mozilla.org/es-ES/firefox/new/" target="_blank"><img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/firefox-logo.jpg')) }}" alt="AVIATUR.COM" /></a></td>
  123.                 </tr>
  124.                 <tr>
  125.                     <td style="text-align: center; padding-bottom: 25px; font-size: 20px;"><a href="http://www.google.com/intl/es/chrome/browser/" target="_blank">Google Chrome</a></td>
  126.                     <td style="text-align: center; padding-bottom: 25px; font-size: 20px;"><a href="https://www.mozilla.org/es-ES/firefox/new/" target="_blank">Firefox</a></td>
  127.                 </tr>
  128.             </tbody>
  129.         </table>
  130.     </body>
  131.     <![endif]-->
  132. {% endblock base_content %}
  133. {% block javascripts_bottom %}
  134. {% endblock javascripts_bottom %}