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

Open in your IDE?
  1. {% extends '@DcSite/Peugeot/base.html.twig' %}
  2. {% block seo %}
  3.     <title>{{ 'seo.reglament_to_model.title'|trans({'%dealer%': dealer.name, '%brand%': dealer.brand.name, '%model%': modelTitle}, 'dc_base') }}</title>
  4.     <meta name="description" content="{{ 'seo.regulation_to_model.description'|trans({'%model%': modelTitle}, 'dc_peugeot') }}" />
  5.     <meta name="keywords" content="" />
  6. {% endblock seo %}
  7. {% block ogtagDynamic %}
  8.     <meta property="og:title" content="{{ 'seo.reglament_to_model.title'|trans({'%dealer%': dealer.name, '%brand%': dealer.brand.name, '%model%': modelTitle}, 'dc_base') }}"/>
  9.     <meta property="og:description" content="{{ 'seo.regulation_to_model.description'|trans({'%model%': modelTitle}, 'dc_peugeot') }}"/>
  10. {% endblock ogtagDynamic %}
  11. {% block css %}
  12.     <link rel="stylesheet" href="{{ asset('/bundles/dcsite/css/peugeot/services/style.css') }}">
  13.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/base-style/form-control.css') }}">
  14.     <link rel="stylesheet" href="{{ asset('/bundles/core/css/modules/slick/slick.css') }}">
  15.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/peugeot/modules/service-widget.css') }}">
  16.     <link rel='stylesheet' type='text/css' href='{{ asset('/bundles/insurance/css/jquery.mCustomScrollbar.css') }}'  />
  17.     {#<link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/calculation-valuation.css') }}">#}
  18.     <style>
  19.         div#myTabContent {
  20.             overflow: hidden;
  21.         }
  22.         .calc-val-modification-item {
  23.             min-width: 365px;
  24.         }
  25.         /*section#onlineService {*/
  26.             padding-bottom: 20px;
  27.         }
  28.         .row.reglament__to .table-responsive {
  29.             margin-bottom: 20px;
  30.         }
  31.     </style>
  32. {% endblock %}
  33. {% block content %}
  34.     <section class="breadcrumbs__new">
  35.         <div class="container">
  36.             <ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  37.                 <li class="marker__none" itemprop="itemListElement" itemscope
  38.                     itemtype="https://schema.org/ListItem">
  39.                     <a itemprop="item" href="{{ path('peugeot_homepage') }}">
  40.                         <span class="breadcrumbs__link" itemprop="name">Peugeot</span></a>
  41.                     <meta itemprop="position" content="1"/>
  42.                 </li>
  43.                 <div class="arrow-bcs"> ❯ </div>
  44.                 <li class="marker__none" itemprop="itemListElement" itemscope
  45.                     itemtype="https://schema.org/ListItem">
  46.                     <a itemprop="item" href="{{ path('peugeot_service_online-booking') }}">
  47.                         <span class="breadcrumbs__link" itemprop="name">{{ 'main.service'|trans({}, 'dc_peugeot') }}</span></a>
  48.                     <meta itemprop="position" content="2"/>
  49.                 </li>
  50.                 <div class="arrow-bcs"> ❯ </div>
  51.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  52.                     itemtype="https://schema.org/ListItem">
  53.                     <a itemprop="item" href="{{ path('peugeot_service_regulations_to') }}">
  54.                         <span class="breadcrumbs__link" itemprop="name">{{ 'modules.online-booking.regulation'|trans({}, 'dc_base') }}</span></a>
  55.                     <meta itemprop="position" content="3"/>
  56.                 </li>
  57.                 <div class="arrow-bcs"> ❯ </div>
  58.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  59.                     itemtype="https://schema.org/ListItem">
  60.                     <span style="color: #837F7F;" class="breadcrumbs__link" itemprop="name">{{ modelTitle }}</span>
  61.                     <meta itemprop="position" content="4"/>
  62.                 </li>
  63.             </ol>
  64.         </div>
  65.     </section>
  66.     <div class="p-0">
  67.         {% include '@DcSite/Modules/reglament-to/index.html.twig' with {servicePath : 'peugeot_service_online-booking'} %}
  68.     </div>
  69. {% endblock %}
  70. {% block pageJS %}
  71.     <script>
  72.         app.onCustomEvent('appInit', function () {
  73.             app.loadJs('{{ asset('bundles/dcsite/js/regulations.js') }}',function () {
  74.                 initRegulations({
  75.                     initUrl : '{{ path('base_regulation_init') }}',
  76.                     variationUrl : '{{ path('base_regulation_variations') }}',
  77.                     regulationsUrl : '{{ path('base_regulations') }}',
  78.                     locale: '{{ app.request.locale }}',
  79.                     model: '{% if model %}{{ model }}{% else %}{% endif %}'
  80.                 });
  81.             });
  82.         });
  83.     </script>
  84. {% endblock  pageJS %}