var/cache/dev/twig/02/02434243eb3994a5f59fe4c44f2eae0b.php line 41

  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/opportunity.html.twig */
  14. class __TwigTemplate_4ffc40f071ea5ef1060dd2506526f25b 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.             'titlebox' => [$this'block_titlebox'],
  24.             'title' => [$this'block_title'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.         $macros["_self"] = $this->macros["_self"] = $this;
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 11
  32.         return "Default/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/opportunity.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/opportunity.html.twig"));
  41.         // line 1
  42.         $context["iconColor"] = "#1F4878";
  43.         // line 2
  44.         $context["titleColor"] = "#ffffff";
  45.         // line 3
  46.         $context["bgColor"] = "#81B0B1";
  47.         // line 4
  48.         $context["title"] = twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'4$this->source); })()), "title", [], "any"falsefalsefalse4);
  49.         // line 5
  50.         $context["desc"] = twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'5$this->source); })()), "description", [], "any"falsefalsefalse5);
  51.         // line 6
  52.         $context["menu"] = "jobs";
  53.         // line 7
  54.         if (twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'7$this->source); })()), "banner", [], "any"falsefalsefalse7)) {
  55.             // line 8
  56.             $context["thumbnail"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'8$this->source); })()), "banner", [], "any"falsefalsefalse8), "thumbnail", [], "any"falsefalsefalse8);
  57.             // line 9
  58.             $context["banner"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'9$this->source); })()), "banner", [], "any"falsefalsefalse9), "file", [], "any"falsefalsefalse9));
  59.         }
  60.         // line 12
  61.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig""Default/opportunity.html.twig"12)->unwrap();
  62.         // line 11
  63.         $this->parent $this->loadTemplate("Default/base.html.twig""Default/opportunity.html.twig"11);
  64.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.     }
  70.     // line 21
  71.     public function block_titlebox($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""titlebox"));
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""titlebox"));
  78.         // line 22
  79.         echo "<div class='relative white flex col ";
  80.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("vt-20-in gpadding"), "html"nulltrue);
  81.         echo " ";
  82.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  83.         echo "'>
  84.     ";
  85.         // line 23
  86.         $this->displayBlock('title'$context$blocks);
  87.         // line 26
  88.         echo "</div>
  89. ";
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.     }
  95.     // line 23
  96.     public function block_title($context, array $blocks = [])
  97.     {
  98.         $macros $this->macros;
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  103.         // line 24
  104.         echo "    <h1 class='lh-2x ";
  105.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("h2 "), "html"nulltrue);
  106.         echo " ";
  107.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("h3"), "html"nulltrue);
  108.         echo "'>";
  109.         ((array_key_exists("title"$context)) ? (print (twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'24$this->source); })()), "html"nulltrue))) : (print ("")));
  110.         echo "</h1>
  111.     ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.     }
  117.     // line 29
  118.     public function block_content($context, array $blocks = [])
  119.     {
  120.         $macros $this->macros;
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  125.         // line 30
  126.         echo "<div class='";
  127.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("hz-50-in vt-40-in"), "html"nulltrue);
  128.         echo " ";
  129.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("vt-25-in"), "html"nulltrue);
  130.         echo " '>
  131.     <div class='gpadding ";
  132.         // line 31
  133.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("flex row space top reverse"), "html"nulltrue);
  134.         echo " ";
  135.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  136.         echo "'>
  137.         <div class=\"p-alt medium ";
  138.         // line 33
  139.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-30 quarter left-50"), "html"nulltrue);
  140.         echo " ";
  141.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-10"), "html"nulltrue);
  142.         echo "\">
  143.             ";
  144.         // line 34
  145.         echo twig_call_macro($macros["_self"], "macro_info", ["Date d'ouverture", ((twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'34$this->source); })()), "openingDate", [], "any"falsefalsefalse34)) ? ($this->env->getFilter('frdatetime')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'34$this->source); })()), "openingDate", [], "any"falsefalsefalse34))) : ("")), "warning-alt"], 34$context$this->getSourceContext());
  146.         echo "
  147.             ";
  148.         // line 35
  149.         echo twig_call_macro($macros["_self"], "macro_info", ["Date de clôture", ((twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'35$this->source); })()), "closingDate", [], "any"falsefalsefalse35)) ? ($this->env->getFilter('frdatetime')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'35$this->source); })()), "closingDate", [], "any"falsefalsefalse35))) : ("")), "error"], 35$context$this->getSourceContext());
  150.         echo "
  151.             ";
  152.         // line 36
  153.         echo twig_call_macro($macros["_self"], "macro_info", ["Structure"twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'36$this->source); })()), "structure", [], "any"falsefalsefalse36), "success-alt"], 36$context$this->getSourceContext());
  154.         echo "
  155.             ";
  156.         // line 37
  157.         echo twig_call_macro($macros["_self"], "macro_info", ["Categorie", ((twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'37$this->source); })()), "category", [], "any"falsefalsefalse37)) ? (twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'37$this->source); })()), "category", [], "any"falsefalsefalse37)) : ("")), "error-alt"], 37$context$this->getSourceContext());
  158.         echo "
  159.         </div>
  160.         <div id='article' class='w100 ";
  161.         // line 40
  162.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  163.         echo " ";
  164.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("vt-20-in"), "html"nulltrue);
  165.         echo "'>
  166. \t\t\t";
  167.         // line 41
  168.         if (twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'41$this->source); })()), "description", [], "any"falsefalsefalse41)) {
  169.             // line 42
  170.             echo "            <article  class='p article success-alt medium padding-20 ";
  171.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-30"), "html"nulltrue);
  172.             echo " ";
  173.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-10"), "html"nulltrue);
  174.             echo "'>
  175.             ";
  176.             // line 43
  177.             echo twig_nl2br(twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'43$this->source); })()), "description", [], "any"falsefalsefalse43), "html"nulltrue));
  178.             echo "
  179.             </article>
  180. \t\t\t";
  181.         }
  182.         // line 46
  183.         echo "
  184.             <article  class='h4 article black ";
  185.         // line 47
  186.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-30"), "html"nulltrue);
  187.         echo " ";
  188.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-10"), "html"nulltrue);
  189.         echo "'>
  190.             ";
  191.         // line 48
  192.         echo twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'48$this->source); })()), "content", [], "any"falsefalsefalse48);
  193.         echo "
  194.             </article>
  195.             ";
  196.         // line 51
  197.         if ((twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'51$this->source); })()), "biblio", [], "any"falsefalsefalse51) && twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'51$this->source); })()), "biblio", [], "any"falsefalsefalse51), "files", [], "any"falsefalsefalse51)))) {
  198.             // line 52
  199.             echo "            <h2 class='gradient top-40 extrabold iflex'>Pièces jointes</h2>
  200.             <div class='flex row space wrap ";
  201.             // line 53
  202.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-40"), "html"nulltrue);
  203.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-20"), "html"nulltrue);
  204.             echo "'>
  205.                 ";
  206.             // line 54
  207.             echo twig_call_macro($macros["macros"], "macro_biblio", [twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'54$this->source); })()), "biblio", [], "any"falsefalsefalse54)], 54$context$this->getSourceContext());
  208.             echo "
  209.             </div>
  210.             ";
  211.         }
  212.         // line 57
  213.         echo "        </div>
  214. \t</div>
  215. </div>
  216. <aside class=\" ";
  217.         // line 60
  218.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("vt-40-in"), "html"nulltrue);
  219.         echo " ";
  220.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("vt-15-in"), "html"nulltrue);
  221.         echo "\">
  222.     <h2 class=\"gpadding extrabold gradient iflex ";
  223.         // line 62
  224.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(" vt-20-in"), "html"nulltrue);
  225.         echo " ";
  226.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("vt-15"), "html"nulltrue);
  227.         echo "\">Ces offres peuvent vous intéresser</h2>
  228.     <div class=\"relative w100 hoverflow ";
  229.         // line 63
  230.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  231.         echo " ";
  232.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  233.         echo "\">
  234.         <div id=\"opportunities\" class=\"relative flex row space os-slider transition ";
  235.         // line 64
  236.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("hz-50-in"), "html"nulltrue);
  237.         echo " ";
  238.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("hz-25-in"), "html"nulltrue);
  239.         echo "\"  style=\"overflow-x: scroll\">
  240.             ";
  241.         // line 65
  242.         $context['_parent'] = $context;
  243.         $context['_seq'] = twig_ensure_traversable(range(15));
  244.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  245.             // line 66
  246.             echo "            ";
  247.             $context['_parent'] = $context;
  248.             $context['_seq'] = twig_ensure_traversable((isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'66$this->source); })()));
  249.             foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  250.                 // line 67
  251.                 echo "            <div class=\"os-slider-child flex row ";
  252.                 echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("third-60 right-30-in"), "html"nulltrue);
  253.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  254.                 echo "\">
  255.             ";
  256.                 // line 68
  257.                 echo twig_call_macro($macros["macros"], "macro_opportunity", [$context["o"], truetrue], 68$context$this->getSourceContext());
  258.                 echo "
  259.             </div>
  260.             ";
  261.             }
  262.             $_parent $context['_parent'];
  263.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  264.             $context array_intersect_key($context$_parent) + $_parent;
  265.             // line 71
  266.             echo "            ";
  267.         }
  268.         $_parent $context['_parent'];
  269.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  270.         $context array_intersect_key($context$_parent) + $_parent;
  271.         // line 72
  272.         echo "        </div>
  273.         <div class=\"absolute h100 xright-half-alt left top\">
  274.             <div class=\"flex row middle fill\">
  275.                 <span class=\"os-slider-prev pointer flex row middle center shadow-alt bg-warning circle right-20-in left-70-in vt-40-in\" data-target=\"#opportunities\">
  276.                     <i class=\"fa fa-arrow-left white h2\"></i>
  277.                 </span>
  278.             </div>
  279.         </div>
  280.         <div class=\"absolute h100 xleft-half-alt right top\">
  281.             <div class=\"flex row middle fill\">
  282.                 <span class=\"os-slider-next pointer flex row middle center shadow-alt bg-warning circle left-20-in right-70-in vt-40-in\" data-target=\"#opportunities\">
  283.                     <i class=\"fa fa-arrow-right white h2\"></i>
  284.                 </span>
  285.             </div>
  286.         </div>
  287.     </div>
  288. </aside>
  289. ";
  290.         
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  292.         
  293.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  294.     }
  295.     // line 14
  296.     public function macro_info($__label__ null$__value__ null$__color__ null, ...$__varargs__)
  297.     {
  298.         $macros $this->macros;
  299.         $context $this->env->mergeGlobals([
  300.             "label" => $__label__,
  301.             "value" => $__value__,
  302.             "color" => $__color__,
  303.             "varargs" => $__varargs__,
  304.         ]);
  305.         $blocks = [];
  306.         ob_start();
  307.         try {
  308.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  309.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""info"));
  310.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  311.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""info"));
  312.             // line 15
  313.             echo "<div class=\"flex col bottom-30 border border-";
  314.             echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'15$this->source); })()), "html"nulltrue);
  315.             echo "\">
  316.     <label class=\"p-alt medium bg-";
  317.             // line 16
  318.             echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'16$this->source); })()), "html"nulltrue);
  319.             echo " white hz-20-in vt-8-in\">";
  320.             echo twig_escape_filter($this->env, (isset($context["label"]) || array_key_exists("label"$context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.'16$this->source); })()), "html"nulltrue);
  321.             echo " :</label>
  322.     <span class=\"semibold ";
  323.             // line 17
  324.             echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'17$this->source); })()), "html"nulltrue);
  325.             echo " hz-20-in vt-8-in\">";
  326.             echo twig_escape_filter($this->env, (isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'17$this->source); })()), "html"nulltrue);
  327.             echo "</span>
  328. </div>
  329. ";
  330.             
  331.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  332.             
  333.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  334.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  335.         } finally {
  336.             ob_end_clean();
  337.         }
  338.     }
  339.     public function getTemplateName()
  340.     {
  341.         return "Default/opportunity.html.twig";
  342.     }
  343.     public function isTraitable()
  344.     {
  345.         return false;
  346.     }
  347.     public function getDebugInfo()
  348.     {
  349.         return array (  359 => 17,  353 => 16,  348 => 15,  327 => 14,  300 => 72,  294 => 71,  285 => 68,  279 => 67,  274 => 66,  270 => 65,  264 => 64,  258 => 63,  252 => 62,  245 => 60,  240 => 57,  234 => 54,  229 => 53,  226 => 52,  224 => 51,  218 => 48,  212 => 47,  209 => 46,  203 => 43,  196 => 42,  194 => 41,  188 => 40,  182 => 37,  178 => 36,  174 => 35,  170 => 34,  164 => 33,  157 => 31,  150 => 30,  140 => 29,  123 => 24,  113 => 23,  102 => 26,  100 => 23,  93 => 22,  83 => 21,  72 => 11,  70 => 12,  67 => 9,  65 => 8,  63 => 7,  61 => 6,  59 => 5,  57 => 4,  55 => 3,  53 => 2,  51 => 1,  38 => 11,);
  350.     }
  351.     public function getSourceContext()
  352.     {
  353.         return new Source("{% set iconColor = \"#1F4878\" %}
  354. {% set titleColor = \"#ffffff\" %}
  355. {% set bgColor = \"#81B0B1\" %}
  356. {% set title = item.title %}
  357. {% set desc = item.description %}
  358. {% set menu = 'jobs' %}
  359. {% if item.banner %}
  360. {% set thumbnail = item.banner.thumbnail %}
  361. {% set banner = asset(item.banner.file) %}
  362. {% endif %}
  363. {% extends 'Default/base.html.twig' %}
  364. {% import \"Default/macros.html.twig\" as macros %}
  365. {% macro info(label,value,color) %}
  366. <div class=\"flex col bottom-30 border border-{{color}}\">
  367.     <label class=\"p-alt medium bg-{{color}} white hz-20-in vt-8-in\">{{label}} :</label>
  368.     <span class=\"semibold {{color}} hz-20-in vt-8-in\">{{value}}</span>
  369. </div>
  370. {% endmacro %}
  371. {% block titlebox %}
  372. <div class='relative white flex col {{desktop(\"vt-20-in gpadding\")}} {{mobile(\"\")}}'>
  373.     {% block title %}
  374.     <h1 class='lh-2x {{desktop(\"h2 \")}} {{mobile(\"h3\")}}'>{{title is defined ? title}}</h1>
  375.     {% endblock title %}
  376. </div>
  377. {% endblock titlebox %}
  378. {% block content %}
  379. <div class='{{desktop(\"hz-50-in vt-40-in\")}} {{mobile(\"vt-25-in\")}} '>
  380.     <div class='gpadding {{desktop(\"flex row space top reverse\")}} {{mobile(\"\")}}'>
  381.         <div class=\"p-alt medium {{desktop('top-30 quarter left-50')}} {{mobile('top-10')}}\">
  382.             {{_self.info(\"Date d'ouverture\",item.openingDate ? item.openingDate|frdatetime,\"warning-alt\")}}
  383.             {{_self.info(\"Date de clôture\",item.closingDate ? item.closingDate|frdatetime,\"error\")}}
  384.             {{_self.info(\"Structure\",item.structure,\"success-alt\")}}
  385.             {{_self.info(\"Categorie\",item.category ? item.category,\"error-alt\")}}
  386.         </div>
  387.         <div id='article' class='w100 {{desktop(\"\")}} {{mobile(\"vt-20-in\")}}'>
  388. \t\t\t{% if item.description %}
  389.             <article  class='p article success-alt medium padding-20 {{desktop(\"top-30\")}} {{mobile(\"top-10\")}}'>
  390.             {{ item.description|nl2br }}
  391.             </article>
  392. \t\t\t{% endif %}
  393.             <article  class='h4 article black {{desktop(\"top-30\")}} {{mobile(\"top-10\")}}'>
  394.             {{ item.content|raw }}
  395.             </article>
  396.             {% if item.biblio and item.biblio.files|length %}
  397.             <h2 class='gradient top-40 extrabold iflex'>Pièces jointes</h2>
  398.             <div class='flex row space wrap {{desktop(\"top-40\")}}{{mobile(\"top-20\")}}'>
  399.                 {{macros.biblio(item.biblio)}}
  400.             </div>
  401.             {% endif %}
  402.         </div>
  403. \t</div>
  404. </div>
  405. <aside class=\" {{desktop('vt-40-in')}} {{mobile('vt-15-in')}}\">
  406.     <h2 class=\"gpadding extrabold gradient iflex {{desktop(' vt-20-in')}} {{mobile('vt-15')}}\">Ces offres peuvent vous intéresser</h2>
  407.     <div class=\"relative w100 hoverflow {{desktop('')}} {{mobile('')}}\">
  408.         <div id=\"opportunities\" class=\"relative flex row space os-slider transition {{desktop('hz-50-in')}} {{mobile('hz-25-in')}}\"  style=\"overflow-x: scroll\">
  409.             {% for i in 1..5 %}
  410.             {% for o in list %}
  411.             <div class=\"os-slider-child flex row {{desktop('third-60 right-30-in')}}{{mobile('')}}\">
  412.             {{macros.opportunity(o,true,true)}}
  413.             </div>
  414.             {% endfor %}
  415.             {% endfor %}
  416.         </div>
  417.         <div class=\"absolute h100 xright-half-alt left top\">
  418.             <div class=\"flex row middle fill\">
  419.                 <span class=\"os-slider-prev pointer flex row middle center shadow-alt bg-warning circle right-20-in left-70-in vt-40-in\" data-target=\"#opportunities\">
  420.                     <i class=\"fa fa-arrow-left white h2\"></i>
  421.                 </span>
  422.             </div>
  423.         </div>
  424.         <div class=\"absolute h100 xleft-half-alt right top\">
  425.             <div class=\"flex row middle fill\">
  426.                 <span class=\"os-slider-next pointer flex row middle center shadow-alt bg-warning circle left-20-in right-70-in vt-40-in\" data-target=\"#opportunities\">
  427.                     <i class=\"fa fa-arrow-right white h2\"></i>
  428.                 </span>
  429.             </div>
  430.         </div>
  431.     </div>
  432. </aside>
  433. {% endblock %}
  434. ""Default/opportunity.html.twig""/home/olasoftnka/asin/templates/Default/opportunity.html.twig");
  435.     }
  436. }