var/cache/dev/twig/28/28b8d8aeabcbb62f5f9c07027b17959b.php line 145
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* Default/projects.html.twig */
class __TwigTemplate_8192039dd911a8f09a4309f6c961c061 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 9
return "Default/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/projects.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/projects.html.twig"));
// line 1
$context["title"] = "Projets";
// line 2
$context["desc"] = "L’ASIN pilote des activités au sein de 4 projets pour le compte du secteur du numérique dans le cadre du Programme d’Actions du Gouvernement (PAG 2021-2026).";
// line 3
$context["iconColor"] = "#81B0B1";
// line 4
$context["titleColor"] = "#1F4878";
// line 5
$context["bgColor"] = "#ffffff";
// line 6
$context["menu"] = "projects";
// line 7
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig", "Default/projects.html.twig", 7)->unwrap();
// line 9
$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/projects.html.twig", 9);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 11
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 12
echo "<div class='bg-warning ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("gpadding top-80-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-40-in hz-20-in"), "html", null, true);
echo " '>
\t";
// line 17
echo "\t<div class='w100 articles ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-70 top-6-in"), "html", null, true);
echo "'>
\t\t<div class='w100 ";
// line 18
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(" flex row space wrap vt-30-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "'>
\t\t\t";
// line 19
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["list"]) || array_key_exists("list", $context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.', 19, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 20
echo "\t\t\t";
echo twig_call_macro($macros["macros"], "macro_project", [$context["o"], twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 20)], 20, $context, $this->getSourceContext());
echo "
\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo "\t\t</div>
</div>
<div class='";
// line 24
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("gpadding vt-30-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("padding-20"), "html", null, true);
echo "'>
";
// line 25
$this->loadTemplate("Default/counter.html.twig", "Default/projects.html.twig", 25)->display(twig_array_merge($context, ["expanded" => true]));
// line 26
echo " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Default/projects.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 147 => 26, 145 => 25, 139 => 24, 135 => 22, 118 => 20, 101 => 19, 95 => 18, 90 => 17, 83 => 12, 73 => 11, 62 => 9, 60 => 7, 58 => 6, 56 => 5, 54 => 4, 52 => 3, 50 => 2, 48 => 1, 35 => 9,);
}
public function getSourceContext()
{
return new Source("{% set title = \"Projets\" %}
{% set desc = \"L’ASIN pilote des activités au sein de 4 projets pour le compte du secteur du numérique dans le cadre du Programme d’Actions du Gouvernement (PAG 2021-2026).\" %}
{% set iconColor = \"#81B0B1\" %}
{% set titleColor = \"#1F4878\" %}
{% set bgColor = \"#ffffff\" %}
{% set menu = 'projects' %}
{% import \"Default/macros.html.twig\" as macros %}
{% extends 'Default/base.html.twig' %}
{% block content %}
<div class='bg-warning {{desktop(\"gpadding top-80-in\")}} {{mobile(\"top-40-in hz-20-in\")}} '>
\t{#{% set list = [{'id':1,'status':\"En cours d'exécution\",'runtime':'7 mois','cost':'20 000 000 F CFA','place':'COTONOU','name' : \"Le Directeur Général de l'ASIN sur The Voice Of Africa\", \"description\":\"Le Directeur Général de l'Agence des Systèmes d'Information et du Numérique (ASIN), Monsieur Marc-André AkinOlu LOKO était l'invité ce lundi 13 février 2023 de la web radio tunisienne « The Voice of Africa ».\", 'banner':\"images/pro1.jpg\"}] %}
\t{% set list = list|merge([{'id':1,'status':'Terminé','runtime':'2 mois','cost':'48 000 000 F CFA','place':'Ouidah','name' : 'Magazine Benin Numérique N°001 - Février 2023',\"description\":\"Découvrez le premier numéro de BENIN NUMERIQUE le magazine d'information dédié au secteur du numérique au Bénin.\", 'banner':\"images/pro2.jpg\"}]) %}
\t{% set list = list|merge([{'id':1,'status':'Terminé','runtime':'3 ans','cost':'4 000 000 F CFA','place':'TOUT LE TERRITOIRE NATIONAL','name' : \"Dixième Conférence des DSI\",'description' : \"L'Agence des Systèmes d’Information et du Numérique (ASIN) à travers son pôle Systèmes d’Information et Digitalisation a organisé le mardi 29 novembre 2022, la dixième Conférence des Directeurs des Systèmes d’Information (CDSI)...\", 'banner':\"images/pro3.jpg\"}]) %}
\t#}
\t<div class='w100 articles {{desktop(\"top-70 top-6-in\")}}'>
\t\t<div class='w100 {{desktop(\" flex row space wrap vt-30-in\")}} {{mobile(\"\")}}'>
\t\t\t{% for o in list %}
\t\t\t{{macros.project(o, loop.last)}}
\t\t\t{%endfor%}
\t\t</div>
</div>
<div class='{{desktop(\"gpadding vt-30-in\")}} {{mobile(\"padding-20\")}}'>
{% include (\"Default/counter.html.twig\") with {expanded:true} %}
</div>
</div>
{% endblock %}
", "Default/projects.html.twig", "/home/olasoftnka/asin/templates/Default/projects.html.twig");
}
}