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

Open in your IDE?
  1. {% extends '@DcSite/Morris_Garage/base.html.twig' %}
  2. {% block seo %}
  3.     <title>{{ 'seo.reglament_to_model.title'|trans({'%dealer%': dealer.nameByLocale(app.request.locale), '%brand%': dealer.brand.nameByLocale(app.request.locale), '%model%': modelTitle}, 'dc_base') }}</title>
  4.     <meta name="description" content="{{ 'seo.reglament_to_model.desc'|trans({'%dealer%': dealer.nameByLocale(app.request.locale), '%address%': dealer.addressByLocale(app.request.locale), '%model%': modelTitle}, 'dc_base') }}" />
  5. {% endblock seo %}
  6. {% block ogtagDynamic %}
  7.     <meta property="og:title" content="{{ 'seo.reglament_to_model.title'|trans({'%dealer%': dealer.nameByLocale(app.request.locale), '%brand%': dealer.brand.nameByLocale(app.request.locale), '%model%': modelTitle}, 'dc_base') }}"/>
  8.     <meta property="og:description" content="{{ 'seo.reglament_to_model.desc'|trans({'%dealer%': dealer.nameByLocale(app.request.locale), '%address%': dealer.addressByLocale(app.request.locale), '%model%': modelTitle}, 'dc_base') }}"/>
  9. {% endblock ogtagDynamic %}
  10. {% block css %}
  11.     <link rel="stylesheet" href="{{ asset('/bundles/dcsite/css/morris_garage/service.css') }}">
  12.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/base-style/form-control.css') }}">
  13. {% endblock %}
  14. {% block content %}
  15.     <section class="breadcrumbs__new">
  16.         <div class="container">
  17.             <ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  18.                 <li class="marker__none" itemprop="itemListElement" itemscope
  19.                     itemtype="https://schema.org/ListItem">
  20.                     <a itemprop="item" href="{{ path('mg_homepage') }}">
  21.                         <span class="breadcrumbs__link" itemprop="name">Morris Garage</span></a>
  22.                     <meta itemprop="position" content="1"/>
  23.                 </li>
  24.                 <div class="arrow-bcs"> ❯ </div>
  25.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  26.                     itemtype="https://schema.org/ListItem">
  27.                     <a itemprop="item" href="{{ path('mg_service_online-booking') }}">
  28.                         <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ 'pages.service.breadcrumb_title'|trans({}, 'dc_morris') }}</span></a>
  29.                     <meta itemprop="position" content="2"/>
  30.                 </li>
  31.                 <div class="arrow-bcs"> ❯ </div>
  32.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  33.                     itemtype="https://schema.org/ListItem">
  34.                     <a itemprop="item" href="{{ path('mg_service_regulations_to') }}">
  35.                         <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ 'modules.online-booking.regulation'|trans({}, 'dc_base') }}</span></a>
  36.                     <meta itemprop="position" content="3"/>
  37.                 </li>
  38.                 <div class="arrow-bcs"> ❯ </div>
  39.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  40.                     itemtype="https://schema.org/ListItem">
  41.                     <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ modelTitle }}</span>
  42.                     <meta itemprop="position" content="4"/>
  43.                 </li>
  44.             </ol>
  45.         </div>
  46.     </section>
  47.     <div class="mb-5">
  48.         {% include '@DcSite/Modules/reglament-to/index.html.twig' with {servicePath : 'mg_service_online-booking'} %}
  49.     </div>
  50. {% endblock %}
  51. {% block pageJS %}
  52.     <script>
  53.         app.onCustomEvent('appInit', function () {
  54.             app.loadJs('{{ asset('bundles/dcsite/js/regulations.js') }}',function () {
  55.                 initRegulations({
  56.                     initUrl : '{{ path('base_regulation_init') }}',
  57.                     variationUrl : '{{ path('base_regulation_variations') }}',
  58.                     regulationsUrl : '{{ path('base_regulations') }}',
  59.                     locale: '{{ app.request.locale }}',
  60.                     model: '{% if model %}{{ model }}{% else %}{% endif %}'
  61.                 });
  62.             });
  63.         });
  64.     </script>
  65. {% endblock  pageJS %}