var/cache/dev/twig/1c/1c8a9d8be1981774189310ebfe7a2e6299281e063ddcb612e183c5b7bf67649b.php line 54

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/all.html.twig */
  14. class __TwigTemplate_ba11ff09b4d0d96b570120f6b439ab6d902ab6b1296118be3c6d53ca597475a9 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/all.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/all.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""evenement/all.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/all.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 46
  147.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Evènements", [], "messages");
  148.         echo "</h2>
  149.                                     </div>
  150.                                 </div>
  151.                                 <div class=\"col-12\">
  152.                                     <div class=\"row posts-md col-mb-30\">
  153.                                         ";
  154.         // line 53
  155.         $context['_parent'] = $context;
  156.         $context['_seq'] = twig_ensure_traversable((isset($context["articles"]) || array_key_exists("articles"$context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.'53$this->source); })()));
  157.         foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
  158.             // line 54
  159.             echo "                                        <div class=\"entry col-sm-6 col-xl-4\">
  160.                                             <div class=\"grid-inner\">
  161.                                                 <div class=\"entry-image\" style=\"border: 1px solid #c4e3f3; border-radius: 10px;\">
  162.                                                     <a href=\"";
  163.             // line 57
  164.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("evenement_single", ["id" => twig_get_attribute($this->env$this->source$context["article"], "id", [], "any"falsefalsefalse57), "slug" => twig_get_attribute($this->env$this->source$context["article"], "getSlug", [], "method"falsefalsefalse57)]), "html"nulltrue);
  165.             echo "\">
  166.                                                     ";
  167.             // line 58
  168.             $context["images"] = twig_get_attribute($this->env$this->source$context["article"], "articleImages", [], "any"falsefalsefalse58);
  169.             // line 59
  170.             echo "                                                    ";
  171.             $context['_parent'] = $context;
  172.             $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.'59$this->source); })()), function ($__image__) use ($context$macros) { $context["image"] = $__image__; return (twig_get_attribute($this->env$this->source$context["image"], "pourLaDescription", [], "any"falsefalsefalse59) == true); }));
  173.             $context['_iterated'] = false;
  174.             foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  175.                 // line 60
  176.                 echo "                                                        <img src=\"";
  177.                 echo twig_escape_filter($this->env$this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset($context["image"], "imageFile"));
  178.                 echo "\" class=\"image_fade img-sm\" alt=\"image\" style=\"height: 200px; width: auto;\">
  179.                                                     ";
  180.                 $context['_iterated'] = true;
  181.             }
  182.             if (!$context['_iterated']) {
  183.                 // line 62
  184.                 echo "                                                        <img src=\"";
  185.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/images/ontc_logo_588x350.png"), "html"nulltrue);
  186.                 echo "\" alt=\"ONTC Logo\" style=\"height: 200px; width: auto;\">
  187.                                                     ";
  188.             }
  189.             $_parent $context['_parent'];
  190.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  191.             $context array_intersect_key($context$_parent) + $_parent;
  192.             // line 64
  193.             echo "                                                    </a>
  194.                                                 </div>
  195.                                                 <div class=\"entry-title title-xs nott\">
  196.                                                     <h3><a href=\"";
  197.             // line 67
  198.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("evenement_single", ["id" => twig_get_attribute($this->env$this->source$context["article"], "id", [], "any"falsefalsefalse67), "slug" => twig_get_attribute($this->env$this->source$context["article"], "getSlug", [], "method"falsefalsefalse67)]), "html"nulltrue);
  199.             echo "\">
  200.                                                             ";
  201.             // line 68
  202.             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")) {
  203.                 // line 69
  204.                 echo "                                                                ";
  205.                 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["article"], "getEnTitre", [], "method"falsefalsefalse69)) ? (twig_get_attribute($this->env$this->source$context["article"], "getEnTitre", [], "method"falsefalsefalse69)) : (twig_get_attribute($this->env$this->source$context["article"], "titre", [], "any"falsefalsefalse69))), "html"nulltrue);
  206.                 echo "
  207.                                                             ";
  208.             } else {
  209.                 // line 71
  210.                 echo "                                                                ";
  211.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "titre", [], "any"falsefalsefalse71), "html"nulltrue);
  212.                 echo "
  213.                                                             ";
  214.             }
  215.             // line 73
  216.             echo "                                                        </a>
  217.                                                     </h3>
  218.                                                 </div>
  219.                                                 <div class=\"entry-content\">
  220.                                                     ";
  221.             // line 78
  222.             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.'78$this->source); })()), "request", [], "any"falsefalsefalse78), "locale", [], "any"falsefalsefalse78) == "en")) {
  223.                 // line 79
  224.                 echo "                                                        <p> ";
  225.                 ((twig_get_attribute($this->env$this->source$context["article"], "getEnContenu", [], "method"falsefalsefalse79)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "getEnContenu", [], "method"falsefalsefalse79), "html"nulltrue))) : (print (twig_slice($this->envstrip_tags(twig_get_attribute($this->env$this->source$context["article"], "getContenu", [], "method"falsefalsefalse79)), 089))));
  226.                 echo "</p>
  227.                                                     ";
  228.             } else {
  229.                 // line 81
  230.                 echo "                                                        <p> ";
  231.                 echo twig_slice($this->envstrip_tags(twig_get_attribute($this->env$this->source$context["article"], "contenu", [], "any"falsefalsefalse81)), 089);
  232.                 echo " ...</p>
  233.                                                     ";
  234.             }
  235.             // line 83
  236.             echo "                                                </div>
  237.                                             </div>
  238.                                         </div>
  239.                                         ";
  240.         }
  241.         $_parent $context['_parent'];
  242.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
  243.         $context array_intersect_key($context$_parent) + $_parent;
  244.         // line 87
  245.         echo "                                    </div>
  246.                                     <div>
  247.                                         ";
  248.         // line 89
  249.         echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["articles"]) || array_key_exists("articles"$context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.'89$this->source); })()));
  250.         echo "
  251.                                     </div>
  252.                                 </div>
  253.                             </div>
  254.                         </div>
  255.                     </div>
  256.                 </section>
  257.             ";
  258.         
  259.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  260.         
  261.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  262.     }
  263.     // line 108
  264.     public function block_footer($context, array $blocks = [])
  265.     {
  266.         $macros $this->macros;
  267.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  268.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  269.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  270.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  271.         // line 109
  272.         echo "        ";
  273.         $this->displayParentBlock("footer"$context$blocks);
  274.         echo "
  275.     ";
  276.         
  277.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  278.         
  279.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  280.     }
  281.     // line 117
  282.     public function block_javascripts($context, array $blocks = [])
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  289.         // line 118
  290.         echo "        ";
  291.         $this->displayParentBlock("javascripts"$context$blocks);
  292.         echo "
  293.     ";
  294.         
  295.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  296.         
  297.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  298.     }
  299.     public function getTemplateName()
  300.     {
  301.         return "evenement/all.html.twig";
  302.     }
  303.     public function isTraitable()
  304.     {
  305.         return false;
  306.     }
  307.     public function getDebugInfo()
  308.     {
  309.         return array (  348 => 118,  338 => 117,  325 => 109,  315 => 108,  291 => 89,  287 => 87,  278 => 83,  272 => 81,  266 => 79,  264 => 78,  257 => 73,  251 => 71,  245 => 69,  243 => 68,  239 => 67,  234 => 64,  225 => 62,  217 => 60,  211 => 59,  209 => 58,  205 => 57,  200 => 54,  196 => 53,  186 => 46,  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,);
  310.     }
  311.     public function getSourceContext()
  312.     {
  313.         return new Source("{% extends 'base.html.twig' %}
  314.     {#<!-- Stylesheets
  315. \t============================================= -->#}
  316.     {% block stylesheets %}
  317.         {{ parent() }}
  318.     {% endblock stylesheets %}
  319.     {#<!-- Document Title
  320. \t============================================= -->#}
  321.     {% block title %}{{ parent() }} {% endblock title %}
  322.     {% block navigation %}
  323.         {{ parent() }}
  324.     {% endblock navigation %}
  325.     {#<!-- Slider
  326. \t\t============================================= -->#}
  327.     {# SLIDER #}
  328.     {% block slider %}
  329.         {{ parent() }}
  330.     {% endblock slider %}
  331.     {#<!-- Content
  332. \t\t============================================= -->#}
  333.             {% block body %}
  334.                 {# FIL D ARIANE
  335.                 {% include'_general_includes/_fildariane.html.twig' %}
  336.                 {#<!-- #page-title end -->#}
  337.                 <section id=\"content\">
  338.                     <div class=\"container clearfix\">
  339.                         <div class=\"row\" style=\"margin-top: 10px;\">
  340.                             <div class=\"col-lg-3 bottommargin\">
  341.                                 {% include'evenement/_navigation.html.twig' %}
  342.                             </div>
  343.                             <div class=\"col-lg-9 col-md-6 bottommargin\">
  344.                                 <div class=\"fancy-title title-border\">
  345.                                     <div class=\"entry-title\">
  346.                                         <h2>{% trans %}Evènements{% endtrans %}</h2>
  347.                                     </div>
  348.                                 </div>
  349.                                 <div class=\"col-12\">
  350.                                     <div class=\"row posts-md col-mb-30\">
  351.                                         {% for article in articles %}
  352.                                         <div class=\"entry col-sm-6 col-xl-4\">
  353.                                             <div class=\"grid-inner\">
  354.                                                 <div class=\"entry-image\" style=\"border: 1px solid #c4e3f3; border-radius: 10px;\">
  355.                                                     <a href=\"{{ path('evenement_single', {id : article.id, 'slug':article.getSlug()}) }}\">
  356.                                                     {% set images = article.articleImages %}
  357.                                                     {% for image in images | filter(image => image.pourLaDescription == true) %}
  358.                                                         <img src=\"{{ vich_uploader_asset(image, 'imageFile') |e }}\" class=\"image_fade img-sm\" alt=\"image\" style=\"height: 200px; width: auto;\">
  359.                                                     {% else %}
  360.                                                         <img src=\"{{ asset('medel_assets/images/ontc_logo_588x350.png') }}\" alt=\"ONTC Logo\" style=\"height: 200px; width: auto;\">
  361.                                                     {% endfor %}
  362.                                                     </a>
  363.                                                 </div>
  364.                                                 <div class=\"entry-title title-xs nott\">
  365.                                                     <h3><a href=\"{{ path('evenement_single', {id : article.id, 'slug':article.getSlug()}) }}\">
  366.                                                             {% if app.request.locale == \"en\" %}
  367.                                                                 {{ article.getEnTitre() ? article.getEnTitre() : article.titre }}
  368.                                                             {% else %}
  369.                                                                 {{ article.titre }}
  370.                                                             {% endif %}
  371.                                                         </a>
  372.                                                     </h3>
  373.                                                 </div>
  374.                                                 <div class=\"entry-content\">
  375.                                                     {% if app.request.locale == \"en\" %}
  376.                                                         <p> {{ article.getEnContenu() ? article.getEnContenu() : article.getContenu() | striptags | raw | slice(0, 89) | raw }}</p>
  377.                                                     {% else %}
  378.                                                         <p> {{ article.contenu | striptags | raw | slice(0, 89) | raw }} ...</p>
  379.                                                     {% endif %}
  380.                                                 </div>
  381.                                             </div>
  382.                                         </div>
  383.                                         {% endfor %}
  384.                                     </div>
  385.                                     <div>
  386.                                         {{ knp_pagination_render(articles) }}
  387.                                     </div>
  388.                                 </div>
  389.                             </div>
  390.                         </div>
  391.                     </div>
  392.                 </section>
  393.             {% endblock body %}
  394.     {#<!-- #content end -->#}
  395.     {#<!-- Footer
  396. \t\t============================================= -->#}
  397.     {% block footer %}
  398.         {{ parent() }}
  399.     {% endblock footer %}
  400.     {#<!-- #footer end -->#}
  401.     {#<!-- JavaScripts
  402. \t============================================= -->#}
  403.     {% block javascripts %}
  404.         {{ parent() }}
  405.     {% endblock javascripts %}
  406. ""evenement/all.html.twig""/var/www/vhosts/comorostourism/templates/evenement/all.html.twig");
  407.     }
  408. }