src/DcSiteBundle/Resources/views/Opel/Service/instructions-opel.html.twig line 1

Open in your IDE?
  1. {% extends '@DcSite/Opel/base.html.twig' %}
  2. {% block seo %}
  3.     <title>{{ 'seo.instructions_opel.title'|trans({}, 'dc_opel') }}</title>
  4.     <meta name="description" content="{{ 'seo.instructions_opel.desc'|trans({}, 'dc_opel') }}" />
  5. {% endblock seo %}
  6. {% block ogtagDynamic %}
  7.     <meta property="og:title" content="{{ 'seo.instructions_opel.title'|trans({}, 'dc_opel') }}"/>
  8.     <meta property="og:description" content="{{ 'seo.instructions_opel.desc'|trans({}, 'dc_opel') }}"/>
  9. {% endblock ogtagDynamic %}
  10. {% block css %}
  11.     <link rel="stylesheet" media="all" href="{{ asset('/bundles/dcsite/css/opel/servicing-contracts.css') }}"/>
  12.     <link rel="stylesheet" media="all" href="{{ asset('/bundles/dcsite/css/opel/instructions-opel.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('opel_homepage') }}">
  21.                         <span class="breadcrumbs__link" itemprop="name">opel</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.                     <span style="color: #837F7F;" class="breadcrumbs__link" itemprop="name">{{ 'pages.service.breadcrumb_title'|trans({}, 'dc_opel') }}</span>
  28.                     <meta itemprop="position" content="2"/>
  29.                 </li>
  30.                 <div class="arrow-bcs"> ❯ </div>
  31.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  32.                     itemtype="https://schema.org/ListItem">
  33.                     <span style="color: #837F7F;" class="breadcrumbs__link" itemprop="name">{{ 'header.nav.instructions_opel'|trans({}, 'dc_opel') }}</span>
  34.                     <meta itemprop="position" content="3"/>
  35.                 </li>
  36.             </ol>
  37.         </div>
  38.     </section>
  39.     {% if app.request.locale == 'ru' %}
  40.         {% include '@DcSiteBundle/Opel/Service/translations/instructions-opel.ru.html.twig' %}
  41.     {% else %}
  42.         {% include '@DcSiteBundle/Opel/Service/translations/instructions-opel.ua.html.twig' %}
  43.     {% endif %}
  44. {% endblock %}
  45. {% block pageJS %}
  46.     <script>
  47.         app.onCustomEvent('appInit', function () {
  48.             app.loadJs('{{ asset('bundles/dcsite/js/regulations.js') }}',function () {
  49.                 initRegulations({
  50.                     initUrl : '{{ path('base_regulation_init') }}',
  51.                     variationUrl : '{{ path('base_regulation_variations') }}',
  52.                     regulationsUrl : '{{ path('base_regulations') }}',
  53.                 });
  54.             });
  55.         });
  56.     </script>
  57. {% endblock %}