var/cache/website/dev/twig/ad/adf8034d93e5f80e8e44e1191697e4e28893bdbddc083933b5b65e3c5cee0526.php line 87

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* articles/offres.html.twig */
  15. class __TwigTemplate_d22a54af940437612ab1f6a1e847859404a4cd6c75a49dc81e360ff7527a9967 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'style' => [$this'block_style'],
  25.             'content' => [$this'block_content'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""articles/offres.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""articles/offres.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""articles/offres.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_style($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  56.         // line 4
  57.         yield "\t";
  58.         yield from $this->yieldParentBlock("style"$context$blocks);
  59.         yield "
  60. \t";
  61.         // line 5
  62.         yield from         $this->loadTemplate("articles/styles/base-css-logic.html.twig""articles/offres.html.twig"5)->unwrap()->yield($context);
  63.         
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  65.         
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  67.         return; yield '';
  68.     }
  69.     // line 7
  70.     public function block_content($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  77.         // line 8
  78.         $context["name"] = "";
  79.         // line 9
  80.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse9), "attributes", [], "any"falsetruefalse9), "get", ["structure"], "method"falsetruefalse9), "structure", [], "any"falsetruefalse9), "name", [], "any"truetruefalse9) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse9), "attributes", [], "any"falsefalsefalse9), "get", ["structure"], "method"falsefalsefalse9), "structure", [], "any"falsefalsefalse9), "name", [], "any"falsefalsefalse9)))) {
  81.             // line 10
  82.             yield "\t";
  83.             $context["name"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse10), "attributes", [], "any"falsefalsefalse10), "get", ["structure"], "method"falsefalsefalse10), "structure", [], "any"falsefalsefalse10), "name", [], "any"falsefalsefalse10);
  84.         }
  85.         // line 12
  86.         $context["values"] = "";
  87.         // line 13
  88.         $context["values"] = ["Actualités""Offres d'emploi"];
  89.         // line 14
  90.         yield "\t";
  91.         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); })())]));
  92.         // line 15
  93.         yield "\t<section class=\"single-article-container\">
  94. \t\t<article>
  95. \t\t\t<section>
  96. \t\t\t\t<div class=\"mlr-1em\">
  97. \t\t\t\t\t";
  98.         // line 19
  99.         yield from         $this->loadTemplate("articles-blocks/header.html.twig""articles/offres.html.twig"19)->unwrap()->yield($context);
  100.         // line 20
  101.         yield "\t\t\t\t\t";
  102.         // line 21
  103.         yield "\t\t\t\t\t";
  104.         yield from         $this->loadTemplate("articles/blocks/article-under-header.html.twig""articles/offres.html.twig"21)->unwrap()->yield($context);
  105.         // line 22
  106.         yield "\t\t\t\t\t";
  107.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["extension"] ?? null), "excerpt", [], "any"falsetruefalse22), "categories", [], "any"truetruefalse22) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse22), "categories", [], "any"falsefalsefalse22)))) {
  108.             // line 23
  109.             yield "\t\t\t\t\t\t";
  110.             $context["categories"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse23), "categories", [], "any"falsefalsefalse23);
  111.             // line 24
  112.             yield "\t\t\t\t\t\t";
  113.             yield from             $this->loadTemplate("blocks/previews-from-controller/blocks/categories.html.twig""articles/offres.html.twig"24)->unwrap()->yield($context);
  114.             // line 25
  115.             yield "\t\t\t\t\t";
  116.         }
  117.         // line 26
  118.         yield "\t\t\t\t\t";
  119.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "chapo", [], "any"truetruefalse26) &&  !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"falsefalsefalse26)))) {
  120.             // line 27
  121.             yield "\t\t\t\t\t\t<div class=\"fw500 lh28 fs20 text cgrey mt-40px\">";
  122.             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"falsefalsefalse27);
  123.             yield "</div>
  124. \t\t\t\t\t";
  125.         }
  126.         // line 29
  127.         yield "\t\t\t\t</div>
  128. \t\t\t</section>
  129. \t\t\t<div class=\"main-container w100 plr-1em\">
  130. \t\t\t\t<div class=\"offres-container\">
  131. \t\t\t\t\t";
  132.         // line 33
  133.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"truetruefalse33) &&  !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"falsefalsefalse33)))) {
  134.             // line 34
  135.             yield "\t\t\t\t\t\t<div class=\"mb-3em mt-40px\">
  136. \t\t\t\t\t\t\t<div class=\"mb-3em dflex fdc\">
  137. \t\t\t\t\t\t\t\t<h2>Informations pratiques</h2>
  138. \t\t\t\t\t\t\t\t<ul class=\"dflex fdc aix jcse offres-infos mt-1em\">
  139. \t\t\t\t\t\t\t\t";
  140.             // line 38
  141.             if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "enterprise", [], "any"truetruefalse38) &&  !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"falsefalsefalse38)))) {
  142.                 // line 39
  143.                 yield "\t\t\t\t\t\t\t\t\t<li class=\"dflex\">
  144. \t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
  145. \t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/breifcase-icon.svg\" alt=\"Structure\" width=\"21\" height=\"21\">
  146. \t\t\t\t\t\t\t\t\t\t</div>
  147. \t\t\t\t\t\t\t\t\t\t<span class=\"fw600 fs18 lh28\">Structure : ";
  148.                 // line 43
  149.                 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"falsefalsefalse43), "html"nulltrue);
  150.                 yield "</span>
  151. \t\t\t\t\t\t\t\t\t</li>
  152. \t\t\t\t\t\t\t\t";
  153.             }
  154.             // line 46
  155.             yield "\t\t\t\t\t\t\t\t";
  156.             if ((((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "city", [], "any"truetruefalse46) &&  !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"falsefalsefalse46))) && CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "cp", [], "any"truetruefalse46)) &&  !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"falsefalsefalse46)))) {
  157.                 // line 47
  158.                 yield "\t\t\t\t\t\t\t\t\t<li>
  159. \t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
  160. \t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/location-icon.svg\" alt=\"Location\" width=\"21\" height=\"20\">
  161. \t\t\t\t\t\t\t\t\t\t</div>
  162. \t\t\t\t\t\t\t\t\t\t<span>";
  163.                 // line 51
  164.                 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"falsefalsefalse51) . ", ") . 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"falsefalsefalse51)), "html"nulltrue);
  165.                 yield "</span>
  166. \t\t\t\t\t\t\t\t\t</li>
  167. \t\t\t\t\t\t\t\t";
  168.             }
  169.             // line 54
  170.             yield "\t\t\t\t\t\t\t\t";
  171.             if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "limit_date", [], "any"truetruefalse54) &&  !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"falsefalsefalse54)))) {
  172.                 // line 55
  173.                 yield "\t\t\t\t\t\t\t\t\t<li class=\"dflex\">
  174. \t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
  175. \t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/calendar-icon.svg\" alt=\"Calendrier\" width=\"21\" height=\"20\">
  176. \t\t\t\t\t\t\t\t\t\t</div>
  177. \t\t\t\t\t\t\t\t\t\t<span class=\"lh24\">Date limite de candidature : ";
  178.                 // line 59
  179.                 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"falsefalsefalse59), "d/m/Y"), "html"nulltrue);
  180.                 yield "</span>
  181. \t\t\t\t\t\t\t\t\t</li>
  182. \t\t\t\t\t\t\t\t";
  183.             }
  184.             // line 62
  185.             yield "\t\t\t\t\t\t\t\t";
  186.             if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "profil", [], "any"truetruefalse62) &&  !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"falsefalsefalse62)))) {
  187.                 // line 63
  188.                 yield "\t\t\t\t\t\t\t\t\t<li class=\"dflex fdc profil\">
  189. \t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
  190. \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\">
  191. \t\t\t\t\t\t\t\t\t\t\t<span style=\"white-space: nowrap;\">Profil recherché : </span>
  192. \t\t\t\t\t\t\t\t\t\t</div>
  193. \t\t\t\t\t\t\t\t\t\t&nbsp;";
  194.                 // line 68
  195.                 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"falsefalsefalse68);
  196.                 yield "
  197. \t\t\t\t\t\t\t\t\t</li>
  198. \t\t\t\t\t\t\t\t";
  199.             }
  200.             // line 71
  201.             yield "\t\t\t\t\t\t\t\t</ul>
  202. \t\t\t\t\t\t\t</div>
  203. \t\t\t\t\t\t</div>
  204. \t\t\t\t\t";
  205.         }
  206.         // line 75
  207.         yield "\t\t\t\t\t
  208. \t\t\t\t\t<div class=\"mb-1em\">
  209. \t\t\t\t\t\t<div class=\"mb-1em\"><h2>";
  210.         // line 77
  211.         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"falsefalsefalse77), "html"nulltrue);
  212.         yield "</h2></div>
  213. \t\t\t\t\t\t";
  214.         // line 78
  215.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "summary_offre", [], "any"truetruefalse78) &&  !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"falsefalsefalse78)))) {
  216.             // line 79
  217.             yield "\t\t\t\t\t\t\t<div class=\"lh24\">";
  218.             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"falsefalsefalse79);
  219.             yield "</div>
  220. \t\t\t\t\t\t";
  221.         }
  222.         // line 81
  223.         yield "\t\t\t\t\t</div>
  224. \t\t\t\t\t<div class=\"mb-1em\">
  225. \t\t\t\t\t\t<div class=\"mb-1em\"><h2>";
  226.         // line 83
  227.         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"falsefalsefalse83), "html"nulltrue);
  228.         yield "</h2></div>
  229. \t\t\t\t\t\t";
  230.         // line 84
  231.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "structure", [], "any"truetruefalse84) &&  !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"falsefalsefalse84)))) {
  232.             // line 85
  233.             yield "\t\t\t\t\t\t\t<div class=\"lh24\">";
  234.             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"falsefalsefalse85);
  235.             yield "</div>
  236. \t\t\t\t\t\t";
  237.         }
  238.         // line 87
  239.         yield "\t\t\t\t\t</div>
  240. \t\t\t\t</div>
  241. \t\t\t</div>
  242. \t\t\t";
  243.         // line 90
  244.         if (((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "main_content", [], "any"truetruefalse90) &&  !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"falsefalsefalse90))) && (=== 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"falsefalsefalse90)), 0)))) {
  245.             // line 91
  246.             yield "\t\t\t\t";
  247.             $context['_parent'] = $context;
  248.             $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"falsefalsefalse91));
  249.             $context['loop'] = [
  250.               'parent' => $context['_parent'],
  251.               'index0' => 0,
  252.               'index'  => 1,
  253.               'first'  => true,
  254.             ];
  255.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  256.                 $length count($context['_seq']);
  257.                 $context['loop']['revindex0'] = $length 1;
  258.                 $context['loop']['revindex'] = $length;
  259.                 $context['loop']['length'] = $length;
  260.                 $context['loop']['last'] = === $length;
  261.             }
  262.             foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
  263.                 // line 92
  264.                 yield "\t\t\t\t\t";
  265.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse92), "sub_content"))) {
  266.                     // line 93
  267.                     yield "\t\t\t\t\t\t";
  268.                     yield from                     $this->loadTemplate("articles-blocks/articles-content.html.twig""articles/offres.html.twig"93)->unwrap()->yield($context);
  269.                     // line 94
  270.                     yield "\t\t\t\t\t";
  271.                 }
  272.                 // line 95
  273.                 yield "\t\t\t\t\t";
  274.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse95), "linked_with"))) {
  275.                     // line 96
  276.                     yield "\t\t\t\t\t\t";
  277.                     yield from                     $this->loadTemplate("articles-blocks/linked-with.html.twig""articles/offres.html.twig"96)->unwrap()->yield($context);
  278.                     // line 97
  279.                     yield "\t\t\t\t\t";
  280.                 }
  281.                 // line 98
  282.                 yield "                    ";
  283.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse98), "iframe"))) {
  284.                     // line 99
  285.                     yield "                        ";
  286.                     yield from                     $this->loadTemplate("blocks/iframe.html.twig""articles/offres.html.twig"99)->unwrap()->yield(CoreExtension::merge($context, ["block" => $context["data"]]));
  287.                     // line 100
  288.                     yield "                    ";
  289.                 }
  290.                 // line 101
  291.                 yield "\t\t\t\t\t";
  292.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse101), "see_more"))) {
  293.                     // line 102
  294.                     yield "\t\t\t\t\t\t";
  295.                     yield from                     $this->loadTemplate("articles-blocks/see-more.html.twig""articles/offres.html.twig"102)->unwrap()->yield($context);
  296.                     // line 103
  297.                     yield "\t\t\t\t\t";
  298.                 }
  299.                 // line 104
  300.                 yield "\t\t\t\t";
  301.                 ++$context['loop']['index0'];
  302.                 ++$context['loop']['index'];
  303.                 $context['loop']['first'] = false;
  304.                 if (isset($context['loop']['length'])) {
  305.                     --$context['loop']['revindex0'];
  306.                     --$context['loop']['revindex'];
  307.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  308.                 }
  309.             }
  310.             $_parent $context['_parent'];
  311.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
  312.             $context array_intersect_key($context$_parent) + $_parent;
  313.             // line 105
  314.             yield "\t\t\t";
  315.         }
  316.         // line 106
  317.         yield "\t\t</article>
  318. \t</section>
  319. ";
  320.         
  321.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  322.         
  323.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  324.         return; yield '';
  325.     }
  326.     // line 109
  327.     public function block_javascripts($context, array $blocks = [])
  328.     {
  329.         $macros $this->macros;
  330.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  331.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  332.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  333.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  334.         // line 110
  335.         yield "    ";
  336.         yield from         $this->loadTemplate("articles/javascripts/base-article-js.html.twig""articles/offres.html.twig"110)->unwrap()->yield($context);
  337.         // line 111
  338.         yield "    ";
  339.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  340.         yield "
  341. ";
  342.         
  343.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  344.         
  345.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  346.         return; yield '';
  347.     }
  348.     /**
  349.      * @codeCoverageIgnore
  350.      */
  351.     public function getTemplateName()
  352.     {
  353.         return "articles/offres.html.twig";
  354.     }
  355.     /**
  356.      * @codeCoverageIgnore
  357.      */
  358.     public function isTraitable()
  359.     {
  360.         return false;
  361.     }
  362.     /**
  363.      * @codeCoverageIgnore
  364.      */
  365.     public function getDebugInfo()
  366.     {
  367.         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,);
  368.     }
  369.     public function getSourceContext()
  370.     {
  371.         return new Source("{% extends \"base.html.twig\" %}
  372. {# extension.excerpt #}
  373. {% block style %}
  374. \t{{ parent() }}
  375. \t{% include \"articles/styles/base-css-logic.html.twig\" %}
  376. {% endblock %}
  377. {% block content %}
  378. {% set name = \"\" %}
  379. {% if app.request.attributes.get('structure').structure.name is defined and app.request.attributes.get('structure').structure.name is not empty %}
  380. \t{% set name = app.request.attributes.get('structure').structure.name %}
  381. {% endif %}
  382. {% set values = \"\" %}
  383. {% set values = ['Actualités', 'Offres d\\'emploi'] %}
  384. \t{% include \"articles-blocks/breadcrumb.html.twig\" with {titles : values} %}
  385. \t<section class=\"single-article-container\">
  386. \t\t<article>
  387. \t\t\t<section>
  388. \t\t\t\t<div class=\"mlr-1em\">
  389. \t\t\t\t\t{% include \"articles-blocks/header.html.twig\" %}
  390. \t\t\t\t\t{# <div class=\"creator\">{{ sulu_resolve_user(creator).fullName }}</div> #}
  391. \t\t\t\t\t{% include \"articles/blocks/article-under-header.html.twig\" %}
  392. \t\t\t\t\t{% if extension.excerpt.categories is defined and extension.excerpt.categories is not empty %}
  393. \t\t\t\t\t\t{% set categories = extension.excerpt.categories %}
  394. \t\t\t\t\t\t{% include \"blocks/previews-from-controller/blocks/categories.html.twig\" %}
  395. \t\t\t\t\t{% endif %}
  396. \t\t\t\t\t{% if content.chapo is defined and content.chapo is not empty %}
  397. \t\t\t\t\t\t<div class=\"fw500 lh28 fs20 text cgrey mt-40px\">{{ content.chapo|raw }}</div>
  398. \t\t\t\t\t{% endif %}
  399. \t\t\t\t</div>
  400. \t\t\t</section>
  401. \t\t\t<div class=\"main-container w100 plr-1em\">
  402. \t\t\t\t<div class=\"offres-container\">
  403. \t\t\t\t\t{% if content.title is defined and content.title is not empty %}
  404. \t\t\t\t\t\t<div class=\"mb-3em mt-40px\">
  405. \t\t\t\t\t\t\t<div class=\"mb-3em dflex fdc\">
  406. \t\t\t\t\t\t\t\t<h2>Informations pratiques</h2>
  407. \t\t\t\t\t\t\t\t<ul class=\"dflex fdc aix jcse offres-infos mt-1em\">
  408. \t\t\t\t\t\t\t\t{% if content.enterprise is defined and content.enterprise is not empty %}
  409. \t\t\t\t\t\t\t\t\t<li class=\"dflex\">
  410. \t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
  411. \t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/breifcase-icon.svg\" alt=\"Structure\" width=\"21\" height=\"21\">
  412. \t\t\t\t\t\t\t\t\t\t</div>
  413. \t\t\t\t\t\t\t\t\t\t<span class=\"fw600 fs18 lh28\">Structure : {{ content.enterprise }}</span>
  414. \t\t\t\t\t\t\t\t\t</li>
  415. \t\t\t\t\t\t\t\t{% endif %}
  416. \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 %}
  417. \t\t\t\t\t\t\t\t\t<li>
  418. \t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
  419. \t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/location-icon.svg\" alt=\"Location\" width=\"21\" height=\"20\">
  420. \t\t\t\t\t\t\t\t\t\t</div>
  421. \t\t\t\t\t\t\t\t\t\t<span>{{ content.city ~ \", \" ~ content.cp }}</span>
  422. \t\t\t\t\t\t\t\t\t</li>
  423. \t\t\t\t\t\t\t\t{% endif %}
  424. \t\t\t\t\t\t\t\t{% if content.limit_date is defined and content.limit_date is not empty %}
  425. \t\t\t\t\t\t\t\t\t<li class=\"dflex\">
  426. \t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
  427. \t\t\t\t\t\t\t\t\t\t\t<img src=\"/resources/img/calendar-icon.svg\" alt=\"Calendrier\" width=\"21\" height=\"20\">
  428. \t\t\t\t\t\t\t\t\t\t</div>
  429. \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>
  430. \t\t\t\t\t\t\t\t\t</li>
  431. \t\t\t\t\t\t\t\t{% endif %}
  432. \t\t\t\t\t\t\t\t{% if content.profil is defined and content.profil is not empty %}
  433. \t\t\t\t\t\t\t\t\t<li class=\"dflex fdc profil\">
  434. \t\t\t\t\t\t\t\t\t\t<div class=\"icon-ctnr\">
  435. \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\">
  436. \t\t\t\t\t\t\t\t\t\t\t<span style=\"white-space: nowrap;\">Profil recherché : </span>
  437. \t\t\t\t\t\t\t\t\t\t</div>
  438. \t\t\t\t\t\t\t\t\t\t&nbsp;{{ content.profil|raw }}
  439. \t\t\t\t\t\t\t\t\t</li>
  440. \t\t\t\t\t\t\t\t{% endif %}
  441. \t\t\t\t\t\t\t\t</ul>
  442. \t\t\t\t\t\t\t</div>
  443. \t\t\t\t\t\t</div>
  444. \t\t\t\t\t{% endif %}
  445. \t\t\t\t\t
  446. \t\t\t\t\t<div class=\"mb-1em\">
  447. \t\t\t\t\t\t<div class=\"mb-1em\"><h2>{{ content.title_offre }}</h2></div>
  448. \t\t\t\t\t\t{% if content.summary_offre is defined and content.summary_offre is not empty %}
  449. \t\t\t\t\t\t\t<div class=\"lh24\">{{ content.summary_offre | raw }}</div>
  450. \t\t\t\t\t\t{% endif %}
  451. \t\t\t\t\t</div>
  452. \t\t\t\t\t<div class=\"mb-1em\">
  453. \t\t\t\t\t\t<div class=\"mb-1em\"><h2>{{ content.title_structure }}</h2></div>
  454. \t\t\t\t\t\t{% if content.structure is defined and content.structure is not empty %}
  455. \t\t\t\t\t\t\t<div class=\"lh24\">{{ content.structure | raw }}</div>
  456. \t\t\t\t\t\t{% endif %}
  457. \t\t\t\t\t</div>
  458. \t\t\t\t</div>
  459. \t\t\t</div>
  460. \t\t\t{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
  461. \t\t\t\t{% for data in content.main_content %}
  462. \t\t\t\t\t{% if data.type == \"sub_content\" %}
  463. \t\t\t\t\t\t{% include \"articles-blocks/articles-content.html.twig\" %}
  464. \t\t\t\t\t{% endif %}
  465. \t\t\t\t\t{% if data.type == \"linked_with\" %}
  466. \t\t\t\t\t\t{% include \"articles-blocks/linked-with.html.twig\" %}
  467. \t\t\t\t\t{% endif %}
  468.                     {% if data.type == \"iframe\" %}
  469.                         {% include \"blocks/iframe.html.twig\" with {block: data} %}
  470.                     {% endif %}
  471. \t\t\t\t\t{% if data.type == \"see_more\" %}
  472. \t\t\t\t\t\t{% include \"articles-blocks/see-more.html.twig\" %}
  473. \t\t\t\t\t{% endif %}
  474. \t\t\t\t{% endfor %}
  475. \t\t\t{% endif %}
  476. \t\t</article>
  477. \t</section>
  478. {% endblock %}
  479. {% block javascripts %}
  480.     {% include \"articles/javascripts/base-article-js.html.twig\" %}
  481.     {{ parent() }}
  482. {% endblock %}
  483. ""articles/offres.html.twig""/var/www/html/templates/articles/offres.html.twig");
  484.     }
  485. }