var/cache/dev/fr/vpauto/twig/20/208f4aa7cceea49996b57f2fda63fe0e.php line 54

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Frontend/landing/cgv-pro.html.twig */
  14. class __TwigTemplate_7d9e87752c99df570f65a4da16dca040 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'meta_robot' => [$this'block_meta_robot'],
  24.             'meta_title' => [$this'block_meta_title'],
  25.             'meta_desc' => [$this'block_meta_desc'],
  26.             'body_content' => [$this'block_body_content'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "frontend/frontend_pro.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/landing/cgv-pro.html.twig"));
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/landing/cgv-pro.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/landing/cgv-pro.html.twig"));
  43.         $this->parent $this->loadTemplate("frontend/frontend_pro.html.twig""Frontend/landing/cgv-pro.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_meta_robot($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robot"));
  58.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  59.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robot"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robot"));
  62.         // line 4
  63.         echo "    ";
  64.         $this->displayParentBlock("meta_robot"$context$blocks);
  65.         echo "
  66.     <link rel=\"canonical\" href=\"";
  67.         // line 5
  68.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("frontend_cgv_pro");
  69.         echo "\"/>
  70.     ";
  71.         // line 6
  72.         echo twig_source($this->env"stubs/seo/robots_noindex_nofollow.html.twig");
  73.         echo "
  74. ";
  75.         
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  77.         
  78.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.     }
  82.     // line 9
  83.     public function block_meta_title($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  88.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  89.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  92.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.landing.cgv-pro.title", [], "seo"), "html"nulltrue);
  93.         
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  95.         
  96.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  97.         
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  99.     }
  100.     // line 10
  101.     public function block_meta_desc($context, array $blocks = [])
  102.     {
  103.         $macros $this->macros;
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc"));
  106.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  107.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc"));
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc"));
  110.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.landing.cgv-pro.desc", [], "seo"), "html"nulltrue);
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  115.         
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  117.     }
  118.     // line 12
  119.     public function block_body_content($context, array $blocks = [])
  120.     {
  121.         $macros $this->macros;
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  124.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  125.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  128.         // line 13
  129.         echo "    ";
  130.         if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL"))) {
  131.             // line 14
  132.             echo "        ";
  133.             $this->loadTemplate("/Frontend/landing/cgv/pro/pt/portugal_pro_content.html.twig""Frontend/landing/cgv-pro.html.twig"14)->display(twig_array_merge($context, ["header" => true]));
  134.             // line 15
  135.             echo "    ";
  136.         } elseif ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_BELGIUM"))) {
  137.             // line 16
  138.             echo "        ";
  139.             $this->loadTemplate("/Frontend/landing/cgv/pro/be/belgium_pro_content.html.twig""Frontend/landing/cgv-pro.html.twig"16)->display(twig_array_merge($context, ["header" => true]));
  140.             // line 17
  141.             echo "    ";
  142.         } elseif ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_SPAIN"))) {
  143.             // line 18
  144.             echo "        ";
  145.             $this->loadTemplate("/Frontend/landing/cgv/pro/es/spain_pro_content.html.twig""Frontend/landing/cgv-pro.html.twig"18)->display(twig_array_merge($context, ["header" => true]));
  146.             // line 19
  147.             echo "    ";
  148.         } else {
  149.             // line 20
  150.             echo "        ";
  151.             $this->loadTemplate("/Frontend/landing/cgv/pro/_cgv_pro_content.html.twig""Frontend/landing/cgv-pro.html.twig"20)->display(twig_array_merge($context, ["header" => true]));
  152.             // line 21
  153.             echo "    ";
  154.         }
  155.         
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  157.         
  158.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  159.         
  160.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  161.     }
  162.     public function getTemplateName()
  163.     {
  164.         return "Frontend/landing/cgv-pro.html.twig";
  165.     }
  166.     public function isTraitable()
  167.     {
  168.         return false;
  169.     }
  170.     public function getDebugInfo()
  171.     {
  172.         return array (  191 => 21,  188 => 20,  185 => 19,  182 => 18,  179 => 17,  176 => 16,  173 => 15,  170 => 14,  167 => 13,  154 => 12,  129 => 10,  104 => 9,  89 => 6,  85 => 5,  80 => 4,  67 => 3,  38 => 1,);
  173.     }
  174.     public function getSourceContext()
  175.     {
  176.         return new Source("{% extends 'frontend/frontend_pro.html.twig' %}
  177. {% block meta_robot %}
  178.     {{ parent() }}
  179.     <link rel=\"canonical\" href=\"{{ url('frontend_cgv_pro') }}\"/>
  180.     {{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
  181. {% endblock %}
  182. {% block meta_title %}{{ 'seo.landing.cgv-pro.title'|trans({}, \"seo\") }}{% endblock %}
  183. {% block meta_desc %}{{ 'seo.landing.cgv-pro.desc'|trans({}, \"seo\") }}{% endblock %}
  184. {% block body_content %}
  185.     {% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
  186.         {% include '/Frontend/landing/cgv/pro/pt/portugal_pro_content.html.twig' with {'header': true } %}
  187.     {% elseif is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_BELGIUM')) %}
  188.         {% include '/Frontend/landing/cgv/pro/be/belgium_pro_content.html.twig' with {'header': true } %}
  189.     {% elseif is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_SPAIN')) %}
  190.         {% include '/Frontend/landing/cgv/pro/es/spain_pro_content.html.twig' with {'header': true } %}
  191.     {% else %}
  192.         {% include '/Frontend/landing/cgv/pro/_cgv_pro_content.html.twig' with {'header': true } %}
  193.     {% endif %}
  194. {% endblock body_content %}
  195. ""Frontend/landing/cgv-pro.html.twig""/srv/src/Resources/views/Frontend/landing/cgv-pro.html.twig");
  196.     }
  197. }