<?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;
use Twig\TemplateWrapper;

/* frontend/aspiration.html.twig */
class __TwigTemplate_c91d2b839df0b8c34f46f9b69194e63c extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "frontend/layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/aspiration.html.twig"));

        $this->parent = $this->load("frontend/layout.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));

        // line 4
        yield "<div class=\"container single-template\">
\t<div class=\"page-header\">
\t\t<h1 class=\"page-title\">
\t\t\tAspiration
\t\t\t";
        // line 8
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["goal"]) || array_key_exists("goal", $context) ? $context["goal"] : (function () { throw new RuntimeError('Variable "goal" does not exist.', 8, $this->source); })()), "code", [], "any", false, false, false, 8), "html", null, true);
        yield "
\t\t\t:
\t\t\t";
        // line 10
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["goal"]) || array_key_exists("goal", $context) ? $context["goal"] : (function () { throw new RuntimeError('Variable "goal" does not exist.', 10, $this->source); })()), "name", [], "any", false, false, false, 10), "html", null, true);
        yield "
\t\t</h1>
\t</div>

\t<div class=\"row gx-md-5 gy-3\">
\t\t<div class=\"col-lg-12\">

\t\t\t<div class=\"single-contnet pt-4\">
\t\t\t\t";
        // line 18
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["goal"]) || array_key_exists("goal", $context) ? $context["goal"] : (function () { throw new RuntimeError('Variable "goal" does not exist.', 18, $this->source); })()), "description", [], "any", false, false, false, 18), "html", null, true);
        yield "
\t\t\t\t<br>
\t\t\t\t<br>
\t\t\t\t<br>
\t\t\t\t<div class=\"template-details\">
\t\t\t\t\t<h2>Les objectifs de l'Aspiration
\t\t\t\t\t\t";
        // line 24
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["goal"]) || array_key_exists("goal", $context) ? $context["goal"] : (function () { throw new RuntimeError('Variable "goal" does not exist.', 24, $this->source); })()), "code", [], "any", false, false, false, 24), "html", null, true);
        yield "</h2>
\t\t\t\t</div>

