<?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;
/* articles/offres.html.twig */
class __TwigTemplate_d22a54af940437612ab1f6a1e847859404a4cd6c75a49dc81e360ff7527a9967 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'style' => [$this, 'block_style'],
'content' => [$this, 'block_content'],
'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", "articles/offres.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "articles/offres.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "articles/offres.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_style($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", "style"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
// line 4
yield "\t";
yield from $this->yieldParentBlock("style", $context, $blocks);
yield "
\t";
// line 5
yield from $this->loadTemplate("articles/styles/base-css-logic.html.twig", "articles/offres.html.twig", 5)->unwrap()->yield($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 7
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 8
$context["name"] = "";
// line 9
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 9), "attributes", [], "any", false, true, false, 9), "get", ["structure"], "method", false, true, false, 9), "structure", [], "any", false, true, false, 9), "name", [], "any", true, true, false, 9) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 9, $this->source); })()), "request", [], "any", false, false, false, 9), "attributes", [], "any", false, false, false, 9), "get", ["structure"], "method", false, false, false, 9), "structure", [], "any", false, false, false, 9), "name", [], "any", false, false, false, 9)))) {
// line 10
yield "\t";
$context["name"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "attributes", [], "any", false, false, false, 10), "get", ["structure"], "method", false, false, false, 10), "structure", [], "any", false, false, false, 10), "name", [], "any", false, false, false, 10);
}
// line 12
$context["values"] = "";
// line 13
$context["values"] = ["Actualités", "Offres d'emploi"];
// line 14
yield "\t";
yield from $this->loadTemplate("articles-blocks/breadcrumb.html.twig", "articles/offres.html.twig", 14)->unwrap()->yield(CoreExtension::merge($context, ["titles" => (isset($context["values"]) || array_key_exists("values", $context) ? $context["values"] : (function () { throw new RuntimeError('Variable "values" does not exist.', 14, $this->source); })())]));
// line 15
yield "\t<section class=\"single-article-container\">
\t\t<article>
\t\t\t<section>
\t\t\t\t<div class=\"mlr-1em\">
\t\t\t\t\t";
// line 19
yield from $this->loadTemplate("articles-blocks/header.html.twig", "articles/offres.html.twig", 19)->unwrap()->yield($context);
// line 20
yield "\t\t\t\t\t";
// line 21
yield "\t\t\t\t\t";
yield from $this->loadTemplate("articles/blocks/article-under-header.html.twig", "articles/offres.html.twig", 21)->unwrap()->yield($context);
// line 22
yield "\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["extension"] ?? null), "excerpt", [], "any", false, true, false, 22), "categories", [], "any", true, true, false, 22) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 22, $this->source); })()), "excerpt", [], "any", false, false, false, 22), "categories", [], "any", false, false, false, 22)))) {
// line 23
yield "\t\t\t\t\t\t";
$context["categories"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 23, $this->source); })()), "excerpt", [], "any", false, false, false, 23), "categories", [], "any", false, false, false, 23);
// line 24
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("blocks/previews-from-controller/blocks/categories.html.twig", "articles/offres.html.twig", 24)->unwrap()->yield($context);
// line 25
yield "\t\t\t\t\t";
}
// line 26
yield "\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "chapo", [], "any", true, true, false, 26) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 26, $this->source); })()), "chapo", [], "any", false, false, false, 26)))) {
// line 27
yield "\t\t\t\t\t\t<div class=\"fw500 lh28 fs20 text cgrey mt-40px\">";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 27, $this->source); })()), "chapo", [], "any", false, false, false, 27);
yield "</div>
\t\t\t\t\t";
}
// line 29
yield "\t\t\t\t</div>
\t\t\t</section>
\t\t\t<div class=\"main-container w100 plr-1em\">
\t\t\t\t<div class=\"offres-container\">
\t\t\t\t\t";
// line 33
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", true, true, false, 33) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 33, $this->source); })()), "title", [], "any", false, false, false, 33)))) {
// line 34
yield "\t\t\t\t\t\t<div class=\"mb-3em mt-40px\">
\t\t\t\t\t\t\t<div class=\"mb-3em dflex fdc\">
\t\t\t\t\t\t\t\t<h2>Informations pratiques</h2>
\t\t\t\t\t\t\t\t<ul class=\"dflex fdc aix jcse offres-infos mt-1em\">
\t\t\t\t\t\t\t\t";
// line 38
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "enterprise", [], "any", true, true, false, 38) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 38, $this->source); })()), "enterprise", [], "any", false, false, false, 38)))) {
// line 39
yield "\t\t\t\t\t\t\t\t\t<li class=\"dflex\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/breifcase-icon.svg\" alt=\"Structure\" width=\"21\" height=\"21\">
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<span class=\"fw600 fs18 lh28\">Structure : ";
// line 43
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 43, $this->source); })()), "enterprise", [], "any", false, false, false, 43), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t";
}
// line 46
yield "\t\t\t\t\t\t\t\t";
if ((((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "city", [], "any", true, true, false, 46) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 46, $this->source); })()), "city", [], "any", false, false, false, 46))) && CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "cp", [], "any", true, true, false, 46)) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 46, $this->source); })()), "cp", [], "any", false, false, false, 46)))) {
// line 47
yield "\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/location-icon.svg\" alt=\"Location\" width=\"21\" height=\"20\">
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<span>";
// line 51
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 51, $this->source); })()), "city", [], "any", false, false, false, 51) . ", ") . CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 51, $this->source); })()), "cp", [], "any", false, false, false, 51)), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t";
}
// line 54
yield "\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "limit_date", [], "any", true, true, false, 54) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 54, $this->source); })()), "limit_date", [], "any", false, false, false, 54)))) {
// line 55
yield "\t\t\t\t\t\t\t\t\t<li class=\"dflex\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/calendar-icon.svg\" alt=\"Calendrier\" width=\"21\" height=\"20\">
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<span class=\"lh24\">Date limite de candidature : ";
// line 59
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 59, $this->source); })()), "limit_date", [], "any", false, false, false, 59), "d/m/Y"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t";
}
// line 62
yield "\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "profil", [], "any", true, true, false, 62) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 62, $this->source); })()), "profil", [], "any", false, false, false, 62)))) {
// line 63
yield "\t\t\t\t\t\t\t\t\t<li class=\"dflex fdc profil\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/user-offre-icon.svg\" alt=\"Profil\" width=\"17\" height=\"19\">
\t\t\t\t\t\t\t\t\t\t\t<span style=\"white-space: nowrap;\">Profil recherché : </span>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t ";
// line 68
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 68, $this->source); })()), "profil", [], "any", false, false, false, 68);
yield "
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t";
}
// line 71
yield "\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 75
yield "\t\t\t\t\t
\t\t\t\t\t<div class=\"mb-1em\">
\t\t\t\t\t\t<div class=\"mb-1em\"><h2>";
// line 77
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 77, $this->source); })()), "title_offre", [], "any", false, false, false, 77), "html", null, true);
yield "</h2></div>
\t\t\t\t\t\t";
// line 78
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "summary_offre", [], "any", true, true, false, 78) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 78, $this->source); })()), "summary_offre", [], "any", false, false, false, 78)))) {
// line 79
yield "\t\t\t\t\t\t\t<div class=\"lh24\">";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 79, $this->source); })()), "summary_offre", [], "any", false, false, false, 79);
yield "</div>
\t\t\t\t\t\t";
}
// line 81
yield "\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"mb-1em\">
\t\t\t\t\t\t<div class=\"mb-1em\"><h2>";
// line 83
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 83, $this->source); })()), "title_structure", [], "any", false, false, false, 83), "html", null, true);
yield "</h2></div>
\t\t\t\t\t\t";
// line 84
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "structure", [], "any", true, true, false, 84) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 84, $this->source); })()), "structure", [], "any", false, false, false, 84)))) {
// line 85
yield "\t\t\t\t\t\t\t<div class=\"lh24\">";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 85, $this->source); })()), "structure", [], "any", false, false, false, 85);
yield "</div>
\t\t\t\t\t\t";
}
// line 87
yield "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
// line 90
if (((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "main_content", [], "any", true, true, false, 90) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 90, $this->source); })()), "main_content", [], "any", false, false, false, 90))) && (1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 90, $this->source); })()), "main_content", [], "any", false, false, false, 90)), 0)))) {
// line 91
yield "\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 91, $this->source); })()), "main_content", [], "any", false, false, false, 91));
$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["data"]) {
// line 92
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 92), "sub_content"))) {
// line 93
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/articles-content.html.twig", "articles/offres.html.twig", 93)->unwrap()->yield($context);
// line 94
yield "\t\t\t\t\t";
}
// line 95
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 95), "linked_with"))) {
// line 96
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/linked-with.html.twig", "articles/offres.html.twig", 96)->unwrap()->yield($context);
// line 97
yield "\t\t\t\t\t";
}
// line 98
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 98), "iframe"))) {
// line 99
yield " ";
yield from $this->loadTemplate("blocks/iframe.html.twig", "articles/offres.html.twig", 99)->unwrap()->yield(CoreExtension::merge($context, ["block" => $context["data"]]));
// line 100
yield " ";
}
// line 101
yield "\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "type", [], "any", false, false, false, 101), "see_more"))) {
// line 102
yield "\t\t\t\t\t\t";
yield from $this->loadTemplate("articles-blocks/see-more.html.twig", "articles/offres.html.twig", 102)->unwrap()->yield($context);
// line 103
yield "\t\t\t\t\t";
}
// line 104
yield "\t\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['data'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 105
yield "\t\t\t";
}
// line 106
yield "\t\t</article>
\t</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 109
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"));
// line 110
yield " ";
yield from $this->loadTemplate("articles/javascripts/base-article-js.html.twig", "articles/offres.html.twig", 110)->unwrap()->yield($context);
// line 111
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 "articles/offres.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 362 => 111, 359 => 110, 349 => 109, 336 => 106, 333 => 105, 319 => 104, 316 => 103, 313 => 102, 310 => 101, 307 => 100, 304 => 99, 301 => 98, 298 => 97, 295 => 96, 292 => 95, 289 => 94, 286 => 93, 283 => 92, 265 => 91, 263 => 90, 258 => 87, 252 => 85, 250 => 84, 246 => 83, 242 => 81, 236 => 79, 234 => 78, 230 => 77, 226 => 75, 220 => 71, 214 => 68, 207 => 63, 204 => 62, 198 => 59, 192 => 55, 189 => 54, 183 => 51, 177 => 47, 174 => 46, 168 => 43, 162 => 39, 160 => 38, 154 => 34, 152 => 33, 146 => 29, 140 => 27, 137 => 26, 134 => 25, 131 => 24, 128 => 23, 125 => 22, 122 => 21, 120 => 20, 118 => 19, 112 => 15, 109 => 14, 107 => 13, 105 => 12, 101 => 10, 99 => 9, 97 => 8, 87 => 7, 76 => 5, 71 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{# extension.excerpt #}
{% block style %}
\t{{ parent() }}
\t{% include \"articles/styles/base-css-logic.html.twig\" %}
{% endblock %}
{% block content %}
{% set name = \"\" %}
{% if app.request.attributes.get('structure').structure.name is defined and app.request.attributes.get('structure').structure.name is not empty %}
\t{% set name = app.request.attributes.get('structure').structure.name %}
{% endif %}
{% set values = \"\" %}
{% set values = ['Actualités', 'Offres d\\'emploi'] %}
\t{% include \"articles-blocks/breadcrumb.html.twig\" with {titles : values} %}
\t<section class=\"single-article-container\">
\t\t<article>
\t\t\t<section>
\t\t\t\t<div class=\"mlr-1em\">
\t\t\t\t\t{% include \"articles-blocks/header.html.twig\" %}
\t\t\t\t\t{# <div class=\"creator\">{{ sulu_resolve_user(creator).fullName }}</div> #}
\t\t\t\t\t{% include \"articles/blocks/article-under-header.html.twig\" %}
\t\t\t\t\t{% if extension.excerpt.categories is defined and extension.excerpt.categories is not empty %}
\t\t\t\t\t\t{% set categories = extension.excerpt.categories %}
\t\t\t\t\t\t{% include \"blocks/previews-from-controller/blocks/categories.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if content.chapo is defined and content.chapo is not empty %}
\t\t\t\t\t\t<div class=\"fw500 lh28 fs20 text cgrey mt-40px\">{{ content.chapo|raw }}</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t</section>
\t\t\t<div class=\"main-container w100 plr-1em\">
\t\t\t\t<div class=\"offres-container\">
\t\t\t\t\t{% if content.title is defined and content.title is not empty %}
\t\t\t\t\t\t<div class=\"mb-3em mt-40px\">
\t\t\t\t\t\t\t<div class=\"mb-3em dflex fdc\">
\t\t\t\t\t\t\t\t<h2>Informations pratiques</h2>
\t\t\t\t\t\t\t\t<ul class=\"dflex fdc aix jcse offres-infos mt-1em\">
\t\t\t\t\t\t\t\t{% if content.enterprise is defined and content.enterprise is not empty %}
\t\t\t\t\t\t\t\t\t<li class=\"dflex\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/breifcase-icon.svg\" alt=\"Structure\" width=\"21\" height=\"21\">
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<span class=\"fw600 fs18 lh28\">Structure : {{ content.enterprise }}</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if content.city is defined and content.city is not empty and content.cp is defined and content.cp is not empty %}
\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/location-icon.svg\" alt=\"Location\" width=\"21\" height=\"20\">
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<span>{{ content.city ~ \", \" ~ content.cp }}</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if content.limit_date is defined and content.limit_date is not empty %}
\t\t\t\t\t\t\t\t\t<li class=\"dflex\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/calendar-icon.svg\" alt=\"Calendrier\" width=\"21\" height=\"20\">
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<span class=\"lh24\">Date limite de candidature : {{ content.limit_date | date(\"d/m/Y\") }}</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if content.profil is defined and content.profil is not empty %}
\t\t\t\t\t\t\t\t\t<li class=\"dflex fdc profil\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/user-offre-icon.svg\" alt=\"Profil\" width=\"17\" height=\"19\">
\t\t\t\t\t\t\t\t\t\t\t<span style=\"white-space: nowrap;\">Profil recherché : </span>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t {{ content.profil|raw }}
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t
\t\t\t\t\t<div class=\"mb-1em\">
\t\t\t\t\t\t<div class=\"mb-1em\"><h2>{{ content.title_offre }}</h2></div>
\t\t\t\t\t\t{% if content.summary_offre is defined and content.summary_offre is not empty %}
\t\t\t\t\t\t\t<div class=\"lh24\">{{ content.summary_offre | raw }}</div>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"mb-1em\">
\t\t\t\t\t\t<div class=\"mb-1em\"><h2>{{ content.title_structure }}</h2></div>
\t\t\t\t\t\t{% if content.structure is defined and content.structure is not empty %}
\t\t\t\t\t\t\t<div class=\"lh24\">{{ content.structure | raw }}</div>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
\t\t\t\t{% for data in content.main_content %}
\t\t\t\t\t{% if data.type == \"sub_content\" %}
\t\t\t\t\t\t{% include \"articles-blocks/articles-content.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if data.type == \"linked_with\" %}
\t\t\t\t\t\t{% include \"articles-blocks/linked-with.html.twig\" %}
\t\t\t\t\t{% endif %}
{% if data.type == \"iframe\" %}
{% include \"blocks/iframe.html.twig\" with {block: data} %}
{% endif %}
\t\t\t\t\t{% if data.type == \"see_more\" %}
\t\t\t\t\t\t{% include \"articles-blocks/see-more.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t{% endfor %}
\t\t\t{% endif %}
\t\t</article>
\t</section>
{% endblock %}
{% block javascripts %}
{% include \"articles/javascripts/base-article-js.html.twig\" %}
{{ parent() }}
{% endblock %}
", "articles/offres.html.twig", "/var/www/html/templates/articles/offres.html.twig");
}
}