var/cache/dev/fr/vpauto/twig/7b/7bfd69adcd767b967687d38afca71257.php line 53

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/wiki/list_fr.html.twig */
  14. class __TwigTemplate_05150bb28792e6065afdb0bfe8622769 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_title' => [$this'block_meta_title'],
  24.             'meta_desc' => [$this'block_meta_desc'],
  25.             'body_content' => [$this'block_body_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "frontend/frontend.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/wiki/list_fr.html.twig"));
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/wiki/list_fr.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/wiki/list_fr.html.twig"));
  42.         $this->parent $this->loadTemplate("frontend/frontend.html.twig""Frontend/wiki/list_fr.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     public function block_meta_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  57.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  58.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  61.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.france.blog.title", [], "seo"), "html"nulltrue);
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     // line 4
  70.     public function block_meta_desc($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc"));
  75.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  76.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc"));
  79.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.france.blog.desc", [], "seo"), "html"nulltrue);
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.         
  83.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  84.         
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  86.     }
  87.     // line 6
  88.     public function block_body_content($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  93.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  94.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  97.         // line 7
  98.         echo "    <div class=\"wiki-france\">
  99.         <div class=\"landing-header\">
  100.             <h1 class=\"titre05\">
  101.                 ";
  102.         // line 10
  103.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.title"), "html"nulltrue);
  104.         echo "
  105.             </h1>
  106.         </div>
  107.         <div class=\"landing-content\">
  108.             <div>
  109.                 <div class=\"liste07 marginT30\">
  110.                     <span><span class=\"blog-fr-filter active\" data-filter=\"\">";
  111.         // line 16
  112.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.category.all"), "html"nulltrue);
  113.         echo "</span></span>
  114.                     <span><span class=\"blog-fr-filter\" data-filter=\"conseils\">";
  115.         // line 17
  116.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.category.conseils"), "html"nulltrue);
  117.         echo "</span></span>
  118.                     <span><span class=\"blog-fr-filter\" data-filter=\"actualites\">";
  119.         // line 18
  120.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.category.actualites"), "html"nulltrue);
  121.         echo "</span></span>
  122.                     <span><span class=\"blog-fr-filter\" data-filter=\"guide\">";
  123.         // line 19
  124.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.category.guide"), "html"nulltrue);
  125.         echo "</span></span>
  126.                 </div>
  127.                 <div class=\"clearfix marginT10\">
  128.                     ";
  129.         // line 22
  130.         $context['_parent'] = $context;
  131.         $context['_seq'] = twig_ensure_traversable((isset($context["wikis"]) || array_key_exists("wikis"$context) ? $context["wikis"] : (function () { throw new RuntimeError('Variable "wikis" does not exist.'22$this->source); })()));
  132.         $context['loop'] = [
  133.           'parent' => $context['_parent'],
  134.           'index0' => 0,
  135.           'index'  => 1,
  136.           'first'  => true,
  137.         ];
  138.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  139.             $length count($context['_seq']);
  140.             $context['loop']['revindex0'] = $length 1;
  141.             $context['loop']['revindex'] = $length;
  142.             $context['loop']['length'] = $length;
  143.             $context['loop']['last'] = === $length;
  144.         }
  145.         foreach ($context['_seq'] as $context["_key"] => $context["wiki"]) {
  146.             // line 23
  147.             echo "                        ";
  148.             $this->loadTemplate("/Frontend/wiki/list_item_fr.html.twig""Frontend/wiki/list_fr.html.twig"23)->display(twig_array_merge($context, ["wiki" => $context["wiki"]]));
  149.             // line 24
  150.             echo "                    ";
  151.             ++$context['loop']['index0'];
  152.             ++$context['loop']['index'];
  153.             $context['loop']['first'] = false;
  154.             if (isset($context['loop']['length'])) {
  155.                 --$context['loop']['revindex0'];
  156.                 --$context['loop']['revindex'];
  157.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  158.             }
  159.         }
  160.         $_parent $context['_parent'];
  161.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['wiki'], $context['_parent'], $context['loop']);
  162.         $context array_intersect_key($context$_parent) + $_parent;
  163.         // line 25
  164.         echo "                </div>
  165.                 <div class=\"txtcenter\">
  166.                     <a href=\"";
  167.         // line 27
  168.         if ((( !(null === twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'27$this->source); })()), "user", [], "any"falsefalsefalse27)) && $this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'27$this->source); })()), "user", [], "any"falsefalsefalse27))) || ("pro" == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'27$this->source); })()), "session", [], "any"falsefalsefalse27), "get", [=> "dimension"], "method"falsefalsefalse27)))) {
  169.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_fr_pro");
  170.         } else {
  171.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_fr");
  172.         }
  173.         echo "\" class=\"lien10\" title=\"\">";
  174.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.seeall"), "html"nulltrue);
  175.         echo "</a>
  176.                 </div>
  177.             </div>
  178.         </div>
  179.     </div>
  180.     <!--Footer -->
  181.     ";
  182.         // line 33
  183.         if ((( !(null === twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'33$this->source); })()), "user", [], "any"falsefalsefalse33)) && $this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'33$this->source); })()), "user", [], "any"falsefalsefalse33))) || ("pro" == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'33$this->source); })()), "session", [], "any"falsefalsefalse33), "get", [=> "dimension"], "method"falsefalsefalse33)))) {
  184.             // line 34
  185.             echo "        ";
  186.             $this->loadTemplate("frontend/footer_pro.html.twig""Frontend/wiki/list_fr.html.twig"34)->display($context);
  187.             // line 35
  188.             echo "    ";
  189.         } else {
  190.             // line 36
  191.             echo "        ";
  192.             $this->loadTemplate("frontend/footer.html.twig""Frontend/wiki/list_fr.html.twig"36)->display($context);
  193.             // line 37
  194.             echo "    ";
  195.         }
  196.         // line 38
  197.         echo "    <!-- FIN Footer -->
  198. ";
  199.         
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  201.         
  202.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  203.         
  204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  205.     }
  206.     public function getTemplateName()
  207.     {
  208.         return "Frontend/wiki/list_fr.html.twig";
  209.     }
  210.     public function isTraitable()
  211.     {
  212.         return false;
  213.     }
  214.     public function getDebugInfo()
  215.     {
  216.         return array (  228 => 38,  225 => 37,  222 => 36,  219 => 35,  216 => 34,  214 => 33,  199 => 27,  195 => 25,  181 => 24,  178 => 23,  161 => 22,  155 => 19,  151 => 18,  147 => 17,  143 => 16,  134 => 10,  129 => 7,  116 => 6,  91 => 4,  66 => 3,  37 => 1,);
  217.     }
  218.     public function getSourceContext()
  219.     {
  220.         return new Source("{% extends 'frontend/frontend.html.twig' %}
  221. {% block meta_title %}{{ 'seo.france.blog.title'|trans({}, \"seo\") }}{% endblock %}
  222. {% block meta_desc %}{{ 'seo.france.blog.desc'|trans({}, \"seo\") }}{% endblock %}
  223. {% block body_content %}
  224.     <div class=\"wiki-france\">
  225.         <div class=\"landing-header\">
  226.             <h1 class=\"titre05\">
  227.                 {{ 'frontend.france.blog.title'|trans }}
  228.             </h1>
  229.         </div>
  230.         <div class=\"landing-content\">
  231.             <div>
  232.                 <div class=\"liste07 marginT30\">
  233.                     <span><span class=\"blog-fr-filter active\" data-filter=\"\">{{ 'frontend.france.blog.category.all'|trans }}</span></span>
  234.                     <span><span class=\"blog-fr-filter\" data-filter=\"conseils\">{{ 'frontend.france.blog.category.conseils'|trans }}</span></span>
  235.                     <span><span class=\"blog-fr-filter\" data-filter=\"actualites\">{{ 'frontend.france.blog.category.actualites'|trans }}</span></span>
  236.                     <span><span class=\"blog-fr-filter\" data-filter=\"guide\">{{ 'frontend.france.blog.category.guide'|trans }}</span></span>
  237.                 </div>
  238.                 <div class=\"clearfix marginT10\">
  239.                     {% for wiki in wikis %}
  240.                         {% include '/Frontend/wiki/list_item_fr.html.twig' with {'wiki': wiki} %}
  241.                     {% endfor %}
  242.                 </div>
  243.                 <div class=\"txtcenter\">
  244.                     <a href=\"{% if (app.user is not null and app.user is pro) or 'pro' == app.session.get('dimension') %}{{ path('frontend_wiki_list_fr_pro') }}{% else %}{{ path('frontend_wiki_list_fr') }}{% endif %}\" class=\"lien10\" title=\"\">{{ 'frontend.france.blog.seeall'|trans }}</a>
  245.                 </div>
  246.             </div>
  247.         </div>
  248.     </div>
  249.     <!--Footer -->
  250.     {% if (app.user is not null and app.user is pro) or 'pro' == app.session.get('dimension') %}
  251.         {% include 'frontend/footer_pro.html.twig' %}
  252.     {% else %}
  253.         {% include 'frontend/footer.html.twig' %}
  254.     {% endif %}
  255.     <!-- FIN Footer -->
  256. {% endblock body_content %}
  257. ""Frontend/wiki/list_fr.html.twig""/srv/src/Resources/views/Frontend/wiki/list_fr.html.twig");
  258.     }
  259. }