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

Open in your IDE?
  1. {% extends '@DcSite/LandRover/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_landrover') }}" />
  7.     <meta name="keywords"  content="{{ 'seo.order_to.keywords'|trans({}, 'dc_landrover') }}" />
  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_landrover') }}"/>
  12. {% endblock ogtagDynamic %}
  13. {% block css %}
  14.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/base-style/form-control.css') }}">
  15.     <link rel="stylesheet" href="{{ asset('/bundles/core/css/modules/slick/slick.css') }}">
  16.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/landrover/modules/service-widget.css') }}">
  17.     <link rel='stylesheet' type='text/css' href='{{ asset('/bundles/insurance/css/jquery.mCustomScrollbar.css') }}'  />
  18.     <style>
  19.         button.btn {
  20.             padding-top: 9px;
  21.             padding-bottom: 10px;
  22.             border-radius: 0;
  23.         }
  24.         .section_bg{
  25.             background: #F0F0F0;
  26.         }
  27.     </style>
  28. {% endblock %}
  29. {% block content %}
  30.     <section class="breadcrumbs__new">
  31.         <div class="container">
  32.             <ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  33.                 <li class="marker__none" itemprop="itemListElement" itemscope
  34.                     itemtype="https://schema.org/ListItem">
  35.                     <a itemprop="item" href="{{ path('landrover_homepage') }}">
  36.                         <span class="breadcrumbs__link" itemprop="name">Land Rover</span></a>
  37.                     <meta itemprop="position" content="1"/>
  38.                 </li>
  39.                 <div class="arrow-bcs"> ❯ </div>
  40.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  41.                     itemtype="https://schema.org/ListItem">
  42.                     <a itemprop="item" href="{{ path('landrover_service_order_to') }}">
  43.                         <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ 'main.service'|trans({}, 'dc_landrover') }}</span></a>
  44.                     <meta itemprop="position" content="2"/>
  45.                 </li>
  46.                 <div class="arrow-bcs"> ❯ </div>
  47.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  48.                     itemtype="https://schema.org/ListItem">
  49.                     <a itemprop="item" href="{{ path('landrover_service_regulations_to') }}">
  50.                         <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ 'modules.online-booking.regulation'|trans({}, 'dc_base') }}</span></a>
  51.                     <meta itemprop="position" content="3"/>
  52.                 </li>
  53.                 <div class="arrow-bcs"> ❯ </div>
  54.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  55.                     itemtype="https://schema.org/ListItem">
  56.                     <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ modelTitle }}</span>
  57.                     <meta itemprop="position" content="4"/>
  58.                 </li>
  59.             </ol>
  60.         </div>
  61.     </section>
  62.     {% include '@DcSite/Modules/reglament-to/index.html.twig' with {servicePath : 'landrover_service_order_to'} %}
  63. {% endblock %}
  64. {% block pageJS %}
  65.     <script>
  66.         app.onCustomEvent('appInit', function () {
  67.             app.loadJs('{{ asset('bundles/dcsite/js/regulations.js') }}',function () {
  68.                 initRegulations({
  69.                     initUrl : '{{ path('base_regulation_init') }}',
  70.                     variationUrl : '{{ path('base_regulation_variations') }}',
  71.                     regulationsUrl : '{{ path('base_regulations') }}',
  72.                     locale: '{{ app.request.locale }}',
  73.                     model: '{% if model %}{{ model }}{% else %}{% endif %}'
  74.                 });
  75.             });
  76.         });
  77.     </script>
  78. {% endblock  pageJS %}