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

Open in your IDE?
  1. {% extends '@DcSite/Peugeot/base.html.twig' %}
  2. {% block seo %}
  3.     <title>{{ 'seo.reglament_to.title'|trans({'%brand%': dealer.brand.name, '%dealer%': dealer.name}, 'dc_base') }}</title>
  4.     <meta name="description" content="{{ 'seo.regulation_to.description'|trans({}, 'dc_peugeot') }}" />
  5.     <meta name="keywords" content="" />
  6. {% endblock seo %}
  7. {% block ogtagDynamic %}
  8.     <meta property="og:title" content="{{ 'seo.reglament_to.title'|trans({'%brand%': dealer.brand.name, '%dealer%': dealer.name}, 'dc_base') }}"/>
  9.     <meta property="og:description" content="{{ 'seo.regulation_to.description'|trans({}, '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/reglament-to/style.css') }}">
  18.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/service/widget-order-to.css') }}">
  19.     <style>
  20.         div#myTabContent {
  21.             overflow: hidden;
  22.         }
  23.         .calc-val-modification-item {
  24.             min-width: 365px;
  25.         }
  26.         /*section#onlineService {*/
  27.         /*    padding-bottom: 20px;*/
  28.         /*}*/
  29.         .row.reglament__to .table-responsive {
  30.             margin-bottom: 20px;
  31.         }
  32.     </style>
  33. {% endblock %}
  34. {% block content %}
  35.     <section class="breadcrumbs__new">
  36.         <div class="container">
  37.             <ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  38.                 <li class="marker__none" itemprop="itemListElement" itemscope
  39.                     itemtype="https://schema.org/ListItem">
  40.                     <a itemprop="item" href="{{ path('peugeot_homepage') }}">
  41.                         <span class="breadcrumbs__link" itemprop="name">Peugeot</span></a>
  42.                     <meta itemprop="position" content="1"/>
  43.                 </li>
  44.                 <div class="arrow-bcs"> ❯ </div>
  45.                 <li class="marker__none" itemprop="itemListElement" itemscope
  46.                     itemtype="https://schema.org/ListItem">
  47.                     <a itemprop="item" href="{{ path('peugeot_service_online-booking') }}">
  48.                         <span class="breadcrumbs__link" itemprop="name">{{ 'main.service'|trans({}, 'dc_peugeot') }}</span></a>
  49.                     <meta itemprop="position" content="2"/>
  50.                 </li>
  51.                 <div class="arrow-bcs"> ❯ </div>
  52.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  53.                     itemtype="https://schema.org/ListItem">
  54.                     <span style="color: #837F7F;" class="breadcrumbs__link" itemprop="name">{{ 'modules.online-booking.regulation'|trans({}, 'dc_base') }}</span>
  55.                     <meta itemprop="position" content="3"/>
  56.                 </li>
  57.             </ol>
  58.         </div>
  59.     </section>
  60.     <div class="container text-center mt-5">
  61.         <h1>Регламент ТО</h1>
  62.     </div>
  63.     {% include '@DcSiteBundle/Modules/regulations/regulations-to.html.twig' with { modelPath : 'peugeot_service_regulations_to_model'} %}
  64. {% endblock %}
  65. {% block pageJS %}
  66.     <script>
  67.         app.onCustomEvent('appInit', function () {
  68.             app.loadJs('{{ asset('/bundles/dcsite/js/regulations-to.js') }}', function () {
  69.                 initRegulationTo({
  70.                     locale: '{{ app.request.locale }}',
  71.                     findUrl: '{{ path('online-service-find') }}',
  72.                     brandId: {{ dealer.Brand.Id }},
  73.                 });
  74.             });
  75.         });
  76.     </script>
  77. {% endblock pageJS %}