src/DcSiteBundle/Resources/views/Toyota/Service/regulation-to-single.html.twig line 1

Open in your IDE?
  1. {% extends '@DcSite/Toyota/template.html.twig' %}
  2. {% block head %}
  3.     <title>{{ 'pages.service.sign_in.reglament_to_title_single'|trans({'%name%': modelTitle}, 'dc_toyota')|raw }}</title>
  4.     <meta name="description" content="{{ 'pages.service.sign_in.reglament_to_desc_single'|trans({'%name%': modelTitle}, 'dc_toyota')|raw }}" />
  5.     {% if app.request.get('serviceType') %}
  6.         <meta name="robots" content="noindex" />
  7.     {% endif %}
  8.     <link rel="stylesheet" type="text/css" href="/dist/{{ MODE }}/dcsite/toyota/css/toyotaServiceRegulationsToModel.css?{{ VERSION }}">
  9. {% endblock %}
  10. {% block ogtagDynamic %}
  11.     <meta property="og:title" content="{{ 'pages.service.sign_in.reglament_to_title_single'|trans({'%name%': modelTitle}, 'dc_toyota')|raw }}"/>
  12.     <meta property="og:description" content="{{ 'pages.service.sign_in.reglament_to_desc_single'|trans({'%name%': modelTitle}, 'dc_toyota')|raw }}"/>
  13. {% endblock %}
  14. {% block content %}
  15.     <main class="page signin">
  16.             <section class="breadcrumbs__new">
  17.                 <div class="container">
  18.                     <ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  19.                         <li class="marker__none" itemprop="itemListElement" itemscope
  20.                             itemtype="https://schema.org/ListItem">
  21.                             <a itemprop="item" href="{{ path('toyota_homepage') }}">
  22.                                 <span class="breadcrumbs__link" itemprop="name">TOYOTA</span></a>
  23.                             <meta itemprop="position" content="1"/>
  24.                         </li>
  25.                         <div class="arrow-bcs"> ❯ </div>
  26.                         <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  27.                             itemtype="https://schema.org/ListItem">
  28.                             <a itemprop="item" href="{{ path('toyota_service_sign_in') }}">
  29.                             <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ 'base.service.index'|trans({}, 'dc_toyota') }}</span></a>
  30.                             <meta itemprop="position" content="2"/>
  31.                         </li>
  32.                         <div class="arrow-bcs"> ❯ </div>
  33.                         <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  34.                             itemtype="https://schema.org/ListItem">
  35.                             <a itemprop="item" href="{{ path('toyota_service_regulations_to') }}">
  36.                             <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ 'modules.online-booking.regulation'|trans({}, 'dc_base') }}</span></a>
  37.                             <meta itemprop="position" content="3"/>
  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.                             <span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ modelTitle }}</span>
  43.                             <meta itemprop="position" content="4"/>
  44.                         </li>
  45.                     </ol>
  46.                 </div>
  47.             </section>
  48.         {% include '@DcSite/Modules/reglament-to/index.html.twig' with {'servicePath' : 'toyota_service_sign_in', 'modelTitle': 'Toyota ' ~ modelTitle} %}
  49.     </main>
  50. {% endblock %}
  51. {% block script %}
  52.     <script src="/dist/{{ MODE }}/dcsite/toyota/js/toyotaServiceRegulationsToModel.js?{{ VERSION }}"></script>
  53.     <script>
  54.         $(() => {
  55.             window.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.     </script>
  64. {% endblock %}