var/cache/dev/twig/16/1669bb595421ccb3ac56efefd730fa3f.php line 80

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. /* front/page/index.html.twig */
  14. class __TwigTemplate_9e2a4dec773f19741c790f5b26bef545 extends 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.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 2
  30.         return "front/base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/page/index.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/page/index.html.twig"));
  39.         $this->parent $this->loadTemplate("front/base.html.twig""front/page/index.html.twig"2);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 4
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("legal_notices.title"), "html"nulltrue);
  55.         echo "
  56. ";
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 7
  63.     public function block_body($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         // line 8
  71.         echo "
  72. <div class=\"overflow-hidden fullheight\">
  73.     <section class=\"mt-0 first-section\">
  74.         <div class=\"container\">
  75.             ";
  76.         // line 12
  77.         if (twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'12$this->source); })()), "title", [], "any"falsefalsefalse12)) {
  78.             // line 13
  79.             echo "            <h2 class=\"section-title-underline\">";
  80.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'13$this->source); })()), "title", [], "any"falsefalsefalse13), "html"nulltrue);
  81.             echo "</h2>
  82.             ";
  83.         } else {
  84.             // line 15
  85.             echo "            <h2 class=\"section-title-underline\">";
  86.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("footer." . (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'15$this->source); })()))), "html"nulltrue);
  87.             echo "</h2>
  88.             ";
  89.         }
  90.         // line 17
  91.         echo "
  92.             ";
  93.         // line 18
  94.         if (twig_test_empty((isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'18$this->source); })()))) {
  95.             // line 19
  96.             echo "                <h3>";
  97.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("legal_notice.pending"), "html"nulltrue);
  98.             echo "</h3>
  99.             ";
  100.         } else {
  101.             // line 21
  102.             echo "                ";
  103.             echo twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'21$this->source); })()), "content", [], "any"falsefalsefalse21);
  104.             echo "
  105.             ";
  106.         }
  107.         // line 23
  108.         echo "        </div>
  109.     </section>
  110. </div>
  111. ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.     }
  117.     /**
  118.      * @codeCoverageIgnore
  119.      */
  120.     public function getTemplateName()
  121.     {
  122.         return "front/page/index.html.twig";
  123.     }
  124.     /**
  125.      * @codeCoverageIgnore
  126.      */
  127.     public function isTraitable()
  128.     {
  129.         return false;
  130.     }
  131.     /**
  132.      * @codeCoverageIgnore
  133.      */
  134.     public function getDebugInfo()
  135.     {
  136.         return array (  127 => 23,  121 => 21,  115 => 19,  113 => 18,  110 => 17,  104 => 15,  98 => 13,  96 => 12,  90 => 8,  80 => 7,  59 => 4,  36 => 2,);
  137.     }
  138.     public function getSourceContext()
  139.     {
  140.         return new Source("
  141. {% extends \"front/base.html.twig\" %}
  142. {% block title %}{{ \"legal_notices.title\" | trans }}
  143. {% endblock %}
  144. {% block body %}
  145. <div class=\"overflow-hidden fullheight\">
  146.     <section class=\"mt-0 first-section\">
  147.         <div class=\"container\">
  148.             {% if info.title %}
  149.             <h2 class=\"section-title-underline\">{{ info.title }}</h2>
  150.             {% else %}
  151.             <h2 class=\"section-title-underline\">{{ (\"footer.\" ~ title) | trans }}</h2>
  152.             {% endif %}
  153.             {% if info is empty %}
  154.                 <h3>{{ \"legal_notice.pending\" | trans }}</h3>
  155.             {% else %}
  156.                 {{ info.content | raw }}
  157.             {% endif %}
  158.         </div>
  159.     </section>
  160. </div>
  161. {% endblock %}
  162. ""front/page/index.html.twig""/var/www/preprod/racket-trip/templates/front/page/index.html.twig");
  163.     }
  164. }