var/cache/dev/twig/02/02434243eb3994a5f59fe4c44f2eae0b.php line 170
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Default/opportunity.html.twig */
class __TwigTemplate_4ffc40f071ea5ef1060dd2506526f25b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'titlebox' => [$this, 'block_titlebox'],
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
];
$macros["_self"] = $this->macros["_self"] = $this;
}
protected function doGetParent(array $context)
{
// line 11
return "Default/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/opportunity.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/opportunity.html.twig"));
// line 1
$context["iconColor"] = "#1F4878";
// line 2
$context["titleColor"] = "#ffffff";
// line 3
$context["bgColor"] = "#81B0B1";
// line 4
$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", false, false, false, 4);
// line 5
$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", false, false, false, 5);
// line 6
$context["menu"] = "jobs";
// line 7
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", false, false, false, 7)) {
// line 8
$context["thumbnail"] = twig_get_attribute($this->env, $this->source, 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.', 8, $this->source); })()), "banner", [], "any", false, false, false, 8), "thumbnail", [], "any", false, false, false, 8);
// line 9
$context["banner"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, 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.', 9, $this->source); })()), "banner", [], "any", false, false, false, 9), "file", [], "any", false, false, false, 9));
}
// line 12
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig", "Default/opportunity.html.twig", 12)->unwrap();
// line 11
$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/opportunity.html.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 21
public function block_titlebox($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "titlebox"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "titlebox"));
// line 22
echo "<div class='relative white flex col ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("vt-20-in gpadding"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "'>
";
// line 23
$this->displayBlock('title', $context, $blocks);
// line 26
echo "</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 23
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 24
echo " <h1 class='lh-2x ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h2 "), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("h3"), "html", null, true);
echo "'>";
((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", null, true))) : (print ("")));
echo "</h1>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 29
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 30
echo "<div class='";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-50-in vt-40-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-25-in"), "html", null, true);
echo " '>
<div class='gpadding ";
// line 31
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("flex row space top reverse"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "'>
<div class=\"p-alt medium ";
// line 33
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-30 quarter left-50"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-10"), "html", null, true);
echo "\">
";
// line 34
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", false, false, false, 34)) ? ($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", false, false, false, 34))) : ("")), "warning-alt"], 34, $context, $this->getSourceContext());
echo "
";
// line 35
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", false, false, false, 35)) ? ($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", false, false, false, 35))) : ("")), "error"], 35, $context, $this->getSourceContext());
echo "
";
// line 36
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", false, false, false, 36), "success-alt"], 36, $context, $this->getSourceContext());
echo "
";
// line 37
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", false, false, false, 37)) ? (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", false, false, false, 37)) : ("")), "error-alt"], 37, $context, $this->getSourceContext());
echo "
</div>
<div id='article' class='w100 ";
// line 40
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-20-in"), "html", null, true);
echo "'>
\t\t\t";
// line 41
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", false, false, false, 41)) {
// line 42
echo " <article class='p article success-alt medium padding-20 ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-30"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-10"), "html", null, true);
echo "'>
";
// line 43
echo twig_nl2br(twig_escape_filter($this->env, 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.', 43, $this->source); })()), "description", [], "any", false, false, false, 43), "html", null, true));
echo "
</article>
\t\t\t";
}
// line 46
echo "
<article class='h4 article black ";
// line 47
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-30"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-10"), "html", null, true);
echo "'>
";
// line 48
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", false, false, false, 48);
echo "
</article>
";
// line 51
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", false, false, false, 51) && twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, 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", false, false, false, 51), "files", [], "any", false, false, false, 51)))) {
// line 52
echo " <h2 class='gradient top-40 extrabold iflex'>Pièces jointes</h2>
<div class='flex row space wrap ";
// line 53
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-40"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-20"), "html", null, true);
echo "'>
";
// line 54
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", false, false, false, 54)], 54, $context, $this->getSourceContext());
echo "
</div>
";
}
// line 57
echo " </div>
\t</div>
</div>
<aside class=\" ";
// line 60
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("vt-40-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-15-in"), "html", null, true);
echo "\">
<h2 class=\"gpadding extrabold gradient iflex ";
// line 62
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(" vt-20-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-15"), "html", null, true);
echo "\">Ces offres peuvent vous intéresser</h2>
<div class=\"relative w100 hoverflow ";
// line 63
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">
<div id=\"opportunities\" class=\"relative flex row space os-slider transition ";
// line 64
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-50-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-25-in"), "html", null, true);
echo "\" style=\"overflow-x: scroll\">
";
// line 65
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 66
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["list"]) || array_key_exists("list", $context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.', 66, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 67
echo " <div class=\"os-slider-child flex row ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("third-60 right-30-in"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">
";
// line 68
echo twig_call_macro($macros["macros"], "macro_opportunity", [$context["o"], true, true], 68, $context, $this->getSourceContext());
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 72
echo " </div>
<div class=\"absolute h100 xright-half-alt left top\">
<div class=\"flex row middle fill\">
<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\">
<i class=\"fa fa-arrow-left white h2\"></i>
</span>
</div>
</div>
<div class=\"absolute h100 xleft-half-alt right top\">
<div class=\"flex row middle fill\">
<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\">
<i class=\"fa fa-arrow-right white h2\"></i>
</span>
</div>
</div>
</div>
</aside>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 14
public function macro_info($__label__ = null, $__value__ = null, $__color__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"label" => $__label__,
"value" => $__value__,
"color" => $__color__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "info"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "info"));
// line 15
echo "<div class=\"flex col bottom-30 border border-";
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", null, true);
echo "\">
<label class=\"p-alt medium bg-";
// line 16
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", null, true);
echo " white hz-20-in vt-8-in\">";
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", null, true);
echo " :</label>
<span class=\"semibold ";
// line 17
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", null, true);
echo " hz-20-in vt-8-in\">";
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", null, true);
echo "</span>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
public function getTemplateName()
{
return "Default/opportunity.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% set iconColor = \"#1F4878\" %}
{% set titleColor = \"#ffffff\" %}
{% set bgColor = \"#81B0B1\" %}
{% set title = item.title %}
{% set desc = item.description %}
{% set menu = 'jobs' %}
{% if item.banner %}
{% set thumbnail = item.banner.thumbnail %}
{% set banner = asset(item.banner.file) %}
{% endif %}
{% extends 'Default/base.html.twig' %}
{% import \"Default/macros.html.twig\" as macros %}
{% macro info(label,value,color) %}
<div class=\"flex col bottom-30 border border-{{color}}\">
<label class=\"p-alt medium bg-{{color}} white hz-20-in vt-8-in\">{{label}} :</label>
<span class=\"semibold {{color}} hz-20-in vt-8-in\">{{value}}</span>
</div>
{% endmacro %}
{% block titlebox %}
<div class='relative white flex col {{desktop(\"vt-20-in gpadding\")}} {{mobile(\"\")}}'>
{% block title %}
<h1 class='lh-2x {{desktop(\"h2 \")}} {{mobile(\"h3\")}}'>{{title is defined ? title}}</h1>
{% endblock title %}
</div>
{% endblock titlebox %}
{% block content %}
<div class='{{desktop(\"hz-50-in vt-40-in\")}} {{mobile(\"vt-25-in\")}} '>
<div class='gpadding {{desktop(\"flex row space top reverse\")}} {{mobile(\"\")}}'>
<div class=\"p-alt medium {{desktop('top-30 quarter left-50')}} {{mobile('top-10')}}\">
{{_self.info(\"Date d'ouverture\",item.openingDate ? item.openingDate|frdatetime,\"warning-alt\")}}
{{_self.info(\"Date de clôture\",item.closingDate ? item.closingDate|frdatetime,\"error\")}}
{{_self.info(\"Structure\",item.structure,\"success-alt\")}}
{{_self.info(\"Categorie\",item.category ? item.category,\"error-alt\")}}
</div>
<div id='article' class='w100 {{desktop(\"\")}} {{mobile(\"vt-20-in\")}}'>
\t\t\t{% if item.description %}
<article class='p article success-alt medium padding-20 {{desktop(\"top-30\")}} {{mobile(\"top-10\")}}'>
{{ item.description|nl2br }}
</article>
\t\t\t{% endif %}
<article class='h4 article black {{desktop(\"top-30\")}} {{mobile(\"top-10\")}}'>
{{ item.content|raw }}
</article>
{% if item.biblio and item.biblio.files|length %}
<h2 class='gradient top-40 extrabold iflex'>Pièces jointes</h2>
<div class='flex row space wrap {{desktop(\"top-40\")}}{{mobile(\"top-20\")}}'>
{{macros.biblio(item.biblio)}}
</div>
{% endif %}
</div>
\t</div>
</div>
<aside class=\" {{desktop('vt-40-in')}} {{mobile('vt-15-in')}}\">
<h2 class=\"gpadding extrabold gradient iflex {{desktop(' vt-20-in')}} {{mobile('vt-15')}}\">Ces offres peuvent vous intéresser</h2>
<div class=\"relative w100 hoverflow {{desktop('')}} {{mobile('')}}\">
<div id=\"opportunities\" class=\"relative flex row space os-slider transition {{desktop('hz-50-in')}} {{mobile('hz-25-in')}}\" style=\"overflow-x: scroll\">
{% for i in 1..5 %}
{% for o in list %}
<div class=\"os-slider-child flex row {{desktop('third-60 right-30-in')}}{{mobile('')}}\">
{{macros.opportunity(o,true,true)}}
</div>
{% endfor %}
{% endfor %}
</div>
<div class=\"absolute h100 xright-half-alt left top\">
<div class=\"flex row middle fill\">
<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\">
<i class=\"fa fa-arrow-left white h2\"></i>
</span>
</div>
</div>
<div class=\"absolute h100 xleft-half-alt right top\">
<div class=\"flex row middle fill\">
<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\">
<i class=\"fa fa-arrow-right white h2\"></i>
</span>
</div>
</div>
</div>
</aside>
{% endblock %}
", "Default/opportunity.html.twig", "/home/olasoftnka/asin/templates/Default/opportunity.html.twig");
}
}