<?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;
/* default/activiteDetail.html.twig */
class __TwigTemplate_2728ef3d4ab68112056ec97399d48323e6c8cd956a65b857f382825314f8ed42 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/activiteDetail.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/activiteDetail.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "default/activiteDetail.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 4
echo "<meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, twig_striptags(twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 4, $this->source); })()), "description", [], "any", false, false, false, 4)), "html", null, true);
echo "\">
<title>";
// line 5
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 5, $this->source); })()), "titre", [], "any", false, false, false, 5), "html", null, true);
echo " LIONS CLUB Laclaireau | comté de Chiny </title>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 8
echo "<div class=\"container\">
<div class=\"tr-content\">
<div class=\"row\">
<div class=\"col-md-12 col-lg-12 tr-sticky\">
<div class=\"theiaStickySidebar\">
<div class=\"breadcrumbs\">
<a href=\"";
// line 14
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_default");
echo "\">Accueil</a>
<span>/ </span>";
// line 15
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 15, $this->source); })()), "titre", [], "any", false, false, false, 15), "html", null, true);
echo "
</div>
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"blog-post\">
<div class=\"blog-post-content\">
<div class=\"blog-list-desc\">
<h3>";
// line 24
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 24, $this->source); })()), "titre", [], "any", false, false, false, 24), "html", null, true);
echo "</h3>
<label>
<span> le ";
// line 26
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 26, $this->source); })()), "date", [], "any", false, false, false, 26), "d"), "html", null, true);
echo "
";
// line 27
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 27, $this->source); })()), "date", [], "any", false, false, false, 27), "m"), "01"))) {
echo "Janvier";
}
// line 28
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 28, $this->source); })()), "date", [], "any", false, false, false, 28), "m"), "02"))) {
echo "Février";
}
// line 29
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 29, $this->source); })()), "date", [], "any", false, false, false, 29), "m"), "03"))) {
echo "Mars";
}
// line 30
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 30, $this->source); })()), "date", [], "any", false, false, false, 30), "m"), "04"))) {
echo "Avril";
}
// line 31
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 31, $this->source); })()), "date", [], "any", false, false, false, 31), "m"), "05"))) {
echo "Mai";
}
// line 32
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 32, $this->source); })()), "date", [], "any", false, false, false, 32), "m"), "06"))) {
echo "Juin";
}
// line 33
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 33, $this->source); })()), "date", [], "any", false, false, false, 33), "m"), "07"))) {
echo "Juillet";
}
// line 34
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 34, $this->source); })()), "date", [], "any", false, false, false, 34), "m"), "08"))) {
echo "Août";
}
// line 35
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 35, $this->source); })()), "date", [], "any", false, false, false, 35), "m"), "09"))) {
echo "Septembre";
}
// line 36
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 36, $this->source); })()), "date", [], "any", false, false, false, 36), "m"), "10"))) {
echo "Octobre";
}
// line 37
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 37, $this->source); })()), "date", [], "any", false, false, false, 37), "m"), "11"))) {
echo "Novembre";
}
// line 38
echo " ";
if ((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 38, $this->source); })()), "date", [], "any", false, false, false, 38), "m"), "12"))) {
echo "Décembre";
}
// line 39
echo " ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 39, $this->source); })()), "date", [], "any", false, false, false, 39), "Y"), "html", null, true);
echo "
</label>
</div>
<div class=\"blog-image\">
";
// line 44
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 44, $this->source); })()), "image", [], "any", false, false, false, 44), "ok"))) {
// line 45
echo "<img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" . twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 45, $this->source); })()), "image", [], "any", false, false, false, 45))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 45, $this->source); })()), "titre", [], "any", false, false, false, 45), "html", null, true);
echo "\" class=\"img-thumbnail\">
";
}
// line 48
echo " </div>
<div class=\"blog-text\">
";
// line 51
echo twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 51, $this->source); })()), "description", [], "any", false, false, false, 51);
echo "
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "default/activiteDetail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 213 => 51, 208 => 48, 199 => 45, 197 => 44, 188 => 39, 183 => 38, 178 => 37, 173 => 36, 168 => 35, 163 => 34, 158 => 33, 153 => 32, 148 => 31, 143 => 30, 138 => 29, 133 => 28, 129 => 27, 125 => 26, 120 => 24, 108 => 15, 104 => 14, 96 => 8, 86 => 7, 74 => 5, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}
<meta name=\"description\" content=\"{{article.description|striptags}}\">
<title>{{article.titre}} LIONS CLUB Laclaireau | comté de Chiny </title>
{% endblock %}
{% block body %}
<div class=\"container\">
<div class=\"tr-content\">
<div class=\"row\">
<div class=\"col-md-12 col-lg-12 tr-sticky\">
<div class=\"theiaStickySidebar\">
<div class=\"breadcrumbs\">
<a href=\"{{path('app_default')}}\">Accueil</a>
<span>/ </span>{{article.titre}}
</div>
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"blog-post\">
<div class=\"blog-post-content\">
<div class=\"blog-list-desc\">
<h3>{{article.titre}}</h3>
<label>
<span> le {{article.date|date('d')}}
{% if article.date|date('m') == '01' %}Janvier{% endif %}
{% if article.date|date('m') == '02' %}Février{% endif %}
{% if article.date|date('m') == '03' %}Mars{% endif %}
{% if article.date|date('m') == '04' %}Avril{% endif %}
{% if article.date|date('m') == '05' %}Mai{% endif %}
{% if article.date|date('m') == '06' %}Juin{% endif %}
{% if article.date|date('m') == '07' %}Juillet{% endif %}
{% if article.date|date('m') == '08' %}Août{% endif %}
{% if article.date|date('m') == '09' %}Septembre{% endif %}
{% if article.date|date('m') == '10' %}Octobre{% endif %}
{% if article.date|date('m') == '11' %}Novembre{% endif %}
{% if article.date|date('m') == '12' %}Décembre{% endif %}
{{article.date|date('Y')}}
</label>
</div>
<div class=\"blog-image\">
{% if article.image != 'ok' %}
<img src=\"{{asset('uploads/'~article.image)}}\" alt=\"{{article.titre}}\" class=\"img-thumbnail\">
{% endif %}
</div>
<div class=\"blog-text\">
{{article.description|raw}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}", "default/activiteDetail.html.twig", "/home/clients/f5f18e1c12eb94b017fc21ce592a0855/web/templates/default/activiteDetail.html.twig");
}
}