var/cache/dev/twig/05/05eb70d95ebb86bb1cd15ac81e2c625ac53a66294aeda50a32623a06d73d336a.php line 70

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. /* default/activiteDetail.html.twig */
  14. class __TwigTemplate_2728ef3d4ab68112056ec97399d48323e6c8cd956a65b857f382825314f8ed42 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 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/activiteDetail.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/activiteDetail.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""default/activiteDetail.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         // line 4
  55.         echo "<meta name=\"description\" content=\"";
  56.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse4)), "html"nulltrue);
  57.         echo "\">
  58. <title>";
  59.         // line 5
  60.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse5), "html"nulltrue);
  61.         echo " LIONS CLUB Laclaireau | comté de Chiny </title>
  62. ";
  63.         
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  65.         
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  67.     }
  68.     // line 7
  69.     public function block_body($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  76.         // line 8
  77.         echo "<div class=\"container\">
  78. <div class=\"tr-content\">
  79. <div class=\"row\">
  80. <div class=\"col-md-12 col-lg-12 tr-sticky\">
  81. <div class=\"theiaStickySidebar\">
  82.     <div class=\"breadcrumbs\">
  83.         <a href=\"";
  84.         // line 14
  85.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_default");
  86.         echo "\">Accueil</a>
  87.         <span>/&nbsp;</span>";
  88.         // line 15
  89.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse15), "html"nulltrue);
  90.         echo "
  91.     </div>
  92. <div class=\"row\">
  93.         <div class=\"col-lg-12\">
  94.     <div class=\"blog-post\">
  95.     <div class=\"blog-post-content\">
  96.         <div class=\"blog-list-desc\">
  97.         <h3>";
  98.         // line 24
  99.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse24), "html"nulltrue);
  100.         echo "</h3>
  101.         <label>
  102. <span> le ";
  103.         // line 26
  104.         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_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"falsefalsefalse26), "d"), "html"nulltrue);
  105.         echo 
  106.                 ";
  107.         // line 27
  108.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse27), "m"), "01"))) {
  109.             echo "Janvier";
  110.         }
  111.         // line 28
  112.         echo "                ";
  113.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse28), "m"), "02"))) {
  114.             echo "Février";
  115.         }
  116.         // line 29
  117.         echo "                ";
  118.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse29), "m"), "03"))) {
  119.             echo "Mars";
  120.         }
  121.         // line 30
  122.         echo "                ";
  123.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse30), "m"), "04"))) {
  124.             echo "Avril";
  125.         }
  126.         // line 31
  127.         echo "                ";
  128.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse31), "m"), "05"))) {
  129.             echo "Mai";
  130.         }
  131.         // line 32
  132.         echo "                ";
  133.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse32), "m"), "06"))) {
  134.             echo "Juin";
  135.         }
  136.         // line 33
  137.         echo "                ";
  138.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse33), "m"), "07"))) {
  139.             echo "Juillet";
  140.         }
  141.         // line 34
  142.         echo "                ";
  143.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse34), "m"), "08"))) {
  144.             echo "Août";
  145.         }
  146.         // line 35
  147.         echo "                ";
  148.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse35), "m"), "09"))) {
  149.             echo "Septembre";
  150.         }
  151.         // line 36
  152.         echo "                ";
  153.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse36), "m"), "10"))) {
  154.             echo "Octobre";
  155.         }
  156.         // line 37
  157.         echo "                ";
  158.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse37), "m"), "11"))) {
  159.             echo "Novembre";
  160.         }
  161.         // line 38
  162.         echo "                ";
  163.         if ((=== twig_compare(twig_date_format_filter($this->envtwig_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"falsefalsefalse38), "m"), "12"))) {
  164.             echo "Décembre";
  165.         }
  166.         // line 39
  167.         echo "             ";
  168.         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_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"falsefalsefalse39), "Y"), "html"nulltrue);
  169.         echo "
  170. </label>
  171.         </div>
  172.         <div class=\"blog-image\">
  173.         ";
  174.         // line 44
  175.         if ((!== 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"falsefalsefalse44), "ok"))) {
  176.             // line 45
  177.             echo "<img src=\"";
  178.             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"falsefalsefalse45))), "html"nulltrue);
  179.             echo "\" alt=\"";
  180.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse45), "html"nulltrue);
  181.             echo "\" class=\"img-thumbnail\">
  182. ";
  183.         }
  184.         // line 48
  185.         echo "        </div>
  186.         <div class=\"blog-text\">
  187.         ";
  188.         // line 51
  189.         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"falsefalsefalse51);
  190.         echo "
  191.         </div>
  192.     </div>
  193.     </div>
  194.     </div>
  195.     
  196. </div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. </div>
  203. ";
  204.         
  205.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  206.         
  207.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  208.     }
  209.     public function getTemplateName()
  210.     {
  211.         return "default/activiteDetail.html.twig";
  212.     }
  213.     public function isTraitable()
  214.     {
  215.         return false;
  216.     }
  217.     public function getDebugInfo()
  218.     {
  219.         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,);
  220.     }
  221.     public function getSourceContext()
  222.     {
  223.         return new Source("{% extends 'base.html.twig' %}
  224. {% block title %}
  225. <meta name=\"description\" content=\"{{article.description|striptags}}\">
  226. <title>{{article.titre}} LIONS CLUB Laclaireau | comté de Chiny </title>
  227. {% endblock %}
  228. {% block body %}
  229. <div class=\"container\">
  230. <div class=\"tr-content\">
  231. <div class=\"row\">
  232. <div class=\"col-md-12 col-lg-12 tr-sticky\">
  233. <div class=\"theiaStickySidebar\">
  234.     <div class=\"breadcrumbs\">
  235.         <a href=\"{{path('app_default')}}\">Accueil</a>
  236.         <span>/&nbsp;</span>{{article.titre}}
  237.     </div>
  238. <div class=\"row\">
  239.         <div class=\"col-lg-12\">
  240.     <div class=\"blog-post\">
  241.     <div class=\"blog-post-content\">
  242.         <div class=\"blog-list-desc\">
  243.         <h3>{{article.titre}}</h3>
  244.         <label>
  245. <span> le {{article.date|date('d')}} 
  246.                 {% if article.date|date('m') == '01' %}Janvier{% endif %}
  247.                 {% if article.date|date('m') == '02' %}Février{% endif %}
  248.                 {% if article.date|date('m') == '03' %}Mars{% endif %}
  249.                 {% if article.date|date('m') == '04' %}Avril{% endif %}
  250.                 {% if article.date|date('m') == '05' %}Mai{% endif %}
  251.                 {% if article.date|date('m') == '06' %}Juin{% endif %}
  252.                 {% if article.date|date('m') == '07' %}Juillet{% endif %}
  253.                 {% if article.date|date('m') == '08' %}Août{% endif %}
  254.                 {% if article.date|date('m') == '09' %}Septembre{% endif %}
  255.                 {% if article.date|date('m') == '10' %}Octobre{% endif %}
  256.                 {% if article.date|date('m') == '11' %}Novembre{% endif %}
  257.                 {% if article.date|date('m') == '12' %}Décembre{% endif %}
  258.              {{article.date|date('Y')}}
  259. </label>
  260.         </div>
  261.         <div class=\"blog-image\">
  262.         {% if article.image != 'ok' %}
  263. <img src=\"{{asset('uploads/'~article.image)}}\" alt=\"{{article.titre}}\" class=\"img-thumbnail\">
  264. {% endif %}
  265.         </div>
  266.         <div class=\"blog-text\">
  267.         {{article.description|raw}}
  268.         </div>
  269.     </div>
  270.     </div>
  271.     </div>
  272.     
  273. </div>
  274. </div>
  275. </div>
  276. </div>
  277. </div>
  278. </div>
  279. </div>
  280. {% endblock %}""default/activiteDetail.html.twig""/home/clients/f5f18e1c12eb94b017fc21ce592a0855/web/templates/default/activiteDetail.html.twig");
  281.     }
  282. }