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

Open in your IDE?
  1. {% extends '@DcSite/Citroen/base.html.twig' %}
  2. {% block seo %}
  3.     <title>{{ seoMeta.title ?? 'seo.reglament_to.title'|trans({'%brand%': dealer.brand.name, '%dealer%': dealer.name}, 'dc_base') }}</title>
  4.     <meta name="description" content="{{ seoMeta.description ?? 'seo.regulation_to.description'|trans({}, 'dc_citroen') }}" />
  5.     <meta name="keywords" content="" />
  6. {% endblock seo %}
  7. {% block ogtagDynamic %}
  8.     <meta property="og:title" content="{{ seoMeta.title ?? 'seo.reglament_to.title'|trans({'%brand%': dealer.brand.name, '%dealer%': dealer.name}, 'dc_base') }}"/>
  9.     <meta property="og:description" content="{{ seoMeta.description ?? 'seo.regulation_to.description'|trans({}, 'dc_citroen') }}"/>
  10. {% endblock ogtagDynamic %}
  11. {% block css %}
  12.     <link rel="stylesheet" href="{{ asset('/bundles/dcsite/css/citroen/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/citroen/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. {% endblock %}
  20. {% block content %}
  21.     <section class="breadcrumbs__new">
  22.         <div class="container">
  23.             <ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  24.                 <li class="marker__none" itemprop="itemListElement" itemscope
  25.                     itemtype="https://schema.org/ListItem">
  26.                     <a itemprop="item" href="{{ path('citroen_homepage') }}">
  27.                         <span class="breadcrumbs__link" itemprop="name">CITROЁN</span></a>
  28.                     <meta itemprop="position" content="1"/>
  29.                 </li>
  30.                 <div class="arrow-bc"></div>
  31.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  32.                     itemtype="https://schema.org/ListItem">
  33.                     <a itemprop="item" href="{{ path('citroen_service_online-booking') }}">
  34.                         <span style="color: #837F7F; font-family: 'UbuntuRegular';" class="breadcrumbs__link" itemprop="name">{{ 'seo.service.title'|trans({}, 'dc_citroen') }}</span></a>
  35.                     <meta itemprop="position" content="2"/>
  36.                 </li>
  37.                 <div class="arrow-bc"></div>
  38.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  39.                     itemtype="https://schema.org/ListItem">
  40.                     <span style="color: #837F7F; font-family: 'UbuntuRegular';" class="breadcrumbs__link" itemprop="name">{{ 'modules.online-booking.regulation'|trans({}, 'dc_base') }}</span>
  41.                     <meta itemprop="position" content="3"/>
  42.                 </li>
  43.             </ol>
  44.         </div>
  45.     </section>
  46.     <div class="container text-center mt-5">
  47.         <h1>Регламент ТО</h1>
  48.     </div>
  49.     {% include '@DcSiteBundle/Modules/regulations/regulations-to.html.twig' with { modelPath : 'citroen_service_regulations_to_model'} %}
  50. {% endblock %}
  51. {% block pageJS %}
  52.     <script>
  53.         app.onCustomEvent('appInit', function () {
  54.             app.loadJs('{{ asset('/bundles/dcsite/js/regulations-to.js') }}', function () {
  55.                 initRegulationTo({
  56.                     locale: '{{ app.request.locale }}',
  57.                     findUrl: '{{ path('online-service-find') }}',
  58.                     brandId: {{ dealer.Brand.Id }},
  59.                 });
  60.             });
  61.         });
  62.     </script>
  63. {% endblock pageJS %}