var/cache/dev/twig/56/56491691186cba3d22a6f4ffd12155e261effd4889826705349437d7c558c1e9.php line 107

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. /* evenement/single.html.twig */
  14. class __TwigTemplate_634c11b6664978bf751dd2498c2dc17fb58d9092089297ee4b9bc60f1fbb8fc2 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.             'stylesheets' => [$this'block_stylesheets'],
  24.             'title' => [$this'block_title'],
  25.             'navigation' => [$this'block_navigation'],
  26.             'slider' => [$this'block_slider'],
  27.             'body' => [$this'block_body'],
  28.             'footer' => [$this'block_footer'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""evenement/single.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""evenement/single.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""evenement/single.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 4
  52.     public function block_stylesheets($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  59.         // line 5
  60.         echo "        ";
  61.         $this->displayParentBlock("stylesheets"$context$blocks);
  62.         echo "
  63.     ";
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     // line 9
  70.     public function block_title($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  77.         $this->displayParentBlock("title"$context$blocks);
  78.         echo " ";
  79.         
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  81.         
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  83.     }
  84.     // line 11
  85.     public function block_navigation($context, array $blocks = [])
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  92.         // line 12
  93.         echo "        ";
  94.         $this->displayParentBlock("navigation"$context$blocks);
  95.         echo "
  96.     ";
  97.         
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  99.         
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  101.     }
  102.     // line 19
  103.     public function block_slider($context, array $blocks = [])
  104.     {
  105.         $macros $this->macros;
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  107.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""slider"));
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  109.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""slider"));
  110.         // line 20
  111.         echo "        ";
  112.         $this->displayParentBlock("slider"$context$blocks);
  113.         echo "
  114.     ";
  115.         
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  117.         
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  119.     }
  120.     // line 26
  121.     public function block_body($context, array $blocks = [])
  122.     {
  123.         $macros $this->macros;
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  125.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  128.         // line 27
  129.         echo "                ";
  130.         // line 30
  131.         echo "
  132.                 <section id=\"content\">
  133.                     <div class=\"container clearfix\">
  134.                         <div class=\"row\" style=\"margin-top: 10px;\">
  135.                             <div class=\"col-lg-3 bottommargin\">
  136.                                 ";
  137.         // line 38
  138.         $this->loadTemplate("evenement/_navigation.html.twig""evenement/single.html.twig"38)->display($context);
  139.         // line 39
  140.         echo "
  141.                             </div>
  142.                             <div class=\"col-lg-9 col-md-6 bottommargin\">
  143.                                 <div class=\"fancy-title title-border\">
  144.                                     <div class=\"entry-title\">
  145.                                         <h2>";
  146.         // line 47
  147.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Evènements", [], "messages");
  148.         echo "</h2>
  149.                                     </div>
  150.                                 </div>
  151.                                 <div id=\"home-recent-news\">
  152.                                     <div class=\"spost clearfix\">
  153.                                         <div class=\"entry-image\">
  154.                                             ";
  155.         // line 57
  156.         $context["images"] = 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.'57$this->source); })()), "articleImages", [], "any"falsefalsefalse57);
  157.         // line 58
  158.         echo "                                            ";
  159.         $context['_parent'] = $context;
  160.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["images"]) || array_key_exists("images"$context) ? $context["images"] : (function () { throw new RuntimeError('Variable "images" does not exist.'58$this->source); })()), function ($__image__) use ($context$macros) { $context["image"] = $__image__; return (twig_get_attribute($this->env$this->source$context["image"], "pourLaDescription", [], "any"falsefalsefalse58) == true); }));
  161.         $context['_iterated'] = false;
  162.         foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  163.             // line 59
  164.             echo "                                                <img src=\"";
  165.             echo twig_escape_filter($this->env$this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset($context["image"], "imageFile"));
  166.             echo "\" class=\"image_fade img-sm\" alt=\"image\" style=\"height: 200px; width: auto;\">
  167.                                             ";
  168.             $context['_iterated'] = true;
  169.         }
  170.         if (!$context['_iterated']) {
  171.             // line 61
  172.             echo "                                                <span class=\"fa fa-image fa-2x\"></span>
  173.                                             ";
  174.         }
  175.         $_parent $context['_parent'];
  176.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  177.         $context array_intersect_key($context$_parent) + $_parent;
  178.         // line 63
  179.         echo "
  180.                                         </div>
  181.                                         <div class=\"entry-c\">
  182.                                             <div class=\"entry-title\" style=\"margin-bottom: 20px;\">
  183.                                                 <h4><a href=\"#\">
  184.                                                         ";
  185.         // line 68
  186.         if ((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.'68$this->source); })()), "request", [], "any"falsefalsefalse68), "locale", [], "any"falsefalsefalse68) == "en")) {
  187.             // line 69
  188.             echo "                                                            ";
  189.             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.'69$this->source); })()), "getEnTitre", [], "method"falsefalsefalse69)) ? (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.'69$this->source); })()), "getEnTitre", [], "method"falsefalsefalse69)) : (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.'69$this->source); })()), "titre", [], "any"falsefalsefalse69))), "html"nulltrue);
  190.             echo "
  191.                                                         ";
  192.         } else {
  193.             // line 71
  194.             echo "                                                            ";
  195.             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.'71$this->source); })()), "titre", [], "any"falsefalsefalse71), "html"nulltrue);
  196.             echo "
  197.                                                         ";
  198.         }
  199.         // line 73
  200.         echo "                                                    </a></h4>
  201.                                                 <small>";
  202.         // line 75
  203.         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.'75$this->source); })()), "dateAjoutAt", [], "any"falsefalsefalse75), "d-m-Y"), "html"nulltrue);
  204.         echo "</small>
  205.                                             </div>
  206.                                             <p>
  207.                                                 ";
  208.         // line 79
  209.         if ((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.'79$this->source); })()), "request", [], "any"falsefalsefalse79), "locale", [], "any"falsefalsefalse79) == "en")) {
  210.             // line 80
  211.             echo "                                                    ";
  212.             ((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.'80$this->source); })()), "getEnContenu", [], "method"falsefalsefalse80)) ? (print (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.'80$this->source); })()), "getEnContenu", [], "method"falsefalsefalse80), "html"nulltrue))) : (print (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.'80$this->source); })()), "contenu", [], "any"falsefalsefalse80))));
  213.             echo "
  214.                                                 ";
  215.         } else {
  216.             // line 82
  217.             echo "                                                    ";
  218.             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.'82$this->source); })()), "contenu", [], "any"falsefalsefalse82);
  219.             echo "
  220.                                                 ";
  221.         }
  222.         // line 84
  223.         echo "                                            </p>
  224.                                         </div>
  225.                                     </div>
  226.                                 </div>
  227.                             </div>
  228.                         </div>
  229.                     </div>
  230.                 </section>
  231.             ";
  232.         
  233.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  234.         
  235.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  236.     }
  237.     // line 105
  238.     public function block_footer($context, array $blocks = [])
  239.     {
  240.         $macros $this->macros;
  241.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  242.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  243.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  244.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  245.         // line 106
  246.         echo "        ";
  247.         $this->displayParentBlock("footer"$context$blocks);
  248.         echo "
  249.     ";
  250.         
  251.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  252.         
  253.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  254.     }
  255.     // line 114
  256.     public function block_javascripts($context, array $blocks = [])
  257.     {
  258.         $macros $this->macros;
  259.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  260.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  261.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  262.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  263.         // line 115
  264.         echo "        ";
  265.         $this->displayParentBlock("javascripts"$context$blocks);
  266.         echo "
  267.     ";
  268.         
  269.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  270.         
  271.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  272.     }
  273.     public function getTemplateName()
  274.     {
  275.         return "evenement/single.html.twig";
  276.     }
  277.     public function isTraitable()
  278.     {
  279.         return false;
  280.     }
  281.     public function getDebugInfo()
  282.     {
  283.         return array (  327 => 115,  317 => 114,  304 => 106,  294 => 105,  269 => 84,  263 => 82,  257 => 80,  255 => 79,  248 => 75,  244 => 73,  238 => 71,  232 => 69,  230 => 68,  223 => 63,  216 => 61,  208 => 59,  202 => 58,  200 => 57,  187 => 47,  177 => 39,  175 => 38,  165 => 30,  163 => 27,  153 => 26,  140 => 20,  130 => 19,  117 => 12,  107 => 11,  87 => 9,  74 => 5,  64 => 4,  41 => 1,);
  284.     }
  285.     public function getSourceContext()
  286.     {
  287.         return new Source("{% extends 'base.html.twig' %}
  288.     {#<!-- Stylesheets
  289. \t============================================= -->#}
  290.     {% block stylesheets %}
  291.         {{ parent() }}
  292.     {% endblock stylesheets %}
  293.     {#<!-- Document Title
  294. \t============================================= -->#}
  295.     {% block title %}{{ parent() }} {% endblock title %}
  296.     {% block navigation %}
  297.         {{ parent() }}
  298.     {% endblock navigation %}
  299.     {#<!-- Slider
  300. \t\t============================================= -->#}
  301.     {# SLIDER #}
  302.     {% block slider %}
  303.         {{ parent() }}
  304.     {% endblock slider %}
  305.     {#<!-- Content
  306. \t\t============================================= -->#}
  307.             {% block body %}
  308.                 {# FIL D ARIANE
  309.                 {% include'_general_includes/_fildariane.html.twig' %}
  310.                 {#<!-- #page-title end -->#}
  311.                 <section id=\"content\">
  312.                     <div class=\"container clearfix\">
  313.                         <div class=\"row\" style=\"margin-top: 10px;\">
  314.                             <div class=\"col-lg-3 bottommargin\">
  315.                                 {% include'evenement/_navigation.html.twig' %}
  316.                             </div>
  317.                             <div class=\"col-lg-9 col-md-6 bottommargin\">
  318.                                 <div class=\"fancy-title title-border\">
  319.                                     <div class=\"entry-title\">
  320.                                         <h2>{% trans %}Evènements{% endtrans %}</h2>
  321.                                     </div>
  322.                                 </div>
  323.                                 <div id=\"home-recent-news\">
  324.                                     <div class=\"spost clearfix\">
  325.                                         <div class=\"entry-image\">
  326.                                             {% set images = article.articleImages %}
  327.                                             {% for image in images | filter(image => image.pourLaDescription == true) %}
  328.                                                 <img src=\"{{ vich_uploader_asset(image, 'imageFile') |e }}\" class=\"image_fade img-sm\" alt=\"image\" style=\"height: 200px; width: auto;\">
  329.                                             {% else %}
  330.                                                 <span class=\"fa fa-image fa-2x\"></span>
  331.                                             {% endfor %}
  332.                                         </div>
  333.                                         <div class=\"entry-c\">
  334.                                             <div class=\"entry-title\" style=\"margin-bottom: 20px;\">
  335.                                                 <h4><a href=\"#\">
  336.                                                         {% if app.request.locale == \"en\" %}
  337.                                                             {{ article.getEnTitre() ? article.getEnTitre() : article.titre }}
  338.                                                         {% else %}
  339.                                                             {{ article.titre }}
  340.                                                         {% endif %}
  341.                                                     </a></h4>
  342.                                                 <small>{{ article.dateAjoutAt | date('d-m-Y') }}</small>
  343.                                             </div>
  344.                                             <p>
  345.                                                 {% if app.request.locale == \"en\" %}
  346.                                                     {{ article.getEnContenu() ? article.getEnContenu() : article.contenu | raw }}
  347.                                                 {% else %}
  348.                                                     {{ article.contenu | raw }}
  349.                                                 {% endif %}
  350.                                             </p>
  351.                                         </div>
  352.                                     </div>
  353.                                 </div>
  354.                             </div>
  355.                         </div>
  356.                     </div>
  357.                 </section>
  358.             {% endblock body %}
  359.     {#<!-- #content end -->#}
  360.     {#<!-- Footer
  361. \t\t============================================= -->#}
  362.     {% block footer %}
  363.         {{ parent() }}
  364.     {% endblock footer %}
  365.     {#<!-- #footer end -->#}
  366.     {#<!-- JavaScripts
  367. \t============================================= -->#}
  368.     {% block javascripts %}
  369.         {{ parent() }}
  370.     {% endblock javascripts %}
  371. ""evenement/single.html.twig""/var/www/vhosts/comorostourism/templates/evenement/single.html.twig");
  372.     }
  373. }