var/cache/dev/twig/9f/9ff65ff3aec5775dda81c5af0c5a4e84.php line 61
<?phpuse 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/opportunities.html.twig */class __TwigTemplate_63f87016bf0842c4f45a92a93f1c83c1 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 8return "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/opportunities.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/opportunities.html.twig"));// line 1$context["title"] = (((isset($context["cat"]) || array_key_exists("cat", $context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.', 1, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["cat"]) || array_key_exists("cat", $context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.', 1, $this->source); })()), "label", [], "any", false, false, false, 1)) : ("Emplois"));// line 2$context["iconColor"] = "#1F4878";// line 3$context["titleColor"] = "#ffffff";// line 4$context["bgColor"] = "#81B0B1";// line 5$context["menu"] = "jobs";// line 6$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig", "Default/opportunities.html.twig", 6)->unwrap();// line 8$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/opportunities.html.twig", 8);$this->parent->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 10public 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 11echo "<div class='bg-white ";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()("hz-20-in top-40-in"), "html", null, true);echo " '><div class='flex row space wrap ";// line 12echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-80"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);echo "'>";// line 18echo "\t\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 20echo "\t\t\t";if ((twig_get_attribute($this->env, $this->source, (isset($context["cat"]) || array_key_exists("cat", $context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.', 20, $this->source); })()), "slug", [], "any", false, false, false, 20) == "appels-offres")) {// line 21echo "\t\t\t";echo twig_call_macro($macros["macros"], "macro_opportunityAlt", [$context["o"], twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 21)], 21, $context, $this->getSourceContext());echo "\t\t\t";} else {// line 23echo "\t\t\t";echo twig_call_macro($macros["macros"], "macro_opportunity", [$context["o"], false, false], 23, $context, $this->getSourceContext());echo "\t\t\t";}// line 25echo "\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 26echo "\t\t</div><div class='";// line 28echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-40-in bottom-50-in"), "html", null, true);echo "'>";// line 29$this->loadTemplate("Default/counter.html.twig", "Default/opportunities.html.twig", 29)->display(twig_array_merge($context, ["expanded" => true]));// line 30echo " </div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "Default/opportunities.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 153 => 30, 151 => 29, 147 => 28, 143 => 26, 129 => 25, 123 => 23, 117 => 21, 114 => 20, 97 => 19, 94 => 18, 88 => 12, 81 => 11, 71 => 10, 60 => 8, 58 => 6, 56 => 5, 54 => 4, 52 => 3, 50 => 2, 48 => 1, 35 => 8,);}public function getSourceContext(){return new Source("{% set title = cat ? cat.label : \"Emplois\" %}{% set iconColor = \"#1F4878\" %}{% set titleColor = \"#ffffff\" %}{% set bgColor = \"#81B0B1\" %}{% set menu = 'jobs' %}{% import \"Default/macros.html.twig\" as macros %}{% extends 'Default/base.html.twig' %}{% block content %}<div class='bg-white {{desktop(\"gpadding top-80-in\")}} {{mobile(\"hz-20-in top-40-in\")}} '><div class='flex row space wrap {{desktop(\"top-80\")}} {{mobile(\"\")}}'>{#{% set list = [{'structure':\"drh\",'openingDate':\"05 MARS 2023\",'status':'En cours','title' : \"Avis de recrutement d’un Directeur Technique (H/F)\", 'banner':\"images/emp1.jpg\"}] %}\t\t{% set list = list|merge([{'structure':\"drh\",'openingDate':\"05 MARS 2023\",'status':'En cours','title' : \"Avis de recrutement d’une Assistante de Direction\", 'banner':\"images/emp2.jpg\"}]) %}\t\t{% set list = list|merge([{'structure':\"dsi\",'openingDate':\"05 MARS 2023\",'status':'Clôturé','title' : \"Avis de recrutement d’un Assistant Ressources Humaines (H/F)\", 'banner':\"images/emp3.jpg\"}]) %}\t\t{% set list = list|merge([{'structure':\"dsi\",'openingDate':\"05 MARS 2023\",'status':'Clôturé','title' : \"Avis de recrutement d’un Assistant Ressources Humaines (H/F)\", 'banner':\"images/emp4.jpg\"}]) %}\t\t#}\t\t\t\t{% for o in list %}\t\t\t{% if cat.slug == \"appels-offres\" %}\t\t\t{{macros.opportunityAlt(o,loop.index)}}\t\t\t{%else%}\t\t\t{{macros.opportunity(o, false, false)}}\t\t\t{%endif%}\t\t{%endfor%}\t\t</div><div class='{{desktop(\"top-40-in bottom-50-in\")}}'>{% include (\"Default/counter.html.twig\") with {expanded:true} %}</div></div>{% endblock %}", "Default/opportunities.html.twig", "/home/olasoftnka/asin/templates/Default/opportunities.html.twig");}}