src/DcSiteBundle/Resources/views/Lexus/Service/order-to.html.twig line 1

Open in your IDE?
  1. {% extends '@DcSite/Lexus/template.html.twig' %}
  2. {% block head %}
  3.     <title>{{ 'seo.service_assign.title'|trans({}, 'dc_lexus') }}</title>
  4.     <meta name="description" content="{{ 'seo.service_assign.description'|trans({}, 'dc_lexus') }}" />
  5.     <meta name="keywords"  content="{{ 'seo.service_assign.keywords'|trans({}, 'dc_lexus') }}" />
  6.     <link rel="stylesheet" type="text/css" href="/dist/{{ MODE }}/dcsite/lexus/css/lexusOrderTO.css?{{ VERSION }}">
  7. {% endblock %}
  8. {% block ogtagDynamic %}
  9.     <meta property="og:title" content="{{ 'seo.service_assign.title'|trans({}, 'dc_lexus') }}"/>
  10.     <meta property="og:description" content="{{ 'seo.service_assign.description'|trans({}, 'dc_lexus') }}"/>
  11. {% endblock %}
  12. {% block socialPreview %}
  13.     {% if INCLUDE_ANALYTICS %}
  14.     <!-- Google Tag Manager (noscript) -->
  15.     <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WRW33HH"
  16.                       height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  17.     <!-- End Google Tag Manager (noscript) -->
  18.     {% endif %}
  19. {% endblock socialPreview %}
  20. {% block content %}
  21.     {% set pageName = 'service' %}
  22.     {% include '@DcSite/Lexus/Service/breadcrumbs.html.twig' with { 'pageName': pageName } %}
  23.     <section class="section-padding pt-0">
  24.         <div class="container">
  25.             <div class="row">
  26.                 <div class="col-md-14" itemscope="" itemtype="https://schema.org/FAQPage">
  27.                     {% if app.request.locale == 'ua' %}
  28.                         {% include '@DcSiteBundle/Lexus/Service/translate/order-to-seo.ua.html.twig' %}
  29.                     {% else %}
  30.                         {% include '@DcSiteBundle/Lexus/Service/translate/order-to-seo.ru.html.twig' %}
  31.                     {% endif %}
  32.                 </div>
  33.             </div>
  34.             <div class="row justify-content-center">
  35.                 <div class="col-sm-12 col-md-6 col-lg-4 col-xl-3 text-center">
  36.                     <a href="#onlineService" class="btn btn-primary w-100">{{ 'pages.header.order_to'|trans({},'dc_nissan') }}</a>
  37.                 </div>
  38.             </div>
  39.         </div>
  40.     </section>
  41. {% endblock %}
  42. {% block script %}
  43.     <script src="/dist/{{ MODE }}/dcsite/lexus/js/lexusOrderTO.js?{{ VERSION }}"></script>
  44.     <script>
  45.         $(() => {
  46.             window.initServiceBooking({
  47.                 locale: '{{ app.request.locale }}',
  48.                 initUrl: '{{ path('online-service-init') }}',
  49.                 findUrl: '{{ path('online-service-find') }}',
  50.                 findVariationsUrl: '{{ path('online-service-find-variations') }}',
  51.                 saveCarUrl: '{{ path('online-service-save-car') }}',
  52.                 byModelUrl: '{{ path('online-service-load-by-model') }}',
  53.                 getTimesUrl: '{{ path('online-service-get-time') }}',
  54.                 bookingUrl: '{{ path('online-service-booking') }}',
  55.                 confirmBookingUrl: '{{ path('online-service-booking-confirm') }}',
  56.                 agreementUrl: '{{ privacyUrl }}',
  57.                 nightBookingAgreementUrl: '{{ path('my_profile_night_service_agreement') }}',
  58.                 variationId: {{ app.request.get('variation_id') ? app.request.get('variation_id') : 0  }},
  59.                 regulationId: {{ app.request.get('regulation_id') ? app.request.get('regulation_id') : 0  }},
  60.                 dealerId: {{ dealer.getId() }},
  61.                 regulationsTo: true,
  62.                 modelVariation: true,
  63.             });
  64.             window.initRegulations({
  65.                 initUrl : '{{ path('base_regulation_init') }}',
  66.                 variationUrl : '{{ path('base_regulation_variations') }}',
  67.                 regulationsUrl : '{{ path('base_regulations') }}',
  68.             });
  69.         });
  70.     </script>
  71. {% endblock %}