<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Frontend/wiki/list_fr.html.twig */
class __TwigTemplate_05150bb28792e6065afdb0bfe8622769 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta_title' => [$this, 'block_meta_title'],
'meta_desc' => [$this, 'block_meta_desc'],
'body_content' => [$this, 'block_body_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/frontend.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/wiki/list_fr.html.twig"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/wiki/list_fr.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/wiki/list_fr.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontend.html.twig", "Frontend/wiki/list_fr.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_meta_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.france.blog.title", [], "seo"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_meta_desc($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.france.blog.desc", [], "seo"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 6
public function block_body_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
// line 7
echo " <div class=\"wiki-france\">
<div class=\"landing-header\">
<h1 class=\"titre05\">
";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.title"), "html", null, true);
echo "
</h1>
</div>
<div class=\"landing-content\">
<div>
<div class=\"liste07 marginT30\">
<span><span class=\"blog-fr-filter active\" data-filter=\"\">";
// line 16
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.category.all"), "html", null, true);
echo "</span></span>
<span><span class=\"blog-fr-filter\" data-filter=\"conseils\">";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.category.conseils"), "html", null, true);
echo "</span></span>
<span><span class=\"blog-fr-filter\" data-filter=\"actualites\">";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.category.actualites"), "html", null, true);
echo "</span></span>
<span><span class=\"blog-fr-filter\" data-filter=\"guide\">";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.category.guide"), "html", null, true);
echo "</span></span>
</div>
<div class=\"clearfix marginT10\">
";
// line 22
$context['_parent'] = $context;
$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); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["wiki"]) {
// line 23
echo " ";
$this->loadTemplate("/Frontend/wiki/list_item_fr.html.twig", "Frontend/wiki/list_fr.html.twig", 23)->display(twig_array_merge($context, ["wiki" => $context["wiki"]]));
// line 24
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['wiki'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 25
echo " </div>
<div class=\"txtcenter\">
<a href=\"";
// line 27
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", false, false, false, 27)) && $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", false, false, false, 27))) || ("pro" == twig_get_attribute($this->env, $this->source, 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); })()), "session", [], "any", false, false, false, 27), "get", [0 => "dimension"], "method", false, false, false, 27)))) {
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_fr_pro");
} else {
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_fr");
}
echo "\" class=\"lien10\" title=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.seeall"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
<!--Footer -->
";
// line 33
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", false, false, false, 33)) && $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", false, false, false, 33))) || ("pro" == twig_get_attribute($this->env, $this->source, 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); })()), "session", [], "any", false, false, false, 33), "get", [0 => "dimension"], "method", false, false, false, 33)))) {
// line 34
echo " ";
$this->loadTemplate("frontend/footer_pro.html.twig", "Frontend/wiki/list_fr.html.twig", 34)->display($context);
// line 35
echo " ";
} else {
// line 36
echo " ";
$this->loadTemplate("frontend/footer.html.twig", "Frontend/wiki/list_fr.html.twig", 36)->display($context);
// line 37
echo " ";
}
// line 38
echo " <!-- FIN Footer -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Frontend/wiki/list_fr.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/frontend.html.twig' %}
{% block meta_title %}{{ 'seo.france.blog.title'|trans({}, \"seo\") }}{% endblock %}
{% block meta_desc %}{{ 'seo.france.blog.desc'|trans({}, \"seo\") }}{% endblock %}
{% block body_content %}
<div class=\"wiki-france\">
<div class=\"landing-header\">
<h1 class=\"titre05\">
{{ 'frontend.france.blog.title'|trans }}
</h1>
</div>
<div class=\"landing-content\">
<div>
<div class=\"liste07 marginT30\">
<span><span class=\"blog-fr-filter active\" data-filter=\"\">{{ 'frontend.france.blog.category.all'|trans }}</span></span>
<span><span class=\"blog-fr-filter\" data-filter=\"conseils\">{{ 'frontend.france.blog.category.conseils'|trans }}</span></span>
<span><span class=\"blog-fr-filter\" data-filter=\"actualites\">{{ 'frontend.france.blog.category.actualites'|trans }}</span></span>
<span><span class=\"blog-fr-filter\" data-filter=\"guide\">{{ 'frontend.france.blog.category.guide'|trans }}</span></span>
</div>
<div class=\"clearfix marginT10\">
{% for wiki in wikis %}
{% include '/Frontend/wiki/list_item_fr.html.twig' with {'wiki': wiki} %}
{% endfor %}
</div>
<div class=\"txtcenter\">
<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>
</div>
</div>
</div>
</div>
<!--Footer -->
{% if (app.user is not null and app.user is pro) or 'pro' == app.session.get('dimension') %}
{% include 'frontend/footer_pro.html.twig' %}
{% else %}
{% include 'frontend/footer.html.twig' %}
{% endif %}
<!-- FIN Footer -->
{% endblock body_content %}
", "Frontend/wiki/list_fr.html.twig", "/srv/src/Resources/views/Frontend/wiki/list_fr.html.twig");
}
}