src/Resources/views/Frontend/landing/faq.html.twig line 148

Open in your IDE?
  1. {% extends 'frontend/frontend.html.twig' %}
  2. {% block meta_robot %}
  3.     {{ parent() }}
  4.     <link rel="canonical" href="{{ url('frontend_faq') }}"/>
  5.     {{ source('stubs/seo/robots_index_follow.html.twig') }}
  6. {% endblock %}
  7. {% block meta_title %}{{ 'seo.landing.faq.title'|trans({}, "seo") }}{% endblock %}
  8. {% block meta_desc %}{{ 'seo.landing.faq.desc'|trans({}, "seo") }}{% endblock %}
  9. {% block body_content %}
  10. <div class="faq">
  11.     <div class="landing-header">
  12.         <h1 class="titre05">
  13.             {{ 'frontend.landing.faq.header.title'|trans({}, 'landing') }}
  14.             <span>{{ 'frontend.landing.faq.header.subtitle'|trans({}, 'landing') }}</span>
  15.         </h1>
  16.     </div>
  17.     <div class="landing-content">
  18.         <div>
  19.             {% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL')) %}
  20.                 {% set tel = getParameter('vpautopro.contact.phone_portugal') %}
  21.             {% elseif is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_BELGIUM')) %}
  22.                 {% set tel = getParameter('vpautopro.contact.phone_belgique') %}
  23.             {% elseif is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_SPAIN')) %}
  24.                 {% set tel = getParameter('vpautopro.contact.phone_espagne') %}
  25.             {% else %}
  26.                 {% set tel = getParameter('vpautopro.contact.phone_france') %}
  27.             {% endif %}
  28.             <h2><strong>{{ 'frontend.landing.faq.content.title'|trans({'%tel%' : tel}, 'landing') }}</strong></h2>
  29.             <p class="titre03 marginT20"><strong>{{ 'frontend.landing.faq.content.subtitle'|trans({}, 'landing') }}</strong></p>
  30.             <h2 class="titre01">{{ 'frontend.landing.faq.content.section01.title'|trans({}, 'landing') }}</h2>
  31.             <div>
  32.                 <h3><strong>> {{ 'frontend.landing.faq.content.section01.question01'|trans({}, 'landing') }}</strong></h3>
  33.                 <span>{{ 'frontend.landing.faq.content.section01.answer01.part01'|trans({}, 'landing') }}</span>
  34.             </div>
  35.             <p>{{ 'frontend.landing.faq.content.section01.answer01.part02'|trans({}, 'landing')|raw }}</p>
  36.             {% if not is_current_country([constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_BELGIUM'), constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_SPAIN')]) %}
  37.                 <p>{{ 'frontend.landing.faq.content.section01.answer01.part03'|trans({}, 'landing')|raw }}</p>
  38.             {% endif %}
  39.             <p>{{ 'frontend.landing.faq.content.section01.answer01.part04'|trans({}, 'landing')|raw }}</p>
  40.             <h2 class="titre01">{{ 'frontend.landing.faq.content.section02.title'|trans({}, 'landing') }}</h2>
  41.             <div>
  42.                 <h3><strong>> {{ 'frontend.landing.faq.content.section02.question01'|trans({}, 'landing') }}</strong></h3>
  43.                 <p>{{ 'frontend.landing.faq.content.section02.answer01.part01'|trans({}, 'landing') }}</p>
  44.                 <p class="marginT10">- {{ 'frontend.landing.faq.content.section02.answer01.part02'|trans({}, 'landing') }}</p>
  45.                 <p class="marginT10">- {{ 'frontend.landing.faq.content.section02.answer01.part03'|trans({}, 'landing')|raw }}</p>
  46.                 {# locale based : editorial content #}
  47.                 {% if 'fr' == app.request.locale %}
  48.                     <a href="/bundles/vpauto/pdf/Listedespointscontroles2016.pdf" target="_blank">{{ 'frontend.landing.faq.content.section02.answer01.link01'|trans({}, 'landing') }}</a>
  49.                 {% endif %}
  50.             </div>
  51.             <h2 class="titre01">{{ 'frontend.landing.faq.content.section03.title'|trans({}, 'landing') }}</h2>
  52.             <div>
  53.                 <h3><strong>> {{ 'frontend.landing.faq.content.section03.question01'|trans({}, 'landing') }}</strong></h3>
  54.                 <span>{{ 'frontend.landing.faq.content.section03.answer01'|trans({}, 'landing') }}</span>
  55.             </div>
  56.             {% if not is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL')) %}
  57.             <div>
  58.                 <h3><strong>> {{ 'frontend.landing.faq.content.section03.question02'|trans({}, 'landing') }}</strong></h3>
  59.                 <span>{{ 'frontend.landing.faq.content.section03.answer02'|trans({}, 'landing') }}</span>
  60.             </div>
  61.             {% endif %}
  62.             <div>
  63.                 {% set fee = (
  64.                     is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL'))
  65.                     or 
  66.                     is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_BELGIUM'))
  67.                     or
  68.                     is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_SPAIN'))
  69.                 ) ? 100 : 150 %}
  70.                 <h3><strong>> {{ 'frontend.landing.faq.content.section03.question03'|trans({}, 'landing') }}</strong></h3>
  71.                 <span>{{ 'frontend.landing.faq.content.section03.answer03'|trans({'%fee%': fee}, 'landing') }}</span>
  72.             </div>
  73.             <h2 class="titre01">{{ 'frontend.landing.faq.content.section04.title'|trans({}, 'landing') }}</h2>
  74.             <div>
  75.                 <h3><strong>> {{ 'frontend.landing.faq.content.section04.question01'|trans({}, 'landing') }}</strong></h3>
  76.                 <span>{{ 'frontend.landing.faq.content.section04.answer01'|trans({}, 'landing') }}</span>
  77.             </div>
  78.             <div>
  79.                 <h3><strong>> {{ 'frontend.landing.faq.content.section04.question02'|trans({}, 'landing') }}</strong></h3>
  80.                 <span>{{ 'frontend.landing.faq.content.section04.answer02'|trans({}, 'landing') }}</span>
  81.             </div>
  82.             <div>
  83.                 <h3><strong>> {{ 'frontend.landing.faq.content.section04.question03'|trans({}, 'landing') }}</strong></h3>
  84.                 <span>{{ 'frontend.landing.faq.content.section04.answer03'|trans({}, 'landing')|raw }}</span>
  85.             </div>
  86.             <p>{{ 'frontend.landing.faq.content.section04.text01'|trans({}, 'landing') }}</p>
  87.             <h2 class="titre01">{{ 'frontend.landing.faq.content.section05.title'|trans({}, 'landing') }}</h2>
  88.             <div>
  89.                 <h3><strong>> {{ 'frontend.landing.faq.content.section05.question01'|trans({}, 'landing') }}</strong></h3>
  90.                 <span>{{ 'frontend.landing.faq.content.section05.answer01.part01'|trans({}, 'landing')|raw }}</span>
  91.             </div>
  92.             <p>
  93.                 {{ 'frontend.landing.faq.content.section05.answer01.part02'|trans({'%href%': path('frontend_online_purchase')}, 'landing')|raw }}
  94.             </p>
  95.             <div>
  96.                 <h3><strong>> {{ 'frontend.landing.faq.content.section05.question02'|trans({}, 'landing') }}</strong></h3>
  97.                 <span>{{ 'frontend.landing.faq.content.section05.answer02.part01'|trans({}, 'landing') }}</span>
  98.             </div>
  99.             <p>{{ 'frontend.landing.faq.content.section05.answer02.part02'|trans({}, 'landing') }}</p>
  100.             <p>{{ 'frontend.landing.faq.content.section05.answer02.part03'|trans({}, 'landing') }}</p>
  101.             <p>{{ 'frontend.landing.faq.content.section05.answer02.part04'|trans({}, 'landing')|raw }}</p>
  102.             {% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE')) %}
  103.                 <p>{{ 'frontend.landing.faq.content.section05.answer02.part05'|trans({}, 'landing') }}</p>
  104.                 <p>{{ 'frontend.landing.faq.content.section05.answer02.part06'|trans({}, 'landing') }}</p>
  105.             {% endif %}
  106.             <div>
  107.                 <h3><strong>> {{ 'frontend.landing.faq.content.section05.question03'|trans({}, 'landing') }}</strong></h3>
  108.                 <span>{{ 'frontend.landing.faq.content.section05.answer03'|trans({'%tel%' : tel}, 'landing')|raw }}</span>
  109.             </div>
  110.             <div>
  111.                 <h3><strong>> {{ 'frontend.landing.faq.content.section05.question04'|trans({}, 'landing') }}</strong></h3>
  112.                 <span>{{ 'frontend.landing.faq.content.section05.answer04.part01'|trans({}, 'landing')|raw }}</span>
  113.             </div>
  114.             <p>{{ 'frontend.landing.faq.content.section05.answer04.part02'|trans({}, 'landing')|raw }}</p>
  115.             <div>
  116.                 <h3><strong>> {{ 'frontend.landing.faq.content.section05.question05'|trans({}, 'landing') }}</strong></h3>
  117.                 <span>{{ 'frontend.landing.faq.content.section05.answer05'|trans({'%tel%' : tel}, 'landing')|raw }}</span>
  118.             </div>
  119.             <h2 class="titre01">{{ 'frontend.landing.faq.content.section06.title'|trans({}, 'landing') }}</h2>
  120.             <div>
  121.                 <h3><strong>> {{ 'frontend.landing.faq.content.section06.question01'|trans({}, 'landing') }}</strong></h3>
  122.                 <span>{{ 'frontend.landing.faq.content.section06.answer01'|trans({}, 'landing') }}</span>
  123.             </div>
  124.             <div>
  125.                 <h3><strong>> {{ 'frontend.landing.faq.content.section06.question02'|trans({}, 'landing') }}</strong></h3>
  126.                 <span>{{ 'frontend.landing.faq.content.section06.answer02'|trans({}, 'landing') }}</span>
  127.             </div>
  128.             <div>
  129.                 <h3><strong>> {{ 'frontend.landing.faq.content.section06.question03'|trans({}, 'landing') }}</strong></h3>
  130.                 <span>{{ 'frontend.landing.faq.content.section06.answer03'|trans({}, 'landing')|raw }}</span>
  131.             </div>
  132.         </div>
  133.     </div>
  134.     <a href="#" id="scrollup01">Haut</a>
  135. </div>
  136. <!--Footer -->
  137. {% include 'frontend/footer.html.twig' %}
  138. <!-- FIN Footer -->
  139. {% endblock body_content %}