<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* footer_page/evennements.html.twig */
class __TwigTemplate_40cb099cc8dfce47b0f2951d32d9b3d8133c9b516810f19848a338816f17200e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "footer_page/evennements.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "footer_page/evennements.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "footer_page/evennements.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 4
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 7
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 8
yield " <!-- Menu -->
";
// line 9
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
(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
(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
(isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 13, $this->source); })())])));
// line 14
yield "
<!-- Menu -->
<!-- Publicite -->
";
// line 18
yield from $this->loadTemplate("includes/publicite.html.twig", "footer_page/evennements.html.twig", 18)->unwrap()->yield($context);
// line 19
yield " <!-- Publicite -->
<div class=\"container\">
<div class=\"row\">
<!--COLONNE GAUCHE -->
";
// line 24
yield from $this->loadTemplate("includes/colonnes_gauche.html.twig", "footer_page/evennements.html.twig", 24)->unwrap()->yield($context);
// line 25
yield " <!--FIN COLONNE GAUCHE -->
<!--COLONNE DROITE -->
<div class=\"col-12 col-lg-9 bkg_blanc no_shadow\">
<!-- ARIANE -->
<nav aria-label=\"breadcrumb\" class=\"d-none d-sm-block\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\">
<a href=\"";
// line 32
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", null, true);
yield "\">";
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");
yield "</a>
</li>
<li class=\"breadcrumb-item\">
<a href=\"";
// line 35
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", null, true);
yield "\"> ";
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");
yield "</a>
</li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">
";
// line 38
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");
yield "
</li>
</ol>
</nav>
<!-- FIN ARIANE -->
<div class=\"col-12 mt-5 mb-5 ml-5\">
<h2 class=\"gris_666\">";
// line 45
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");
yield "</h2>\t\t\t\t
</div>
";
// line 48
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
// line 49
yield " <div class=\"card mb-3 mt-sm-1 no_shadow\">
<div class=\"card-body\">
<div class=\"row\">
";
// line 53
if (((CoreExtension::getAttribute($this->env, $this->source, $context["event"], "logo", [], "any", true, true, false, 53)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "logo", [], "any", false, false, false, 53))) : (""))) {
// line 54
yield " <div class=\"col-12 col-sm-3 float-left mb-3\">
<img src=\"https://photos.fusacq.com/logos_presse/";
// line 55
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "logo", [], "any", false, false, false, 55), "html", null, true);
yield "\" class=\"img-fluid\">
</div>
";
}
// line 58
yield "
<div class=\"col-12 col-sm-9 mb-1\">
<strong> ";
// line 61
yield CoreExtension::getAttribute($this->env, $this->source, $context["event"], "titre_evenement", [], "any", false, false, false, 61);
yield "</strong><br>
";
// line 63
yield CoreExtension::getAttribute($this->env, $this->source, $context["event"], "description", [], "any", false, false, false, 63);
yield "
<br><br>
";
// line 67
if (((CoreExtension::getAttribute($this->env, $this->source, $context["event"], "lieu", [], "any", true, true, false, 67)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "lieu", [], "any", false, false, false, 67))) : (""))) {
// line 68
yield " ";
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");
yield " : ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "lieu", [], "any", false, false, false, 68), "html", null, true);
yield "<br>
";
}
// line 70
yield "
";
// line 71
if (((CoreExtension::getAttribute($this->env, $this->source, $context["event"], "site_url", [], "any", true, true, false, 71)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "site_url", [], "any", false, false, false, 71))) : (""))) {
// line 72
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "site_url", [], "any", false, false, false, 72), "html", null, true);
yield "\" target=\"_blank\">";
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");
yield "</a>
";
}
// line 74
yield "
</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['event'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 80
yield "
</div> <!--FIN COLONNE DROITE -->
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 88
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "footer_page/evennements.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
{% endblock %}
{% block body %}
<!-- Menu -->
{{ render_esi(controller(
'App\\\\Controller\\\\CoreController::menu',
{ \"lang\": lang,
\"currentRoute\":currentRoute,
\"codePays\": codePaysWithUnderScore }
)) | spaceless }}
<!-- Menu -->
<!-- Publicite -->
{% include 'includes/publicite.html.twig' %}
<!-- Publicite -->
<div class=\"container\">
<div class=\"row\">
<!--COLONNE GAUCHE -->
{% include 'includes/colonnes_gauche.html.twig' %}
<!--FIN COLONNE GAUCHE -->
<!--COLONNE DROITE -->
<div class=\"col-12 col-lg-9 bkg_blanc no_shadow\">
<!-- ARIANE -->
<nav aria-label=\"breadcrumb\" class=\"d-none d-sm-block\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\">
<a href=\"{{ path('index',{'codePays':codePays }) }}\">{{ translate(\"accueil\" ,lang,\"\",\"M\") | raw }}</a>
</li>
<li class=\"breadcrumb-item\">
<a href=\"{{ path('presse',{'codePays':codePaysWithUnderScore }) }}\"> {{ translate(\"presse\" ,lang,\"\",\"M\") | raw }}</a>
</li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">
{{ translate(\"tous les evenements\" ,lang,\"\",\"M\") | raw }}
</li>
</ol>
</nav>
<!-- FIN ARIANE -->
<div class=\"col-12 mt-5 mb-5 ml-5\">
<h2 class=\"gris_666\">{{ translate(\"tous les evenements\" ,lang,\"\",\"M\") | raw }}</h2>\t\t\t\t
</div>
{% for event in events %}
<div class=\"card mb-3 mt-sm-1 no_shadow\">
<div class=\"card-body\">
<div class=\"row\">
{% if event.logo|default %}
<div class=\"col-12 col-sm-3 float-left mb-3\">
<img src=\"https://photos.fusacq.com/logos_presse/{{ event.logo }}\" class=\"img-fluid\">
</div>
{% endif %}
<div class=\"col-12 col-sm-9 mb-1\">
<strong> {{ event.titre_evenement | raw }}</strong><br>
{{ event.description|raw }}
<br><br>
{% if event.lieu|default %}
{{ translate(\"lieu\" ,lang,\"\",\"M\") | raw }} : {{ event.lieu }}<br>
{% endif %}
{% if event.site_url|default %}
<a href=\"{{ event.site_url }}\" target=\"_blank\">{{ translate(\"site de l'événement\" ,lang,\"\",\"M\") | raw }}</a>
{% endif %}
</div>
</div>
</div>
</div>
{% endfor %}
</div> <!--FIN COLONNE DROITE -->
</div>
</div>
{% endblock %}
{% block javascripts %} {{ parent() }} {% endblock %}
", "footer_page/evennements.html.twig", "/home/www/fusacq_symfony_5.4_preprod/templates/footer_page/evennements.html.twig");
}
}