src/DcSiteBundle/Resources/views/Jaguar/Service/regulations-to-model.html.twig line 1

Open in your IDE?
  1. {% extends '@DcSite/Jaguar/base.html.twig' %}
  2. {% block title %}
  3.     <title>{{ 'seo.reglament_to_model.title'|trans({'%dealer%': dealer.name, '%brand%': dealer.brand.name, '%model%': modelTitle}, 'dc_base') }}</title>
  4. {% endblock title %}
  5. {% block seo %}
  6.     <meta name="description" content="{{ 'seo.regulation_to_model.description'|trans({'%model%': modelTitle}, 'dc_jaguar') }}" />
  7.     <meta name="keywords"  content="{{ 'seo.ordet_to.keywords'|trans({}, 'dc_jaguar') }}" />
  8. {% endblock seo %}
  9. {% block ogtagDynamic %}
  10.     <meta property="og:title" content="{{ 'seo.reglament_to_model.title'|trans({'%dealer%': dealer.name, '%brand%': dealer.brand.name, '%model%': modelTitle}, 'dc_base') }}"/>
  11.     <meta property="og:description" content="{{ 'seo.regulation_to_model.description'|trans({'%model%': modelTitle}, 'dc_jaguar') }}"/>
  12. {% endblock ogtagDynamic %}
  13. {% block css %}
  14.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/service.css') }}">
  15.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/jaguar/order-to.css') }}">
  16.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/jaguar/service.css') }}">
  17.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/jaguar/modules/service-widget.css') }}">
  18.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/base-style/form-control.css') }}">
  19.     <link rel="stylesheet" href="{{ asset('/bundles/core/css/modules/slick/slick.css') }}">
  20.     <link rel='stylesheet' type='text/css' href='{{ asset('/bundles/insurance/css/jquery.mCustomScrollbar.css') }}'  />
  21.     {#<link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/calculation-valuation.css') }}">#}
  22.     <style>
  23.         .orderto__modules-btn {
  24.             border: 1px solid #3C3C3B;
  25.             background: #3C3C3B;
  26.         }
  27.         .orderto__modules-btn:hover{
  28.             border: 1px solid #3C3C3B;
  29.             color: #3C3C3B;
  30.         }
  31.         .orderto__questions-block-contacts a{
  32.             color: #3C3C3B;
  33.         }
  34.         .orderto__questions-block-contacts a:hover{
  35.             color: #3C3C3B;
  36.         }
  37.         label#servicePrivacy a{
  38.             color: #3C3C3B;
  39.         }
  40.         .section_bg{
  41.             background: #F0F0F0;
  42.         }
  43.     </style>
  44. {% endblock %}
  45. {% block content %}
  46.     <section class="breadcrumbs__new">
  47.         <div class="container">
  48.             <ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  49.                 <li class="marker__none" itemprop="itemListElement" itemscope
  50.                     itemtype="https://schema.org/ListItem">
  51.                     <a itemprop="item" href="{{ path('jaguar_homepage') }}">
  52.                         <span class="breadcrumbs__link" itemprop="name">JAGUAR</span></a>
  53.                     <meta itemprop="position" content="1"/>
  54.                 </li>
  55.                 <div class="arrow-bc"> › </div>
  56.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  57.                     itemtype="https://schema.org/ListItem">
  58.                     <a itemprop="item" href="{{ path('jaguar_service_order_to') }}">
  59.                         <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ 'main.service'|trans({}, 'dc_jaguar') }}</span></a>
  60.                     <meta itemprop="position" content="2"/>
  61.                 </li>
  62.                 <div class="arrow-bc"> › </div>
  63.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  64.                     itemtype="https://schema.org/ListItem">
  65.                     <a itemprop="item" href="{{ path('jaguar_service_regulations_to') }}">
  66.                         <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ 'modules.online-booking.regulation'|trans({}, 'dc_base') }}</span></a>
  67.                     <meta itemprop="position" content="3"/>
  68.                 </li>
  69.                 <div class="arrow-bc"> › </div>
  70.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  71.                     itemtype="https://schema.org/ListItem">
  72.                     <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ modelTitle }}</span>
  73.                     <meta itemprop="position" content="4"/>
  74.                 </li>
  75.             </ol>
  76.         </div>
  77.     </section>
  78.     {% include '@DcSite/Modules/reglament-to/index.html.twig' with {servicePath : 'jaguar_service_order_to'} %}
  79. {% endblock %}
  80. {% block pageJS %}
  81.     <script>
  82.         app.onCustomEvent('appInit', function () {
  83.             app.loadJs('{{ asset('bundles/dcsite/js/regulations.js') }}',function () {
  84.                 initRegulations({
  85.                     initUrl : '{{ path('base_regulation_init') }}',
  86.                     variationUrl : '{{ path('base_regulation_variations') }}',
  87.                     regulationsUrl : '{{ path('base_regulations') }}',
  88.                     locale: '{{ app.request.locale }}',
  89.                     model: '{% if model %}{{ model }}{% else %}{% endif %}'
  90.                 });
  91.             });
  92.         });
  93.     </script>
  94. {% endblock  pageJS %}