src/DcSiteBundle/Resources/views/Citroen/Service/regulations-to-model.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_model.title'|trans({'%dealer%': dealer.name, '%brand%': dealer.brand.name, '%model%': modelTitle}, 'dc_base') }}</title>
  4.     <meta name="description" content="{{ seoMeta.description ?? 'seo.regulation_to_model.description'|trans({'%model%': modelTitle}, 'dc_citroen') }}" />
  5. {% endblock seo %}
  6. {% block ogtagDynamic %}
  7.     <meta property="og:title" content="{{ seoMeta.title ?? 'seo.reglament_to_model.title'|trans({'%dealer%': dealer.name, '%brand%': dealer.brand.name, '%model%': modelTitle}, 'dc_base') }}"/>
  8.     <meta property="og:description" content="{{ seoMeta.description ?? 'seo.regulation_to_model.description'|trans({'%model%': modelTitle}, 'dc_citroen') }}"/>
  9. {% endblock ogtagDynamic %}
  10. {% block css %}
  11.     <link rel="stylesheet" href="{{ asset('/bundles/dcsite/css/citroen/services/style.css') }}">
  12.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/base-style/form-control.css') }}">
  13.     <link rel="stylesheet" href="{{ asset('/bundles/core/css/modules/slick/slick.css') }}">
  14.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/citroen/modules/service-widget.css') }}">
  15.     <link rel='stylesheet' type='text/css' href='{{ asset('/bundles/insurance/css/jquery.mCustomScrollbar.css') }}'  />
  16. {% endblock %}
  17. {% block content %}
  18.     <section class="breadcrumbs__new">
  19.         <div class="container">
  20.             <ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  21.                 <li class="marker__none" itemprop="itemListElement" itemscope
  22.                     itemtype="https://schema.org/ListItem">
  23.                     <a itemprop="item" href="{{ path('citroen_homepage') }}">
  24.                         <span class="breadcrumbs__link" itemprop="name">CITROЁN</span></a>
  25.                     <meta itemprop="position" content="1"/>
  26.                 </li>
  27.                 <div class="arrow-bc"></div>
  28.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  29.                     itemtype="https://schema.org/ListItem">
  30.                     <a itemprop="item" href="{{ path('citroen_service_online-booking') }}">
  31.                         <span style="color: #837F7F; font-family: 'UbuntuRegular';" class="breadcrumbs__link" itemprop="name">{{ 'seo.service.title'|trans({}, 'dc_citroen') }}</span></a>
  32.                     <meta itemprop="position" content="2"/>
  33.                 </li>
  34.                 <div class="arrow-bc"></div>
  35.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  36.                     itemtype="https://schema.org/ListItem">
  37.                     <a itemprop="item" href="{{ path('citroen_service_regulations_to') }}">
  38.                         <span style="color: #837F7F; font-family: 'UbuntuRegular';" class="breadcrumbs__link" itemprop="name">{{ 'modules.online-booking.regulation'|trans({}, 'dc_base') }}</span></a>
  39.                     <meta itemprop="position" content="3"/>
  40.                 </li>
  41.                 <div class="arrow-bc"></div>
  42.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  43.                     itemtype="https://schema.org/ListItem">
  44.                     <span style="color: #837F7F; font-family: 'UbuntuRegular';" class="breadcrumbs__link" itemprop="name">{{ modelTitle }}</span>
  45.                     <meta itemprop="position" content="4"/>
  46.                 </li>
  47.             </ol>
  48.         </div>
  49.     </section>
  50.     {% include '@DcSite/Modules/reglament-to/index.html.twig' with {servicePath : 'citroen_service_online-booking'} %}
  51. {% endblock %}
  52. {% block pageJS %}
  53.     <script>
  54.         app.onCustomEvent('appInit', function () {
  55.             app.loadJs('{{ asset('bundles/dcsite/js/regulations.js') }}',function () {
  56.                 initRegulations({
  57.                     initUrl : '{{ path('base_regulation_init') }}',
  58.                     variationUrl : '{{ path('base_regulation_variations') }}',
  59.                     regulationsUrl : '{{ path('base_regulations') }}',
  60.                     withSalePeriod: true,
  61.                     locale: '{{ app.request.locale }}',
  62.                     model: '{% if model %}{{ model }}{% else %}{% endif %}'
  63.                 });
  64.             });
  65.         });
  66.     </script>
  67. {% endblock  pageJS %}