<?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;
/* RecruitmentCampaign/_campaign_detail.html.twig */
class __TwigTemplate_b2c38abb923c3d63dcf17261729080ac extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'titlebox' => [$this, 'block_titlebox'],
'campaign_content' => [$this, 'block_campaign_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "RecruitmentCampaign/campaign.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", "RecruitmentCampaign/_campaign_detail.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "RecruitmentCampaign/_campaign_detail.html.twig"));
$this->parent = $this->loadTemplate("RecruitmentCampaign/campaign.html.twig", "RecruitmentCampaign/_campaign_detail.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
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 4
echo " <div class=\"fill relative flex col middle\">
<h1 class=\"";
// line 5
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h2"), "html", null, true);
echo " white\">";
echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 5, $this->source); })()), "html", null, true);
echo "</h1>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_campaign_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", "campaign_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "campaign_content"));
// line 10
echo "<div class='";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("flex row space top bottom-40"), "html", null, true);
echo "'>
<div id='article' class='w100'>
<div class=\"flex row ";
// line 12
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("middle"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("black-alt p-alt space"), "html", null, true);
echo "\">
<span class=\"flex row bg-white ";
// line 13
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("border border-1x border-gray radius-10"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("radius-5 border border-1x border-gray-alt half-5"), "html", null, true);
echo " hoverflow\">
<i class=\"";
// line 14
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bg-success-alt white"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bg-gray"), "html", null, true);
echo " flex col middle ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-15-in vt-10-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-10-in vt-8-in p-alt"), "html", null, true);
echo "\"><i>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DU"), "html", null, true);
echo "</i></i>
<span class=\"flex row middle ";
// line 15
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-15-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-10-in"), "html", null, true);
echo " nowrap\">";
echo twig_escape_filter($this->env, $this->env->getFilter('frdate')->getCallable()(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 15, $this->source); })()), "start", [], "any", false, false, false, 15), "date", [], "any", false, false, false, 15)), "html", null, true);
echo "</span>
</span>
<span class=\"flex row bg-white ";
// line 17
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("border border-1x border-gray radius-10 left-20"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("radius-5 border border-1x border-gray-alt half-5"), "html", null, true);
echo " hoverflow\">
<i class=\"";
// line 18
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bg-error white"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bg-gray"), "html", null, true);
echo " flex col middle ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-15-in vt-10-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-10-in vt-8-in p-alt"), "html", null, true);
echo "\"><i>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("AU"), "html", null, true);
echo "</i></i>
<span class=\"flex row middle ";
// line 19
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-15-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-10-in"), "html", null, true);
echo " nowrap\">";
echo twig_escape_filter($this->env, $this->env->getFilter('frdate')->getCallable()(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 19, $this->source); })()), "end", [], "any", false, false, false, 19), "date", [], "any", false, false, false, 19)), "html", null, true);
echo "</span>
</span>
";
// line 22
if ($this->env->getFunction('isDesktop')->getCallable()()) {
// line 23
echo " <div class=\"left-20\">
";
// line 24
echo twig_include($this->env, $context, "RecruitmentCampaign/_campaign_subscription_btn.html.twig");
echo "
</div>
";
}
// line 27
echo " </div>
<article class='article lh-4x black-alt text-justify ";
// line 29
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h6 top-50"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p top-25"), "html", null, true);
echo "'>
";
// line 30
echo twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 30, $this->source); })()), "description", [], "any", false, false, false, 30);
echo "
</article>
<article class='article lh-4x black-alt text-justify ";
// line 33
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-20 h6"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p top-20"), "html", null, true);
echo "'>
";
// line 34
echo twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 34, $this->source); })()), "details", [], "any", false, false, false, 34);
echo "
</article>
";
// line 37
if (twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 37, $this->source); })()), "services", [], "any", false, false, false, 37)) {
// line 38
echo " <div class=\"";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-50 bottom-10"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-30 bottom-30"), "html", null, true);
echo " border border-1x border-gray\"></div>
<h2 class='adapt ";
// line 39
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h4 top-60"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("h3 top-20 bottom-15"), "html", null, true);
echo " adapt'>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prestations concernées"), "html", null, true);
echo "</h2>
<article class='flex wrap ";
// line 40
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-20 bottom-50"), "html", null, true);
echo "'>
";
// line 41
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 41, $this->source); })()), "services", [], "any", false, false, false, 41));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 42
echo " <div class=\"bg-gray flex col ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("shadow-alt-2 bottom-10"), "html", null, true);
echo " right-10 ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-10 bottom-5"), "html", null, true);
echo "\">
<label class=\"";
// line 43
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("h5 vt-5-in hz-7-in"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("vt-10-in"), "html", null, true);
echo " success\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["o"], "service", [], "any", false, false, false, 43), "name", [], "any", false, false, false, 43), "html", null, true);
echo "</label>
</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 46
echo " </article>
";
}
// line 48
echo "
";
// line 49
if ((twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 49, $this->source); })()), "biblio", [], "any", false, false, false, 49) && twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 49, $this->source); })()), "biblio", [], "any", false, false, false, 49), "files", [], "any", false, false, false, 49)))) {
// line 50
echo " <div class=\"";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-50 bottom-10"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-30 bottom-30"), "html", null, true);
echo " border border-1x border-gray\"></div>
<h2 class='adapt ";
// line 51
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h4 top-50"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("h3 top-30 bottom-25"), "html", null, true);
echo " adapt'>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Document(s) joint(s)"), "html", null, true);
echo "</h2>
<div class='flex row space wrap ";
// line 52
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-30"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-20"), "html", null, true);
echo "'>
";
// line 53
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 53, $this->source); })()), "biblio", [], "any", false, false, false, 53), "files", [], "any", false, false, false, 53));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 54
echo " <div class='doc flex row top ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("half-20 hz-25-in vt-20-in"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("w100 hz-20-in vt-15-in"), "html", null, true);
echo " relative gradient-banner bottom-20 hoverflow ";
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 "'>
";
// line 55
$context["doc"] = $context["o"];
// line 56
echo " <span class=\"\">
<i class=\"fa fa-file white ";
// line 57
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("fa-3x"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("fa-2x"), "html", null, true);
echo "\"></i>
</span>
<div class='text-left flex col space relative left-20 ";
// line 59
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("right-40-in"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("right-10-in"), "html", null, true);
echo "'>
<h3 class='";
// line 60
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("h5"), "html", null, true);
echo " white ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("p medium"), "html", null, true);
echo " text-left nomargin lh-1x semibold'>";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 60, $this->source); })()), "name", [], "any", false, false, false, 60)) ? (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 60, $this->source); })()), "name", [], "any", false, false, false, 60)) : (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 60, $this->source); })()), "source", [], "any", false, false, false, 60))), "html", null, true);
echo "</h3>
<div class=\"flex col middle space top-10\">
<div class='gray-alt text-left p-alt'>
<span class=''>";
// line 63
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 63, $this->source); })()), "formatSize", [], "any", false, false, false, 63), "html", null, true);
echo "</span> |
<span class=''>";
// line 64
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 64, $this->source); })()), "reading", [], "any", false, false, false, 64)), "html", null, true);
echo " lect.</span> |
<span>";
// line 65
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 65, $this->source); })()), "downloads", [], "any", false, false, false, 65)), "html", null, true);
echo " téléch.</span>
</div>
<div class='flex row middle p upper medium ";
// line 67
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-20"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-10"), "html", null, true);
echo " nowrap'>
<i class=\"w100 top-2-in bg-gray right-40\"></i>
";
// line 69
$context["action"] = null;
// line 70
echo " ";
$context["type"] = null;
// line 71
echo " ";
if (twig_in_filter("pdf", twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 71, $this->source); })()), "mimetype", [], "any", false, false, false, 71)))) {
// line 72
echo " ";
$context["action"] = "os-read";
// line 73
echo " ";
$context["type"] = "pdf";
// line 74
echo " ";
} elseif (twig_in_filter("image", twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 74, $this->source); })()), "mimetype", [], "any", false, false, false, 74)))) {
// line 75
echo " ";
$context["action"] = "os-image";
// line 76
echo " ";
$context["type"] = "image";
// line 77
echo " ";
} elseif (twig_in_filter("video", twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 77, $this->source); })()), "mimetype", [], "any", false, false, false, 77)))) {
// line 78
echo " ";
$context["action"] = "os-video";
// line 79
echo " ";
$context["type"] = "video";
// line 80
echo " ";
}
// line 81
echo " ";
if ((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 81, $this->source); })())) {
// line 82
echo " <span class='";
echo twig_escape_filter($this->env, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 82, $this->source); })()), "html", null, true);
echo " white ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p-alt"), "html", null, true);
echo "' data-target=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("file-read", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 82, $this->source); })()), "id", [], "any", false, false, false, 82), "name" => ((twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 82, $this->source); })()), "name", [], "any", false, false, false, 82)) ? ($this->env->getFilter('slug')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 82, $this->source); })()), "name", [], "any", false, false, false, 82))) : ($this->env->getFilter('slug')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 82, $this->source); })()), "source", [], "any", false, false, false, 82))))]), "html", null, true);
echo "\">Lire</span>
";
} else {
// line 84
echo " <span class='os-read white ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p-alt"), "html", null, true);
echo "' data-url=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("file-read", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 84, $this->source); })()), "id", [], "any", false, false, false, 84), "name" => ((twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 84, $this->source); })()), "name", [], "any", false, false, false, 84)) ? ($this->env->getFilter('slug')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 84, $this->source); })()), "name", [], "any", false, false, false, 84))) : ($this->env->getFilter('slug')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 84, $this->source); })()), "source", [], "any", false, false, false, 84))))]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lire"), "html", null, true);
echo "</span>
";
}
// line 86
echo " <a class='left-30 white ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p-alt"), "html", null, true);
echo "' href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("file-download", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 86, $this->source); })()), "id", [], "any", false, false, false, 86), "name" => ((twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 86, $this->source); })()), "name", [], "any", false, false, false, 86)) ? ($this->env->getFilter('slug')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 86, $this->source); })()), "name", [], "any", false, false, false, 86))) : ($this->env->getFilter('slug')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 86, $this->source); })()), "source", [], "any", false, false, false, 86))))]), "html", null, true);
echo "\" target='_blank' download>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Télécharger"), "html", null, true);
echo "</a>
</div>
</div>
</div>
<i class=\"triangle gradient-banner bg-white\"></i>
</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 93
echo " </div>
";
}
// line 95
echo "
";
// line 96
if ( !twig_get_attribute($this->env, $this->source, (isset($context["role"]) || array_key_exists("role", $context) ? $context["role"] : (function () { throw new RuntimeError('Variable "role" does not exist.', 96, $this->source); })()), "provider", [], "any", false, false, false, 96)) {
// line 97
echo " <div class=\"";
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-30"), "html", null, true);
echo "\">
";
// line 98
echo twig_include($this->env, $context, "RecruitmentCampaign/_campaign_subscription_btn.html.twig", ["full" => true]);
echo "
</div>
";
}
// line 101
echo " </div>
";
// line 103
if (($this->env->getFunction('isMobile')->getCallable()() && !twig_get_attribute($this->env, $this->source, (isset($context["role"]) || array_key_exists("role", $context) ? $context["role"] : (function () { throw new RuntimeError('Variable "role" does not exist.', 103, $this->source); })()), "connected", [], "any", false, false, false, 103))) {
// line 104
echo " <div class=\"border border-1x border-gray top-40\"></div>
";
}
// line 106
echo "
<aside class=\"";
// line 107
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("third left-80 vt-20-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-20-in top-10"), "html", null, true);
echo " ";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["role"]) || array_key_exists("role", $context) ? $context["role"] : (function () { throw new RuntimeError('Variable "role" does not exist.', 107, $this->source); })()), "connected", [], "any", false, false, false, 107) && $this->env->getFunction('isMobile')->getCallable()())) ? ("hide") : (""));
echo "\">
";
// line 108
echo twig_include($this->env, $context, "security/_provider_login_form.html.twig");
echo "
</aside>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "RecruitmentCampaign/_campaign_detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 442 => 108, 434 => 107, 431 => 106, 427 => 104, 425 => 103, 421 => 101, 415 => 98, 409 => 97, 407 => 96, 404 => 95, 400 => 93, 382 => 86, 372 => 84, 362 => 82, 359 => 81, 356 => 80, 353 => 79, 350 => 78, 347 => 77, 344 => 76, 341 => 75, 338 => 74, 335 => 73, 332 => 72, 329 => 71, 326 => 70, 324 => 69, 318 => 67, 313 => 65, 309 => 64, 305 => 63, 295 => 60, 290 => 59, 284 => 57, 281 => 56, 279 => 55, 269 => 54, 265 => 53, 260 => 52, 253 => 51, 247 => 50, 245 => 49, 242 => 48, 238 => 46, 226 => 43, 219 => 42, 215 => 41, 211 => 40, 204 => 39, 198 => 38, 196 => 37, 190 => 34, 185 => 33, 179 => 30, 174 => 29, 170 => 27, 164 => 24, 161 => 23, 159 => 22, 149 => 19, 138 => 18, 133 => 17, 124 => 15, 113 => 14, 108 => 13, 103 => 12, 97 => 10, 87 => 9, 72 => 5, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"RecruitmentCampaign/campaign.html.twig\" %}
{% block titlebox %}
<div class=\"fill relative flex col middle\">
<h1 class=\"{{ desktop(\"h2\")}} white\">{{title}}</h1>
</div>
{% endblock %}
{% block campaign_content %}
<div class='{{desktop(\"flex row space top bottom-40\")}}'>
<div id='article' class='w100'>
<div class=\"flex row {{ desktop(\"middle\") }}{{ mobile(\"black-alt p-alt space\") }}\">
<span class=\"flex row bg-white {{ desktop(\"border border-1x border-gray radius-10\")}}{{ mobile(\"radius-5 border border-1x border-gray-alt half-5\")}} hoverflow\">
<i class=\"{{ desktop(\"bg-success-alt white\") }}{{ mobile(\"bg-gray\")}} flex col middle {{ desktop(\"hz-15-in vt-10-in\") }} {{ mobile(\"hz-10-in vt-8-in p-alt\") }}\"><i>{{ \"DU\"|trans }}</i></i>
<span class=\"flex row middle {{ desktop(\"hz-15-in\")}} {{ mobile(\"hz-10-in\")}} nowrap\">{{ campaign.start.date|frdate }}</span>
</span>
<span class=\"flex row bg-white {{ desktop(\"border border-1x border-gray radius-10 left-20\")}}{{ mobile(\"radius-5 border border-1x border-gray-alt half-5\")}} hoverflow\">
<i class=\"{{ desktop(\"bg-error white\")}}{{ mobile(\"bg-gray\")}} flex col middle {{ desktop(\"hz-15-in vt-10-in\") }} {{ mobile(\"hz-10-in vt-8-in p-alt\") }}\"><i>{{ \"AU\"|trans }}</i></i>
<span class=\"flex row middle {{ desktop(\"hz-15-in\")}} {{ mobile(\"hz-10-in\")}} nowrap\">{{ campaign.end.date|frdate }}</span>
</span>
{% if isDesktop() %}
<div class=\"left-20\">
{{ include('RecruitmentCampaign/_campaign_subscription_btn.html.twig') }}
</div>
{% endif %}
</div>
<article class='article lh-4x black-alt text-justify {{desktop(\"h6 top-50\")}}{{ mobile(\"p top-25\") }}'>
{{ campaign.description|raw }}
</article>
<article class='article lh-4x black-alt text-justify {{desktop(\"top-20 h6\")}}{{ mobile(\"p top-20\") }}'>
{{ campaign.details|raw }}
</article>
{% if campaign.services %}
<div class=\"{{ desktop(\"top-50 bottom-10\")}}{{ mobile(\"top-30 bottom-30\")}} border border-1x border-gray\"></div>
<h2 class='adapt {{ desktop(\"h4 top-60\") }}{{ mobile(\"h3 top-20 bottom-15\")}} adapt'>{{ \"Prestations concernées\"|trans }}</h2>
<article class='flex wrap {{ desktop(\"top-20 bottom-50\") }}'>
{% for o in campaign.services %}
<div class=\"bg-gray flex col {{ desktop(\"shadow-alt-2 bottom-10\")}} right-10 {{ mobile(\"top-10 bottom-5\") }}\">
<label class=\"{{ mobile(\"h5 vt-5-in hz-7-in\")}}{{ desktop(\"vt-10-in\")}} success\">{{o.service.name}}</label>
</div>
{% endfor %}
</article>
{% endif %}
{% if campaign.biblio and campaign.biblio.files|length %}
<div class=\"{{ desktop(\"top-50 bottom-10\")}}{{ mobile(\"top-30 bottom-30\")}} border border-1x border-gray\"></div>
<h2 class='adapt {{ desktop(\"h4 top-50\")}}{{ mobile(\"h3 top-30 bottom-25\")}} adapt'>{{ \"Document(s) joint(s)\"|trans }}</h2>
<div class='flex row space wrap {{desktop(\"top-30\")}}{{mobile(\"top-20\")}}'>
{% for o in campaign.biblio.files %}
<div class='doc flex row top {{desktop(\"half-20 hz-25-in vt-20-in\")}}{{ mobile(\"w100 hz-20-in vt-15-in\")}} relative gradient-banner bottom-20 hoverflow {{desktop(\"\")}} {{mobile(\"\")}}'>
{% set doc = o %}
<span class=\"\">
<i class=\"fa fa-file white {{ desktop(\"fa-3x\") }}{{ mobile(\"fa-2x\") }}\"></i>
</span>
<div class='text-left flex col space relative left-20 {{ desktop(\"right-40-in\") }}{{ mobile(\"right-10-in\") }}'>
<h3 class='{{ mobile(\"h5\")}} white {{ desktop(\"p medium\")}} text-left nomargin lh-1x semibold'>{{doc.name ? doc.name : doc.source}}</h3>
<div class=\"flex col middle space top-10\">
<div class='gray-alt text-left p-alt'>
<span class=''>{{doc.formatSize}}</span> |
<span class=''>{{doc.reading|number_format}} lect.</span> |
<span>{{doc.downloads|number_format}} téléch.</span>
</div>
<div class='flex row middle p upper medium {{ desktop(\"top-20\")}}{{ mobile(\"top-10\")}} nowrap'>
<i class=\"w100 top-2-in bg-gray right-40\"></i>
{% set action = null %}
{% set type = null %}
{% if 'pdf' in doc.mimetype|lower %}
{% set action = 'os-read' %}
{% set type = \"pdf\" %}
{% elseif 'image' in doc.mimetype|lower %}
{% set action = 'os-image' %}
{% set type = \"image\" %}
{% elseif 'video' in doc.mimetype|lower %}
{% set action = 'os-video' %}
{% set type = \"video\" %}
{% endif %}
{% if action %}
<span class='{{ action}} white {{ mobile(\"p-alt\") }}' data-target=\"{{path('file-read',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}\">Lire</span>
{% else %}
<span class='os-read white {{ mobile(\"p-alt\") }}' data-url=\"{{url('file-read',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}\">{{ \"Lire\"|trans }}</span>
{% endif %}
<a class='left-30 white {{ mobile(\"p-alt\") }}' href=\"{{path('file-download',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}\" target='_blank' download>{{ \"Télécharger\"|trans }}</a>
</div>
</div>
</div>
<i class=\"triangle gradient-banner bg-white\"></i>
</div>
{% endfor %}
</div>
{% endif %}
{% if not role.provider %}
<div class=\"{{ desktop(\"top-40\") }}{{ mobile(\"top-30\") }}\">
{{ include('RecruitmentCampaign/_campaign_subscription_btn.html.twig', {full: true}) }}
</div>
{% endif %}
</div>
{% if isMobile() and not role.connected %}
<div class=\"border border-1x border-gray top-40\"></div>
{% endif %}
<aside class=\"{{desktop('third left-80 vt-20-in')}} {{mobile('vt-20-in top-10')}} {{ role.connected and isMobile() ? \"hide\" }}\">
{{ include('security/_provider_login_form.html.twig') }}
</aside>
</div>
{% endblock %}", "RecruitmentCampaign/_campaign_detail.html.twig", "/home/olasoftnka/nsia-provider/templates/RecruitmentCampaign/_campaign_detail.html.twig");
}
}