src/Aviatur/TwigBundle/Resources/views/octopus/Flux/App/base.html.twig line 1

Open in your IDE?
  1. {% set parameters = json_decode(app.session.get(app.request.server.get('HTTP_HOST') ~ '[parameters]'), true) %}
  2. {% set agencyDataInfo = app.session.get('agencyDataInfo') %}
  3. {% set isActiveModal = false %}
  4. {% if parameters.modal_info_general is defined and parameters.modal_info_general %}
  5.     {% set modalInfoGeneral = json_decode(parameters.modal_info_general) %}
  6.     {% set now = date() %}
  7.     {% set isDateValid = now >= date(modalInfoGeneral.startDate) and now <= date(modalInfoGeneral.endDate) %}
  8.     {% set isActiveModal = modalInfoGeneral.isActive and isDateValid and app.session.has('operatorId') != 1 %}
  9. {% endif %}
  10. <!DOCTYPE html>
  11. <html style="scroll-behavior: smooth;">
  12.     <head>
  13.         <meta charset="utf-8">
  14.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  15.         {% block head_viewport %}
  16.             <meta name="viewport" content="width=device-width, initial-scale=1">
  17.         {% endblock head_viewport %}
  18.         {% include '@AviaturTwig/aviatur/Flux/App/components/seo-config.html.twig' %}
  19.          
  20.         <link rel="icon" type="image/x-icon" href="https://aviaturcdndev.z5.web.core.windows.net/assets/octopus_assets/img/favicon.png"/>
  21.         {# styles #}
  22.         {% block stylesheets %}
  23.             <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,600,400" />
  24.             <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
  25.             <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
  26.             <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
  27.             <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined" rel="stylesheet">
  28.             <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
  29.             {# <link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/common_assets/css/main.css')) }}" /> #}
  30.         <link type="text/css" rel="stylesheet" href="{{ style('default_assets/css/main.css') }}" />
  31.             {# <link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/css/main.css')) }}" /> #}
  32.             {# <link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/css/special.css')) }}" /> #}
  33.             <script src="https://aviaturcdndev.z5.web.core.windows.net/source/tailwind-3.4.17.js"></script>
  34.             <script>
  35.                 tailwind.config = {{ tailwind_config|json_encode|raw }};
  36.             </script>
  37.             <style>
  38.                 // Material icons
  39.                 @font-face {
  40.                 font-family: 'Material Icons Round';
  41.                 font-style: normal;
  42.                 font-weight: 400;
  43.                 src: url(/assets/common_assets/font/material-icons/Material-icons-round.woff2) format('woff2');
  44.                 }
  45.                 .material-icons-round {
  46.                     font-family: 'Material Icons Round';
  47.                     font-weight: normal;
  48.                     font-style: normal;
  49.                     font-size: 24px;
  50.                     line-height: 1;
  51.                     letter-spacing: normal;
  52.                     text-transform: none;
  53.                     display: inline-block;
  54.                     white-space: nowrap;
  55.                     word-wrap: normal;
  56.                     direction: ltr;
  57.                     -webkit-font-feature-settings: 'liga';
  58.                     -webkit-font-smoothing: antialiased;
  59.                 }
  60.                 /* fallback */
  61.                 @font-face {
  62.                     font-family: 'Material Symbols Outlined';
  63.                     font-style: normal;
  64.                     font-weight: 100 700;
  65.                     src: url(/assets/aviatur_assets/font/material-icons/MaterialIconsRound.woff2) format('woff2');
  66.                 }
  67.                 .material-symbols-outlined {
  68.                     font-family: 'Material Symbols Outlined';
  69.                     font-weight: normal;
  70.                     font-style: normal;
  71.                     font-size: 24px;
  72.                     line-height: 1;
  73.                     letter-spacing: normal;
  74.                     text-transform: none;
  75.                     display: inline-block;
  76.                     white-space: nowrap;
  77.                     word-wrap: normal;
  78.                     direction: ltr;
  79.                     -webkit-font-feature-settings: 'liga';
  80.                     -webkit-font-smoothing: antialiased;
  81.                 }
  82.                 .material-symbols-outlined {
  83.                 font-variation-settings:
  84.                 'FILL' 1,
  85.                 'wght' 400,
  86.                 'GRAD' 0,
  87.                 'opsz' 24
  88.                 }
  89.                 /* .grid{
  90.                     padding:0px !important;
  91.                 } */
  92.             </style>
  93.         {% endblock stylesheets %}
  94.         {# end styles #}
  95.         {# scripts #}
  96.         <script src="{{ script('common.js') }}"></script>
  97.         <script type="module" src="{{ script('GeneralBundle//emblue_index.js') }}"></script>
  98.         <script type="module" src="{{ script('GeneralBundle//modal_policity_index.js') }}"></script>
  99.         <script type="module" src="{{ script('GeneralBundle//footer_terminos_condiciones_index.js') }}"></script>
  100.         <script src="https://apis.google.com/js/api:client.js" integrity="sha384-R3cKxtuopa7SvP7Eurqu6qcGSTAScYtN7bA1Zk4Am30QRG55dXdQ677YmW8Z3O82" crossorigin="anonymous"></script>
  101.         <script async defer crossorigin="anonymous" integrity="sha384-ZpXqi0Nh2+j/KN13sAnrHvrMs28RjAigy/q5fJ7ms3VGiH3x0r+DqvkstQxKcFmS" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v6.0&appId=#xfbml=1&version=v7.0&appId={{facebook_appid_login}}&autoLogAppEvents=1"></script>
  102.         {% if app.session.get('WorldChangeCoin') is defined and app.session.get('WorldChangeCoin') == 'true' %}
  103.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Components/worldpayFunction.html.twig') %}
  104.         {% endif %}
  105.         {% if pdfGenerator is not defined %}
  106.             <script type="text/javascript">
  107.                 var clientId;
  108.                 var domain = '{{ app.session.get('domain') }}';
  109.                 var domainsecure = '{{ app.session.get('domainsecure') }}';
  110.                 (function (i, s, o, g, r, a, m) {
  111.                     i['GoogleAnalyticsObject'] = r;
  112.                     i[r] = i[r] || function () {
  113.                         (i[r].q = i[r].q || []).push(arguments)
  114.                     }, i[r].l = 1 * new Date();
  115.                     a = s.createElement(o),
  116.                             m = s.getElementsByTagName(o)[0];
  117.                     a.async = 1;
  118.                     a.src = g;
  119.                     m.parentNode.insertBefore(a, m)
  120.                 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  121.                 ga('create', 'UA-56766884-1', 'auto', {cookieDomain: '{{app.request.server.get("HTTP_HOST")|replace({'www.':''})}}', allowLinker: true});
  122.                 ga('require', 'displayfeatures');
  123.                 ga('require', 'linkid', 'linkid.js');
  124.                 ga('require', 'linker');
  125.                 ga('require', 'ec');
  126.                 ga('linker:autoLink', [domain, domainsecure, 'octopus.com.co', 'grupoaviatur.com']);
  127.                 ga('linker:autoLink', [domain, domainsecure, 'octopus.com.co', 'grupoaviatur.com'], false, true);
  128.                 var dimensionValue = '{{ app.request.server.get("REMOTE_ADDR") }}';
  129.                 {% if (app.session.has('transactionId')) %}
  130.                 var dimensionValue2 = '{{ app.session.get('transactionId') }}';
  131.                 {% else %}
  132.                     var dimensionValue2 = '';
  133.                 {% endif %}
  134.                     var dimensionValue3 = '';
  135.                     var dimensionValue4 = '';
  136.                     var dimensionValue5 = '';
  137.                     var dimensionValue6 = '';
  138.                     ga('send', 'pageview', {
  139.                         'dimension1': dimensionValue,
  140.                         'dimension2': dimensionValue2,
  141.                         'dimension3': dimensionValue3,
  142.                         'dimension4': dimensionValue4,
  143.                         'dimension5': dimensionValue5,
  144.                         'dimension6': dimensionValue6}
  145.                     );
  146.             </script>
  147.         {% endif %}
  148.          <link rel="stylesheet" href="{{ asset('assets/default_assets/css/firebase-main.css') }}" />
  149.         {% if parameters['firebasescripts'] == 'true' %}
  150.         <link rel="stylesheet" href="https://aviaturcdndev.z5.web.core.windows.net/source/main.css">
  151.         <script src="https://aviaturcdndev.z5.web.core.windows.net/source/script.js" type="text/javascript"></script>
  152.         {% endif %}
  153.         {% if parameters['aviatur_close_modal_login'] is defined %}
  154.             {% set activate_login = json_decode(parameters['aviatur_close_modal_login'], true) %}
  155.             {% if activate_login[app.session.get('agencyId')] is defined %}
  156.                 {% set swLoginClose = activate_login[app.session.get('agencyId')] %}
  157.             {% else %}
  158.                 {% set swLoginClose = activate_login['all'] %}
  159.             {% endif %}
  160.         {% endif %}
  161.             {# Parametrización boton continuar sin iniciar sesión #}
  162.         {% if parameters['aviatur_continue_without_logging'] is defined %}
  163.             {% set continue_without_logging = json_decode(parameters['aviatur_continue_without_logging'], true) %}
  164.             {% if continue_without_logging[app.session.get('agencyId')] is defined %}
  165.                 {% set continueWithoutLogging = continue_without_logging[app.session.get('agencyId')] %}
  166.             {% else %}
  167.                 {% set continueWithoutLogging = continue_without_logging['all'] %}
  168.             {% endif %}
  169.         {% endif %}
  170.             <script>
  171.             document.addEventListener("DOMContentLoaded", function () {
  172.                         document.getElementById('customGoogleBtn').addEventListener('click', function (e) {
  173.                         e.preventDefault();
  174.             
  175.                 const clientId = '{{ google_idclient_login }}';
  176.                 const redirectUri = '{{ url("aviatur_customer_login_social_secure") }}';
  177.                 console.log("Redirect URI generada:", redirectUri);
  178.                 const scope = 'openid email profile';
  179.                 const responseType = 'code';
  180.                 const authUrl = `https://accounts.google.com/o/oauth2/v2/auth?` + `client_id=${clientId}` + `&redirect_uri=${
  181.                 encodeURIComponent(redirectUri)
  182.                 }` + `&response_type=${responseType}` + `&scope=${
  183.                 encodeURIComponent(scope)
  184.                 }` + `&prompt=select_account`;
  185.             
  186.                 window.location.href = authUrl;
  187.                 console.log(authUrl);
  188.                 });
  189.                 });
  190.             
  191.         </script>
  192.             <script>
  193.                 var fbid = '{{facebook_appid_login}}';
  194.                 window.fbAsyncInit = function() {
  195.                     FB.init({
  196.                         appId      : fbid,
  197.                         cookie     : true,
  198.                         xfbml      : true,
  199.                         version    : 'v7.0',
  200.                         oauth   : true,
  201.                         status  : true
  202.                     });
  203.                     FB.AppEvents.logPageView();
  204.                 };
  205.                 (function(d, s, id){
  206.                     var js, fjs = d.getElementsByTagName(s)[0];
  207.                     if (d.getElementById(id)) {return;}
  208.                     js = d.createElement(s); js.id = id;
  209.                     js.src = "https://connect.facebook.net/en_US/sdk.js";
  210.                     fjs.parentNode.insertBefore(js, fjs);
  211.                 }(document, 'script', 'facebook-jssdk'));
  212.                 /*function checkLoginState() {
  213.                     FB.getLoginStatus(function(response) {
  214.                         statusChangeCallback(response);
  215.                     });
  216.                 }*/
  217.                 function loginFace(){
  218.                     FB.login(function(response) {
  219.                         if (response.authResponse) {
  220.                             var $modalLogin = jQuery('#js-modalLogin');
  221.                             //console.log('Welcome!  Fetching your information.... ');
  222.                             FB.api('/me', {fields: 'first_name, last_name, email, picture'}, function (response2) {
  223.                                 response2.picture2 = "http://graph.facebook.com/" + response2.id + "/picture?type=normal";
  224.                                 jQuery(".js-globalOverlay").attr("style", "z-index: 1200 !important;");
  225.                                 jQuery(".js-globalOverlay-text").text("Iniciando sesión");
  226.                                 jQuery(".js-globalOverlay").show();
  227.                                 jQuery.ajax({
  228.                                     url: '/customer/social-networks-callback',
  229.                                     type: 'POST',
  230.                                     crossDomain: true,
  231.                                     data: {data: response2, red: "facebook"},
  232.                                     //async: true,
  233.                                     success: function (data) {
  234.                                         if(data.status == "redirect") {
  235.                                             FB.logout();
  236.                                             if(pathname[2] == "detalle" || pathname[2] == "pasajeros-reserva" || pathname[2] == "formulario") {
  237.                                                 location.reload();
  238.                                             } else {
  239.                                                 window.location.replace("/");
  240.                                             }
  241.                                         }
  242.                                     },
  243.                                     error: function () {
  244.                                         $modalLogin.find('.close[data-dismiss="modal"]').trigger('click');
  245.                                         jQuery(".js-globalOverlay").hide();
  246.                                     },
  247.                                     complete: function () {}
  248.                                 });
  249.                             });
  250.                         } else {
  251.                             console.log('User cancelled login or did not fully authorize.');
  252.                         }
  253.                     },{scope: 'email,public_profile'});
  254.                 }
  255.             </script>
  256.             {% if app.user %}
  257.             <script>
  258.                 var customerLogged = true;
  259.                 var documentNum = '{{app.user.documentNumber}}';
  260.                 var documentType = '{{app.user.documentType}}';
  261.                 {% if parameters['switch_login_agencies'] is defined %}
  262.                     {% set login_agencies = json_decode(parameters['switch_login_agencies'], true) %}
  263.                     {% if login_agencies[app.session.get('agencyId')] is defined %}
  264.                         {% set login_is_on = login_agencies[app.session.get('agencyId')] %}
  265.                     {% else %}
  266.                         {% set login_is_on = login_agencies['all'] %}
  267.                     {% endif %}
  268.                 {% else %}
  269.                     {% set login_is_on = '0' %}
  270.                 {% endif %}
  271.                 var login_is_on = "{{login_is_on}}";
  272.             </script>
  273.         {% else %}
  274.             <script>var customerLogged = false;</script>
  275.         {% endif %}
  276.         {% if 'aviatur_general_homepage' in app.request.get('_route') %}
  277.             {% if app.user.username is defined %}
  278.                 <script>
  279.                     jQuery(document).ready(function () {
  280.                         var dtCustomerFacebook = '{{app.user.facebookId}}';
  281.                         var dtCustomerGoogle = '{{app.user.googleId}}';
  282.                         var address = '{{app.user.address}}';
  283.                         var documentNum = '{{app.user.documentNumber}}';
  284.                         if(dtCustomerFacebook || dtCustomerGoogle){
  285.                             if(documentNum.length == 0 && address.length == 0) {
  286.                                  window.location.replace("/customer/edit");
  287.                             }
  288.                         }
  289.                     });
  290.                 </script>
  291.             {% else %}
  292.                 <script>
  293.                     sessionStorage.setItem('countDialogLogin', 0);
  294.                     var countDialogLogin = 0;
  295.                     jQuery(document).ready(function () {
  296.                         jQuery("#close-dialog-login").on('click', function(){
  297.                             jQuery("#dialog-login-home").hide();
  298.                         });
  299.                     });
  300.                 </script>
  301.             {% endif %}
  302.         {% endif %}
  303.         {% if 'aviatur_customer_edit_info' in app.request.get('_route') %}
  304.             {% if app.user.username is defined %}
  305.                 <script>
  306.                     jQuery(document).ready(function () {
  307.                         var dtCustomerFacebook = '{{app.user.facebookId}}';
  308.                         var dtCustomerGoogle = '{{app.user.googleId}}';
  309.                         jQuery("#customer_edit_form_email").attr("type","email");
  310.                         jQuery("#customer_edit_form_CivilStatus").parent().parent().parent().hide();
  311.                         if(dtCustomerFacebook || dtCustomerGoogle){
  312.                             if(jQuery("#customer_edit_form_DocumentNumber").val() == "") {
  313.                                 jQuery("#customer_edit_form_DocumentNumber").removeAttr("readonly");
  314.                             }
  315.                             jQuery(".js-reserva-submit-password").hide();
  316.                             jQuery("#customer_edit_form_email").hide();
  317.                             jQuery('[for^="customer_edit_form_email"]').hide();
  318.                         }
  319.                     });
  320.                 </script>
  321.             {% endif %}
  322.         {% endif %}
  323.         {% if app.session.get('AnonymousEmail') is not null %}
  324.             {# When user set email on "See Booking", this JS set email in input after redirection #}
  325.             {% set anonymousEmail = app.session.get('AnonymousEmail') %}
  326.             <script type="text/javascript">
  327.                 jQuery(document).ready(function () {
  328.                     var anonymousEmail = "{{ anonymousEmail }}";
  329.                     jQuery("#username").val(anonymousEmail);
  330.                     jQuery("#fos_user_registration_form_email").val(anonymousEmail);
  331.                 });
  332.             </script>
  333.         {% endif %}
  334.         {# end scripts  #}
  335.         {% if "payment_success_secure" in app.request.attributes.get('_route') %}
  336.         {% endif %}
  337.         {% block javascripts_header %}
  338.            {# {% if cards is defined and cybersource.org_id is defined %}
  339.                 {% set src = "https://h.online-metrix.net/fp/tags.js?org_id="~cybersource.org_id~"&session_id=aviaturcom"~ app.session.get('transactionId') %}
  340.                 <script type="text/javascript" src="{{src}}"></script>
  341.             {% endif %} #}
  342.         {% endblock %}
  343.     </head>
  344.     <body ontouchstart="">
  345.         {% if agencyDataInfo['agency_phones'] %}
  346.             {% set agencyWhat = agencyDataInfo['agency_phones']['what']%}
  347.             {% set agencyPhones = agencyDataInfo['agency_phones']['all']%}
  348.         {% endif %}
  349.         <p class="not_app"></p>
  350.         {% block body_scripts %}
  351.               {% if cards is defined and cybersource.org_id is defined %}
  352.                 {% set src = "https://h.online-metrix.net/fp/tags?org_id="~cybersource.org_id~"&session_id=aviaturcom"~ app.session.get('transactionId') %}
  353.                 <noscript>
  354.                 <iframe style="width: 100px; height: 100px; border: 0; position:absolute; top: -5000px;" src="{{src}}"></iframe>
  355.                 </noscript>
  356.             {% endif %}
  357.         {% endblock %}
  358.         {% for flashMessage in app.session.flashbag.get('notice') %}
  359.             <div class="flash-notice">
  360.                 {{ flashMessage }}
  361.             </div>
  362.         {% endfor %}
  363.         {% block overlay %}
  364. <script>
  365.     document.addEventListener("DOMContentLoaded", function () {
  366.         const overlay = document.querySelector(".js-globalOverlay");
  367.         if (overlay) {
  368.             overlay.style.display = "none";
  369.             window.addEventListener("load", function () {
  370.                 overlay.style.display = "none";
  371.             });
  372.             window.addEventListener("pageshow", function () {
  373.                 overlay.style.display = "none";
  374.             });
  375.         }
  376.     });
  377. </script>
  378.             <div class="overlay js-globalOverlay" style="display: none;">
  379.                 <div class="overlay-center">
  380.                     <svg class="mat-loader--200 center-block" height="200" width="200">
  381.                         <circle class="mat-loader--200__path" cx="100" cy="100" r="80" fill="none" stroke-width="6" stroke-miterlimit="10" />
  382.                     </svg>
  383.                     <p class="spin-text js-globalOverlay-text">Cargando...</p>
  384.                 </div>
  385.             </div>
  386.             <div class="responsive-js"></div>
  387.         {% endblock %}
  388.         {% block base_content %}
  389.             {% block header %}
  390.             {% endblock %}
  391.             {% block body %}
  392.             {% endblock body %}
  393.             {% block content %}
  394.             {% endblock content %}
  395.             {% block footer %}
  396.             {% endblock footer %}
  397.             {% block modal %}
  398.                 <div id="js-globalModal" class="modal fade">
  399.                     <div class="modal-dialog">
  400.                         <div class="modal-content">
  401.                             <div class="modal-header">
  402.                                 <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
  403.                                 <h4 id="js-globalModal-title" class="modal-title">Modal title</h4>
  404.                             </div>
  405.                             <div class="modal-body">
  406.                                 <div id="js-globalModal-illustration" {# class="modal-illustration" #}></div>
  407.                                 <p id="js-globalModal-text" class="modal-text modal-text--error"></p>
  408.                             </div>
  409.                         </div>
  410.                     </div>
  411.                 </div>
  412.             {% endblock modal %}
  413.         {% endblock base_content %}
  414.         {% block javascripts %}
  415. {% endblock %}
  416. {% if isActiveModal %}
  417.     <div id="privacy-banner" class="fixed inset-0 items-center justify-center bg-black/40 p-4 z-[999999] hidden" data-should-render="{{ isActiveModal ? '1' : '0' }}">
  418.         {{ modalInfoGeneral.body | raw }}
  419.     </div>
  420. {% endif %}
  421. {% block javascripts_bottom %}
  422.  {# Script emblue emails #}
  423.             <script>
  424.                 jQuery(document).ready(function () {
  425.                     if (window.location.pathname.indexOf('experiencias') !== -1) {
  426.                         let titleDisney = document.querySelector('.detail-experience__title') || null;
  427.                         let isDisney = false;
  428.                         if (titleDisney) {
  429.                             isDisney = titleDisney.textContent.indexOf('Disney') !== -1 ? true : false;
  430.                         }
  431.                         if (isDisney || window.location.pathname === "/experiencias/disney") {
  432.                             document.querySelector('.nav-main__icon--experience').parentElement.classList.remove('is-active');
  433.                             document.querySelector('.nav-main__icon--disney').parentElement.classList.add('is-active');
  434.                         }
  435.                     }
  436.                     if (window.location.pathname.indexOf('sostenible') !== -1) {
  437.                         let titleSostenible = document.querySelector('.sostenible__title') || null;
  438.                         let isSostenible = false;
  439.                         if (titleSostenible) {
  440.                             isSostenible = titleSostenible.textContent.indexOf('Sostenibilidad') !== -1 ? true : false;
  441.                         }
  442.                         if (isSostenible || window.location.pathname === "/experiencias/sostenible") {
  443.                             document.querySelector('.nav-main__icon--experience').parentElement.classList.remove('is-active');
  444.                             document.querySelector('.nav-main__icon--sostenibilidad').parentElement.classList.add('is-active');
  445.                         }
  446.                     }
  447.                     if (window.location.pathname ===  "/contenidos/solicitar-tarjeta-visa-aviatur") {
  448.                         document.querySelector('.nav-main__icon--card').parentElement.classList.add('is-active');
  449.                     }
  450.                     if (document.querySelector('.smartbanner')) {
  451.                         document.querySelector('.smartbanner').classList.add('hide');
  452.                         document.querySelector('html').classList.remove('smartbanner-show');
  453.                     }
  454.                     let $hrefLogin = document.querySelector("#login");
  455.                     if ($hrefLogin) {
  456.                         $hrefLogin.removeAttribute('href');
  457.                         jQuery("#login").on("click", function () {
  458.                             jQuery('#js-modalLogin').modal({backdrop: 'static', keyboard: false});
  459.                         });
  460.                     }
  461.                     if (window.location.pathname.indexOf('register') !== -1) {
  462.                         document.querySelector('.close').style.top = "200px";
  463.                     }
  464.                 });
  465.             </script>
  466.             {# end Script emblue emails #}
  467.      {# end Script emblue emails #}
  468.         {% endblock javascripts_bottom %}
  469.     </body>
  470. </html>