\t\t\t\t<ul style=\"list-style-type: none;\">
\t\t\t\t\t";
        // line 28
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable((isset($context["targets"]) || array_key_exists("targets", $context) ? $context["targets"] : (function () { throw new RuntimeError('Variable "targets" does not exist.', 28, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["target"]) {
            // line 29
            yield "\t\t\t\t\t\t<li style=\"margin-bottom: 10px;\">

\t\t\t\t\t\t\t<a href=\"";
            // line 31
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cible", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["target"], "id", [], "any", false, false, false, 31)]), "html", null, true);
            yield "\">
\t\t\t\t\t\t\t\t<svg class=\"icon icon-chevron-right\" fill=\"currentColor\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
            // line 33
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("frontend/icons/icons-3.7.svg"), "html", null, true);
            yield "#chevron-right\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t";
            // line 35
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["target"], "code", [], "any", false, false, false, 35), "html", null, true);
            yield "
\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t";
            // line 37
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["target"], "name", [], "any", false, false, false, 37), "html", null, true);
            yield "
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['target'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 41
        yield "\t\t\t\t</ul>
\t\t\t</div>
\t\t</div>
\t</div>


<div class=\"row gx-md-5 gy-3\">
\t\t<div class=\"col-lg-12\">

        </div>

</div>

<div class=\"page-header\">
\t\t<h1 class=\"page-title\">
\t\t\tLes autres aspirations
\t\t</h1>
\t</div>

<div class=\"row gx-md-5 gy-3\">
\t\t";
        // line 61
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable((isset($context["goals"]) || array_key_exists("goals", $context) ? $context["goals"] : (function () { throw new RuntimeError('Variable "goals" does not exist.', 61, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["g"]) {
            // line 62
            yield "\t\t\t\t\t\t";
            if ((CoreExtension::getAttribute($this->env, $this->source, $context["g"], "code", [], "any", false, false, false, 62) != CoreExtension::getAttribute($this->env, $this->source, (isset($context["goal"]) || array_key_exists("goal", $context) ? $context["goal"] : (function () { throw new RuntimeError('Variable "goal" does not exist.', 62, $this->source); })()), "code", [], "any", false, false, false, 62))) {
                // line 63
                yield "\t\t\t\t\t\t\t<div class=\"col-xl-2 col-lg-2\">
\t\t\t\t\t\t\t\t<div class=\"icon-box\">
\t\t\t\t\t\t\t\t\t\t<a href=\"";
                // line 65
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("aspiration", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["g"], "id", [], "any", false, false, false, 65)]), "html", null, true);
                yield "\"> <img src=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("dist/img/agenda2063/aspirations/aspiration"), "html", null, true);
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["g"], "code", [], "any", false, false, false, 65), "html", null, true);
                yield ".png\" style=\"width:100%\"></a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
            }
            // line 69
            yield "\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['g'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 70
        yield "
</div>
</div>
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "frontend/aspiration.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  187 => 70,  181 => 69,  171 => 65,  167 => 63,  164 => 62,  160 => 61,  138 => 41,  128 => 37,  123 => 35,  118 => 33,  113 => 31,  109 => 29,  105 => 28,  98 => 24,  89 => 18,  78 => 10,  73 => 8,  67 => 4,  57 => 3,  40 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends 'frontend/layout.html.twig' %}

{% block content %}
<div class=\"container single-template\">
\t<div class=\"page-header\">
\t\t<h1 class=\"page-title\">
\t\t\tAspiration
\t\t\t{{ goal.code }}
\t\t\t:
\t\t\t{{ goal.name }}
\t\t</h1>
\t</div>

\t<div class=\"row gx-md-5 gy-3\">
\t\t<div class=\"col-lg-12\">

\t\t\t<div class=\"single-contnet pt-4\">
\t\t\t\t{{ goal.description }}
\t\t\t\t<br>
\t\t\t\t<br>
\t\t\t\t<br>
\t\t\t\t<div class=\"template-details\">
\t\t\t\t\t<h2>Les objectifs de l'Aspiration
\t\t\t\t\t\t{{goal.code}}</h2>
\t\t\t\t</div>

\t\t\t\t<ul style=\"list-style-type: none;\">
\t\t\t\t\t{% for target in targets %}
\t\t\t\t\t\t<li style=\"margin-bottom: 10px;\">

\t\t\t\t\t\t\t<a href=\"{{ path('cible', { 'id': target.id }) }}\">
\t\t\t\t\t\t\t\t<svg class=\"icon icon-chevron-right\" fill=\"currentColor\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{asset('frontend/icons/icons-3.7.svg')}}#chevron-right\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t{{ target.code }}
\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{{ target.name }}
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t{% endfor %}
\t\t\t\t</ul>
\t\t\t</div>
\t\t</div>
\t</div>


<div class=\"row gx-md-5 gy-3\">
\t\t<div class=\"col-lg-12\">

        </div>

</div>

<div class=\"page-header\">
\t\t<h1 class=\"page-title\">
\t\t\tLes autres aspirations
\t\t</h1>
\t</div>

<div class=\"row gx-md-5 gy-3\">
\t\t{% for g in goals %}
\t\t\t\t\t\t{% if g.code != goal.code %}
\t\t\t\t\t\t\t<div class=\"col-xl-2 col-lg-2\">
\t\t\t\t\t\t\t\t<div class=\"icon-box\">
\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('aspiration', { 'id': g.id }) }}\"> <img src=\"{{asset('dist/img/agenda2063/aspirations/aspiration')}}{{ g.code }}.png\" style=\"width:100%\"></a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endfor %}

</div>
</div>
{% endblock %}
", "frontend/aspiration.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/frontend/aspiration.html.twig");
    }
}
