src/Aviatur/TwigBundle/Resources/views/coomeva/Flux/App/front.html.twig line 1

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 %}Coomeva Turismo | Agencia de Viajes en Colombia{% 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. Programa tus próximas vacaciones con Coomeva Turismo a increíbles precios{% 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.         {#{% if "now"|date('U') > headerPromoStart and "now"|date('U') < headerPromoEnd %}
  30.             {% set onPromo = true %}
  31.             {% set linkHeader = path('aviatur_display_homepromo', { 'promoType': 'luna-llena' }) %}
  32.             {% set colorImage = "_white" %}
  33.             {% set classMainNav = "nav-main__item--luna" %}
  34.         {% else %}#}
  35.         {% set onPromo = false %}
  36.         {% set linkHeader = path('homepage') %}
  37.         {% set colorImage = "" %}
  38.         {% set classMainNav = "" %}
  39.         {#{% endif %}#}
  40.         {% set imgType = '_background_default' %}
  41.         {% if background_home is defined %}
  42.                 {% if background_home.active == 'true' %}
  43.                     {% set videoType = 'NO_VID' %}
  44.                     {% set imgType = background_home.name %}
  45.                 {% endif %}
  46.             {% else %}
  47.                 {% set videoType = 'NO_VID' %}
  48.                 {% set imgType = '_background_default' %}
  49.         {% endif %}
  50.         <header class="{% if logoXmas is defined %}animate{% endif %} page-head s:bg-[url('https://aviaturcdndev.z5.web.core.windows.net/assets/aviatur_assets/img/header/cover.jpg')] xs:bg-[url('https://aviaturcdndev.z5.web.core.windows.net/assets/aviatur_assets/img/header/cover.jpg')] {% if onPromo == true %}page-head--promo page-head--promo--luna{% endif %}">
  51.             {% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_' ~ app.session.get('agencyId')) or is_granted('ROLE_SUPER_ADMIN') ) %}
  52.                 {% if background_home is defined %}
  53.                 <div class="page-head-edit-background"><a href="#" class="js-ajax-homechange" data-toggle="modal" data-target="#js-promo-editModal">Editar</a></div>
  54.                 {% endif %}
  55.             {% endif %}
  56.             <div class="page-head__bg-container hidden-palm">
  57.         <div class="page-head__bg__img bg-img_background_default js-headerImg" style="background: url(&quot;/assets/aviatur_assets/img/places/smr.jpg&quot;) -5rem / cover; width: 110%;"></div>
  58.                 {% if videoType is not defined %}
  59.                     {% set curHour = 'now'|localizeddate("medium", "none", null, null, "Hmm") %}
  60.                     {% if curHour >= '500' and curHour < '900' %}       {# 05:00 - 08:59 #}
  61.                         {% set videoType = '-day' %}
  62.                     {% elseif curHour >= '900' and curHour < '1300' %}  {# 09:00 - 12:59 #}
  63.                         {% set videoType = '-day' %}
  64.                     {% elseif curHour >= '1300' and curHour < '1700' %} {# 13:00 - 16:59 #}
  65.                         {% set videoType = '-day' %}
  66.                     {% elseif curHour >= '1700' and curHour < '2100' %} {# 17:00 - 20:59 #}
  67.                         {% set videoType = '-day' %}
  68.                     {% else %}                                          {# 21:00 - 04:59 #}
  69.                         {% set videoType = '-day' %}
  70.                     {% endif %}
  71.                 {% endif %}
  72.                 {% if videoType != 'NO_VID' %}
  73.                     {% block headerVideo %}
  74.                     {% endblock headerVideo %}
  75.                     <div class="page-head__bg__img bg-img{{ videoType }} js-headerImg"></div>
  76.                 {% else %}
  77.                     <div class="page-head__bg__img bg-img{{ imgType }} js-headerImg" style="background-image: url(https://aviaturcdndev.z5.web.core.windows.net/assets/aviatur_assets/img/header/cover.jpg);background-size: cover;"></div>
  78.                 {% endif %}
  79.             </div>
  80.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigStyle() ~'/App/header.html.twig') %}
  81.             {% block searcher_header %}
  82.             {% endblock %}
  83.         </header>
  84.         {% endblock %}
  85.     {% else %}
  86.         <section></section>
  87.         {% endif %}
  88.     <div class="page__body js-page-body-toggle pt-[17px]{% if 'aviatur_general_homepage' in app.request.get('_route') %}hidden-palm{% endif %}">
  89.         <div class="ajax-loader spinOverlay sp-offset--big js-loadingChangeCoin spiner-none hide"></div>
  90.         {% block body %}
  91.         {% endblock body %}
  92.     </div>
  93.     {% if app.session.has('operatorId') != 1 and app.session.has('whitemark') != 1 and pdfGenerator is not defined %}
  94.         {% block footer %}
  95.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigStyle() ~'/App/footer.html.twig') %}
  96.         {% endblock footer %}
  97.     {% endif %}
  98.     {% block modal %}
  99.         {{ parent()}}
  100.         {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Components/callUsModal.html.twig') %}
  101.         {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Templates/modalLoginRegister.html.twig')  with {'redirectLogin': path('aviatur_customer_edit_info')}%}
  102.         {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Templates/modalLoginAgente.html.twig') with {'redirectLogin': path('aviatur_customer_edit_info')} %}
  103.         {# {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Templates/modalRegister.html.twig') with {'redirectLogin': path('aviatur_customer_edit_info')} %} #}
  104.     {% endblock modal %}
  105.     <!-- <![endif]-->
  106.     <!--[if lte IE 8]>
  107.     <body style="background-color: #009BF8;">
  108.         <table style="width:600px; table-layout: fixed; margin: auto; background-color: #ffffff; margin-top: 50px;">
  109.             <tbody>
  110.                 <tr>
  111.                     <td colspan="2" style="text-align: center; padding-top: 25px;">
  112.     {# <img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/aviatur_logo.png')) }}" alt="AVIATUR.COM" />#}
  113.      <img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/custom/aeromedellin2.png')) }}" alt="AVIATUR.COM" />
  114.  </td>
  115. </tr>
  116. <tr>
  117.  <td colspan="2" style="text-align: center; font-size: 20px; padding-top: 15px; font-weight: bold;">
  118.      Bienvenido!
  119.  </td>
  120. </tr>
  121. <tr>
  122.  <td colspan="2" style="text-align: center; padding-left: 15px; padding-right: 15px; padding-top: 5px; font-size: 16px;">
  123.      Para aprovechar mejor toda la experiencia de Aeromedellin, sugerimos utilizar un navegador de última generación. Puedes utilizar Microsoft Internet Explorer 9 en adelante o descargar uno de los siguientes navegadores.
  124.  </td>
  125. </tr>
  126. <tr>
  127.  <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>
  128.  <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>
  129. </tr>
  130. <tr>
  131.  <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>
  132.  <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>
  133. </tr>
  134. </tbody>
  135. </table>
  136. </body>
  137. <![endif]-->
  138. {% endblock base_content %}
  139. {% block javascripts_bottom %}
  140. {% endblock javascripts_bottom %}