var/cache/dev/twig/7b/7b16930feeefe7e41cf249c1b3a884653f85d135d67265b5260b5028c827051a.php line 118

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* footer_page/evennements.html.twig */
  15. class __TwigTemplate_40cb099cc8dfce47b0f2951d32d9b3d8133c9b516810f19848a338816f17200e extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'body' => [$this'block_body'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""footer_page/evennements.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""footer_page/evennements.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""footer_page/evennements.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_stylesheets($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  56.         // line 4
  57.         yield "    ";
  58.         yield from $this->yieldParentBlock("stylesheets"$context$blocks);
  59.         yield "
  60. ";
  61.         
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  63.         
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  65.         return; yield '';
  66.     }
  67.     // line 7
  68.     public function block_body($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  75.         // line 8
  76.         yield "    <!-- Menu  -->
  77.     ";
  78.         // line 9
  79.         yield Twig\Extension\CoreExtension::spaceless($this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\CoreController::menu", ["lang" =>         // line 11
  80. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'11$this->source); })()), "currentRoute" =>         // line 12
  81. (isset($context["currentRoute"]) || array_key_exists("currentRoute"$context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.'12$this->source); })()), "codePays" =>         // line 13
  82. (isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore"$context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.'13$this->source); })())])));
  83.         // line 14
  84.         yield "
  85.     <!-- Menu  -->
  86.     <!-- Publicite  -->
  87.     ";
  88.         // line 18
  89.         yield from         $this->loadTemplate("includes/publicite.html.twig""footer_page/evennements.html.twig"18)->unwrap()->yield($context);
  90.         // line 19
  91.         yield "    <!-- Publicite  -->
  92.     <div class=\"container\">
  93.         <div class=\"row\">
  94.             <!--COLONNE GAUCHE -->
  95.             ";
  96.         // line 24
  97.         yield from         $this->loadTemplate("includes/colonnes_gauche.html.twig""footer_page/evennements.html.twig"24)->unwrap()->yield($context);
  98.         // line 25
  99.         yield "            <!--FIN COLONNE GAUCHE -->
  100.             <!--COLONNE DROITE -->
  101.             <div class=\"col-12 col-lg-9 bkg_blanc no_shadow\">
  102.                 <!-- ARIANE -->
  103.                 <nav aria-label=\"breadcrumb\" class=\"d-none d-sm-block\">
  104.                     <ol class=\"breadcrumb\">
  105.                         <li class=\"breadcrumb-item\"> 
  106.                             <a href=\"";
  107.         // line 32
  108.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index", ["codePays" => (isset($context["codePays"]) || array_key_exists("codePays"$context) ? $context["codePays"] : (function () { throw new RuntimeError('Variable "codePays" does not exist.'32$this->source); })())]), "html"nulltrue);
  109.         yield "\">";
  110.         yield $this->extensions['App\Twig\TranslationExtension']->translate("accueil", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'32$this->source); })()), """M");
  111.         yield "</a>
  112.                         </li>
  113.                         <li class=\"breadcrumb-item\">
  114.                             <a href=\"";
  115.         // line 35
  116.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("presse", ["codePays" => (isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore"$context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.'35$this->source); })())]), "html"nulltrue);
  117.         yield "\"> ";
  118.         yield $this->extensions['App\Twig\TranslationExtension']->translate("presse", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'35$this->source); })()), """M");
  119.         yield "</a>
  120.                         </li>
  121.                         <li class=\"breadcrumb-item active\" aria-current=\"page\">
  122.                             ";
  123.         // line 38
  124.         yield $this->extensions['App\Twig\TranslationExtension']->translate("tous les evenements", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'38$this->source); })()), """M");
  125.         yield "
  126.                         </li>
  127.                     </ol>
  128.                 </nav>
  129.                 <!-- FIN ARIANE -->
  130.                 <div class=\"col-12 mt-5 mb-5 ml-5\">
  131.                     <h2 class=\"gris_666\">";
  132.         // line 45
  133.         yield $this->extensions['App\Twig\TranslationExtension']->translate("tous les evenements", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'45$this->source); })()), """M");
  134.         yield "</h2>\t\t\t\t
  135.                 </div>
  136.                 ";
  137.         // line 48
  138.         $context['_parent'] = $context;
  139.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["events"]) || array_key_exists("events"$context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.'48$this->source); })()));
  140.         foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
  141.             // line 49
  142.             yield "                    <div class=\"card mb-3 mt-sm-1 no_shadow\">
  143.                         <div class=\"card-body\">
  144.                             <div class=\"row\">
  145.                                 
  146.                                 ";
  147.             // line 53
  148.             if (((CoreExtension::getAttribute($this->env$this->source$context["event"], "logo", [], "any"truetruefalse53)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["event"], "logo", [], "any"falsefalsefalse53))) : (""))) {
  149.                 // line 54
  150.                 yield "                                <div class=\"col-12 col-sm-3 float-left mb-3\">
  151.                                     <img src=\"https://photos.fusacq.com/logos_presse/";
  152.                 // line 55
  153.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["event"], "logo", [], "any"falsefalsefalse55), "html"nulltrue);
  154.                 yield "\" class=\"img-fluid\">
  155.                                 </div>
  156.                                 ";
  157.             }
  158.             // line 58
  159.             yield "                                  
  160.                                 <div class=\"col-12 col-sm-9 mb-1\">
  161.                                     
  162.                                     <strong> ";
  163.             // line 61
  164.             yield CoreExtension::getAttribute($this->env$this->source$context["event"], "titre_evenement", [], "any"falsefalsefalse61);
  165.             yield "</strong><br>
  166.                                    
  167.                                     ";
  168.             // line 63
  169.             yield CoreExtension::getAttribute($this->env$this->source$context["event"], "description", [], "any"falsefalsefalse63);
  170.             yield "
  171.                                     
  172.                                     <br><br>
  173.                                     
  174.                                       ";
  175.             // line 67
  176.             if (((CoreExtension::getAttribute($this->env$this->source$context["event"], "lieu", [], "any"truetruefalse67)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["event"], "lieu", [], "any"falsefalsefalse67))) : (""))) {
  177.                 // line 68
  178.                 yield "                                           ";
  179.                 yield $this->extensions['App\Twig\TranslationExtension']->translate("lieu", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'68$this->source); })()), """M");
  180.                 yield " : ";
  181.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["event"], "lieu", [], "any"falsefalsefalse68), "html"nulltrue);
  182.                 yield "<br>
  183.                                        ";
  184.             }
  185.             // line 70
  186.             yield "                                    
  187.                                         ";
  188.             // line 71
  189.             if (((CoreExtension::getAttribute($this->env$this->source$context["event"], "site_url", [], "any"truetruefalse71)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["event"], "site_url", [], "any"falsefalsefalse71))) : (""))) {
  190.                 // line 72
  191.                 yield "                                          <a href=\"";
  192.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["event"], "site_url", [], "any"falsefalsefalse72), "html"nulltrue);
  193.                 yield "\" target=\"_blank\">";
  194.                 yield $this->extensions['App\Twig\TranslationExtension']->translate("site de l'événement", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'72$this->source); })()), """M");
  195.                 yield "</a>
  196.                                      ";
  197.             }
  198.             // line 74
  199.             yield "                                     
  200.                                 </div>
  201.                             </div>
  202.                         </div>
  203.                     </div>
  204.                 ";
  205.         }
  206.         $_parent $context['_parent'];
  207.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['event'], $context['_parent'], $context['loop']);
  208.         $context array_intersect_key($context$_parent) + $_parent;
  209.         // line 80
  210.         yield "                
  211.                 
  212.             </div> <!--FIN COLONNE DROITE -->
  213.         </div>
  214.     </div>
  215. ";
  216.         
  217.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  218.         
  219.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  220.         return; yield '';
  221.     }
  222.     // line 88
  223.     public function block_javascripts($context, array $blocks = [])
  224.     {
  225.         $macros $this->macros;
  226.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  227.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  228.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  230.         yield " ";
  231.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  232.         yield " ";
  233.         
  234.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  235.         
  236.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  237.         return; yield '';
  238.     }
  239.     /**
  240.      * @codeCoverageIgnore
  241.      */
  242.     public function getTemplateName()
  243.     {
  244.         return "footer_page/evennements.html.twig";
  245.     }
  246.     /**
  247.      * @codeCoverageIgnore
  248.      */
  249.     public function isTraitable()
  250.     {
  251.         return false;
  252.     }
  253.     /**
  254.      * @codeCoverageIgnore
  255.      */
  256.     public function getDebugInfo()
  257.     {
  258.         return array (  250 => 88,  233 => 80,  222 => 74,  214 => 72,  212 => 71,  209 => 70,  201 => 68,  199 => 67,  192 => 63,  187 => 61,  182 => 58,  176 => 55,  173 => 54,  171 => 53,  165 => 49,  161 => 48,  155 => 45,  145 => 38,  137 => 35,  129 => 32,  120 => 25,  118 => 24,  111 => 19,  109 => 18,  103 => 14,  101 => 13,  100 => 12,  99 => 11,  98 => 9,  95 => 8,  85 => 7,  71 => 4,  61 => 3,  38 => 1,);
  259.     }
  260.     public function getSourceContext()
  261.     {
  262.         return new Source("{% extends 'base.html.twig' %}
  263. {% block stylesheets %}
  264.     {{ parent() }}
  265. {% endblock %}
  266. {% block body %}
  267.     <!-- Menu  -->
  268.     {{ render_esi(controller(
  269.           'App\\\\Controller\\\\CoreController::menu',
  270.           {   \"lang\": lang,
  271.               \"currentRoute\":currentRoute,
  272.               \"codePays\": codePaysWithUnderScore }
  273.       )) | spaceless }}
  274.     <!-- Menu  -->
  275.     <!-- Publicite  -->
  276.     {% include 'includes/publicite.html.twig' %}
  277.     <!-- Publicite  -->
  278.     <div class=\"container\">
  279.         <div class=\"row\">
  280.             <!--COLONNE GAUCHE -->
  281.             {% include 'includes/colonnes_gauche.html.twig' %}
  282.             <!--FIN COLONNE GAUCHE -->
  283.             <!--COLONNE DROITE -->
  284.             <div class=\"col-12 col-lg-9 bkg_blanc no_shadow\">
  285.                 <!-- ARIANE -->
  286.                 <nav aria-label=\"breadcrumb\" class=\"d-none d-sm-block\">
  287.                     <ol class=\"breadcrumb\">
  288.                         <li class=\"breadcrumb-item\"> 
  289.                             <a href=\"{{ path('index',{'codePays':codePays }) }}\">{{ translate(\"accueil\" ,lang,\"\",\"M\") | raw }}</a>
  290.                         </li>
  291.                         <li class=\"breadcrumb-item\">
  292.                             <a href=\"{{ path('presse',{'codePays':codePaysWithUnderScore }) }}\"> {{ translate(\"presse\" ,lang,\"\",\"M\") | raw }}</a>
  293.                         </li>
  294.                         <li class=\"breadcrumb-item active\" aria-current=\"page\">
  295.                             {{ translate(\"tous les evenements\" ,lang,\"\",\"M\") | raw }}
  296.                         </li>
  297.                     </ol>
  298.                 </nav>
  299.                 <!-- FIN ARIANE -->
  300.                 <div class=\"col-12 mt-5 mb-5 ml-5\">
  301.                     <h2 class=\"gris_666\">{{ translate(\"tous les evenements\" ,lang,\"\",\"M\") | raw }}</h2>\t\t\t\t
  302.                 </div>
  303.                 {% for event  in events %}
  304.                     <div class=\"card mb-3 mt-sm-1 no_shadow\">
  305.                         <div class=\"card-body\">
  306.                             <div class=\"row\">
  307.                                 
  308.                                 {% if event.logo|default  %}
  309.                                 <div class=\"col-12 col-sm-3 float-left mb-3\">
  310.                                     <img src=\"https://photos.fusacq.com/logos_presse/{{  event.logo  }}\" class=\"img-fluid\">
  311.                                 </div>
  312.                                 {% endif  %}
  313.                                   
  314.                                 <div class=\"col-12 col-sm-9 mb-1\">
  315.                                     
  316.                                     <strong> {{ event.titre_evenement | raw }}</strong><br>
  317.                                    
  318.                                     {{ event.description|raw }}
  319.                                     
  320.                                     <br><br>
  321.                                     
  322.                                       {% if event.lieu|default  %}
  323.                                            {{ translate(\"lieu\" ,lang,\"\",\"M\") | raw }} : {{  event.lieu  }}<br>
  324.                                        {% endif  %}
  325.                                     
  326.                                         {% if event.site_url|default  %}
  327.                                           <a href=\"{{  event.site_url  }}\" target=\"_blank\">{{ translate(\"site de l'événement\" ,lang,\"\",\"M\") | raw }}</a>
  328.                                      {% endif  %}
  329.                                      
  330.                                 </div>
  331.                             </div>
  332.                         </div>
  333.                     </div>
  334.                 {% endfor %}
  335.                 
  336.                 
  337.             </div> <!--FIN COLONNE DROITE -->
  338.         </div>
  339.     </div>
  340. {% endblock %}
  341. {% block javascripts %} {{ parent() }} {% endblock %}
  342. ""footer_page/evennements.html.twig""/home/www/fusacq_symfony_5.4_preprod/templates/footer_page/evennements.html.twig");
  343.     }
  344. }