var/cache/dev/twig/28/28b8d8aeabcbb62f5f9c07027b17959b.php line 63

  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. /* Default/projects.html.twig */
  14. class __TwigTemplate_8192039dd911a8f09a4309f6c961c061 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 9
  29.         return "Default/base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/projects.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/projects.html.twig"));
  38.         // line 1
  39.         $context["title"] = "Projets";
  40.         // line 2
  41.         $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).";
  42.         // line 3
  43.         $context["iconColor"] = "#81B0B1";
  44.         // line 4
  45.         $context["titleColor"] = "#1F4878";
  46.         // line 5
  47.         $context["bgColor"] = "#ffffff";
  48.         // line 6
  49.         $context["menu"] = "projects";
  50.         // line 7
  51.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig""Default/projects.html.twig"7)->unwrap();
  52.         // line 9
  53.         $this->parent $this->loadTemplate("Default/base.html.twig""Default/projects.html.twig"9);
  54.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  55.         
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.     }
  60.     // line 11
  61.     public function block_content($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  68.         // line 12
  69.         echo "<div class='bg-warning ";
  70.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("gpadding top-80-in"), "html"nulltrue);
  71.         echo " ";
  72.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-40-in hz-20-in"), "html"nulltrue);
  73.         echo " '>
  74. \t";
  75.         // line 17
  76.         echo "\t<div class='w100 articles ";
  77.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-70 top-6-in"), "html"nulltrue);
  78.         echo "'>
  79. \t\t<div class='w100 ";
  80.         // line 18
  81.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(" flex row space wrap vt-30-in"), "html"nulltrue);
  82.         echo " ";
  83.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  84.         echo "'>
  85. \t\t\t";
  86.         // line 19
  87.         $context['_parent'] = $context;
  88.         $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); })()));
  89.         $context['loop'] = [
  90.           'parent' => $context['_parent'],
  91.           'index0' => 0,
  92.           'index'  => 1,
  93.           'first'  => true,
  94.         ];
  95.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  96.             $length count($context['_seq']);
  97.             $context['loop']['revindex0'] = $length 1;
  98.             $context['loop']['revindex'] = $length;
  99.             $context['loop']['length'] = $length;
  100.             $context['loop']['last'] = === $length;
  101.         }
  102.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  103.             // line 20
  104.             echo "\t\t\t";
  105.             echo twig_call_macro($macros["macros"], "macro_project", [$context["o"], twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse20)], 20$context$this->getSourceContext());
  106.             echo "
  107. \t\t\t";
  108.             ++$context['loop']['index0'];
  109.             ++$context['loop']['index'];
  110.             $context['loop']['first'] = false;
  111.             if (isset($context['loop']['length'])) {
  112.                 --$context['loop']['revindex0'];
  113.                 --$context['loop']['revindex'];
  114.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  115.             }
  116.         }
  117.         $_parent $context['_parent'];
  118.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  119.         $context array_intersect_key($context$_parent) + $_parent;
  120.         // line 22
  121.         echo "\t\t</div>
  122.     </div>
  123.     <div class='";
  124.         // line 24
  125.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("gpadding vt-30-in"), "html"nulltrue);
  126.         echo " ";
  127.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("padding-20"), "html"nulltrue);
  128.         echo "'>
  129.     ";
  130.         // line 25
  131.         $this->loadTemplate("Default/counter.html.twig""Default/projects.html.twig"25)->display(twig_array_merge($context, ["expanded" => true]));
  132.         // line 26
  133.         echo "    </div>
  134. </div>
  135. ";
  136.         
  137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  138.         
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  140.     }
  141.     public function getTemplateName()
  142.     {
  143.         return "Default/projects.html.twig";
  144.     }
  145.     public function isTraitable()
  146.     {
  147.         return false;
  148.     }
  149.     public function getDebugInfo()
  150.     {
  151.         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,);
  152.     }
  153.     public function getSourceContext()
  154.     {
  155.         return new Source("{% set title = \"Projets\"  %}
  156. {% 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).\"  %}
  157. {% set iconColor = \"#81B0B1\" %}
  158. {% set titleColor = \"#1F4878\" %}
  159. {% set bgColor = \"#ffffff\" %}
  160. {% set menu = 'projects' %}
  161. {% import \"Default/macros.html.twig\" as macros %}
  162. {% extends 'Default/base.html.twig' %}
  163. {% block content %}
  164. <div class='bg-warning {{desktop(\"gpadding top-80-in\")}} {{mobile(\"top-40-in hz-20-in\")}} '>
  165. \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\"}] %}
  166. \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\"}]) %}
  167. \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\"}]) %}
  168. \t#}
  169. \t<div class='w100 articles {{desktop(\"top-70 top-6-in\")}}'>
  170. \t\t<div class='w100 {{desktop(\" flex row space wrap vt-30-in\")}} {{mobile(\"\")}}'>
  171. \t\t\t{% for o in list %}
  172. \t\t\t{{macros.project(o, loop.last)}}
  173. \t\t\t{%endfor%}
  174. \t\t</div>
  175.     </div>
  176.     <div class='{{desktop(\"gpadding vt-30-in\")}} {{mobile(\"padding-20\")}}'>
  177.     {% include (\"Default/counter.html.twig\") with {expanded:true} %}
  178.     </div>
  179. </div>
  180. {% endblock %}
  181. ""Default/projects.html.twig""/home/olasoftnka/asin/templates/Default/projects.html.twig");
  182.     }
  183. }