var/cache/dev/twig/69/69c9634087bce8fb2d34d283cdcbcc80.php line 49

Open in your IDE?
  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. /* RecruitmentCampaign/_campaign_detail.html.twig */
  14. class __TwigTemplate_b2c38abb923c3d63dcf17261729080ac 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.             'campaign_content' => [$this'block_campaign_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "RecruitmentCampaign/campaign.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""RecruitmentCampaign/_campaign_detail.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""RecruitmentCampaign/_campaign_detail.html.twig"));
  39.         $this->parent $this->loadTemplate("RecruitmentCampaign/campaign.html.twig""RecruitmentCampaign/_campaign_detail.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_titlebox($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""titlebox"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""titlebox"));
  54.         // line 4
  55.         echo "    <div class=\"fill relative flex col middle\">
  56.         <h1 class=\"";
  57.         // line 5
  58.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("h2"), "html"nulltrue);
  59.         echo " white\">";
  60.         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"nulltrue);
  61.         echo "</h1>
  62.     </div>
  63. ";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     // line 9
  70.     public function block_campaign_content($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""campaign_content"));
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""campaign_content"));
  77.         // line 10
  78.         echo "<div class='";
  79.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("flex row space top bottom-40"), "html"nulltrue);
  80.         echo "'>
  81.     <div id='article' class='w100'>
  82.         <div class=\"flex row ";
  83.         // line 12
  84.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("middle"), "html"nulltrue);
  85.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("black-alt p-alt space"), "html"nulltrue);
  86.         echo "\">
  87.                 <span class=\"flex row bg-white ";
  88.         // line 13
  89.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("border border-1x border-gray radius-10"), "html"nulltrue);
  90.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("radius-5 border border-1x border-gray-alt half-5"), "html"nulltrue);
  91.         echo " hoverflow\">
  92.                         <i class=\"";
  93.         // line 14
  94.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("bg-success-alt white"), "html"nulltrue);
  95.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("bg-gray"), "html"nulltrue);
  96.         echo " flex col middle ";
  97.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("hz-15-in vt-10-in"), "html"nulltrue);
  98.         echo " ";
  99.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("hz-10-in vt-8-in p-alt"), "html"nulltrue);
  100.         echo "\"><i>";
  101.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DU"), "html"nulltrue);
  102.         echo "</i></i>
  103.                         <span class=\"flex row middle ";
  104.         // line 15
  105.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("hz-15-in"), "html"nulltrue);
  106.         echo " ";
  107.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("hz-10-in"), "html"nulltrue);
  108.         echo " nowrap\">";
  109.         echo twig_escape_filter($this->env$this->env->getFilter('frdate')->getCallable()(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse15), "date", [], "any"falsefalsefalse15)), "html"nulltrue);
  110.         echo "</span>
  111.                     </span>
  112.             <span class=\"flex row bg-white ";
  113.         // line 17
  114.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("border border-1x border-gray radius-10 left-20"), "html"nulltrue);
  115.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("radius-5 border border-1x border-gray-alt half-5"), "html"nulltrue);
  116.         echo " hoverflow\">
  117.                         <i class=\"";
  118.         // line 18
  119.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("bg-error white"), "html"nulltrue);
  120.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("bg-gray"), "html"nulltrue);
  121.         echo " flex col middle ";
  122.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("hz-15-in vt-10-in"), "html"nulltrue);
  123.         echo " ";
  124.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("hz-10-in vt-8-in p-alt"), "html"nulltrue);
  125.         echo "\"><i>";
  126.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("AU"), "html"nulltrue);
  127.         echo "</i></i>
  128.                         <span class=\"flex row middle ";
  129.         // line 19
  130.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("hz-15-in"), "html"nulltrue);
  131.         echo " ";
  132.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("hz-10-in"), "html"nulltrue);
  133.         echo " nowrap\">";
  134.         echo twig_escape_filter($this->env$this->env->getFilter('frdate')->getCallable()(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse19), "date", [], "any"falsefalsefalse19)), "html"nulltrue);
  135.         echo "</span>
  136.                     </span>
  137.             ";
  138.         // line 22
  139.         if ($this->env->getFunction('isDesktop')->getCallable()()) {
  140.             // line 23
  141.             echo "                <div class=\"left-20\">
  142.                     ";
  143.             // line 24
  144.             echo twig_include($this->env$context"RecruitmentCampaign/_campaign_subscription_btn.html.twig");
  145.             echo "
  146.                 </div>
  147.             ";
  148.         }
  149.         // line 27
  150.         echo "        </div>
  151.         <article  class='article lh-4x black-alt text-justify ";
  152.         // line 29
  153.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("h6 top-50"), "html"nulltrue);
  154.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("p top-25"), "html"nulltrue);
  155.         echo "'>
  156.             ";
  157.         // line 30
  158.         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"falsefalsefalse30);
  159.         echo "
  160.         </article>
  161.         <article  class='article lh-4x black-alt text-justify ";
  162.         // line 33
  163.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-20 h6"), "html"nulltrue);
  164.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("p top-20"), "html"nulltrue);
  165.         echo "'>
  166.             ";
  167.         // line 34
  168.         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"falsefalsefalse34);
  169.         echo "
  170.         </article>
  171.         ";
  172.         // line 37
  173.         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"falsefalsefalse37)) {
  174.             // line 38
  175.             echo "            <div class=\"";
  176.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-50 bottom-10"), "html"nulltrue);
  177.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-30 bottom-30"), "html"nulltrue);
  178.             echo " border border-1x border-gray\"></div>
  179.             <h2 class='adapt ";
  180.             // line 39
  181.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("h4 top-60"), "html"nulltrue);
  182.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("h3 top-20 bottom-15"), "html"nulltrue);
  183.             echo " adapt'>";
  184.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prestations concernées"), "html"nulltrue);
  185.             echo "</h2>
  186.             <article  class='flex wrap ";
  187.             // line 40
  188.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-20 bottom-50"), "html"nulltrue);
  189.             echo "'>
  190.                 ";
  191.             // line 41
  192.             $context['_parent'] = $context;
  193.             $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"falsefalsefalse41));
  194.             foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  195.                 // line 42
  196.                 echo "                    <div class=\"bg-gray flex col ";
  197.                 echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("shadow-alt-2 bottom-10"), "html"nulltrue);
  198.                 echo " right-10 ";
  199.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-10 bottom-5"), "html"nulltrue);
  200.                 echo "\">
  201.                         <label class=\"";
  202.                 // line 43
  203.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("h5 vt-5-in hz-7-in"), "html"nulltrue);
  204.                 echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("vt-10-in"), "html"nulltrue);
  205.                 echo " success\">";
  206.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["o"], "service", [], "any"falsefalsefalse43), "name", [], "any"falsefalsefalse43), "html"nulltrue);
  207.                 echo "</label>
  208.                     </div>
  209.                 ";
  210.             }
  211.             $_parent $context['_parent'];
  212.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  213.             $context array_intersect_key($context$_parent) + $_parent;
  214.             // line 46
  215.             echo "            </article>
  216.         ";
  217.         }
  218.         // line 48
  219.         echo "
  220.         ";
  221.         // line 49
  222.         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"falsefalsefalse49) && twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse49), "files", [], "any"falsefalsefalse49)))) {
  223.             // line 50
  224.             echo "            <div class=\"";
  225.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-50 bottom-10"), "html"nulltrue);
  226.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-30 bottom-30"), "html"nulltrue);
  227.             echo " border border-1x border-gray\"></div>
  228.             <h2 class='adapt ";
  229.             // line 51
  230.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("h4 top-50"), "html"nulltrue);
  231.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("h3 top-30 bottom-25"), "html"nulltrue);
  232.             echo " adapt'>";
  233.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Document(s) joint(s)"), "html"nulltrue);
  234.             echo "</h2>
  235.             <div class='flex row space wrap ";
  236.             // line 52
  237.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-30"), "html"nulltrue);
  238.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-20"), "html"nulltrue);
  239.             echo "'>
  240.                 ";
  241.             // line 53
  242.             $context['_parent'] = $context;
  243.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse53), "files", [], "any"falsefalsefalse53));
  244.             foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  245.                 // line 54
  246.                 echo "                    <div class='doc flex row top ";
  247.                 echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("half-20 hz-25-in vt-20-in"), "html"nulltrue);
  248.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("w100 hz-20-in vt-15-in"), "html"nulltrue);
  249.                 echo " relative gradient-banner bottom-20 hoverflow ";
  250.                 echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  251.                 echo " ";
  252.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  253.                 echo "'>
  254.                         ";
  255.                 // line 55
  256.                 $context["doc"] = $context["o"];
  257.                 // line 56
  258.                 echo "                        <span class=\"\">
  259.                         <i class=\"fa fa-file white ";
  260.                 // line 57
  261.                 echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("fa-3x"), "html"nulltrue);
  262.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("fa-2x"), "html"nulltrue);
  263.                 echo "\"></i>
  264.                     </span>
  265.                         <div class='text-left flex col space relative left-20 ";
  266.                 // line 59
  267.                 echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("right-40-in"), "html"nulltrue);
  268.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("right-10-in"), "html"nulltrue);
  269.                 echo "'>
  270.                             <h3 class='";
  271.                 // line 60
  272.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("h5"), "html"nulltrue);
  273.                 echo " white ";
  274.                 echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("p medium"), "html"nulltrue);
  275.                 echo " text-left nomargin lh-1x semibold'>";
  276.                 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"falsefalsefalse60)) ? (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"falsefalsefalse60)) : (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"falsefalsefalse60))), "html"nulltrue);
  277.                 echo "</h3>
  278.                             <div class=\"flex col middle space top-10\">
  279.                                 <div class='gray-alt text-left p-alt'>
  280.                                     <span class=''>";
  281.                 // line 63
  282.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse63), "html"nulltrue);
  283.                 echo "</span> |
  284.                                     <span class=''>";
  285.                 // line 64
  286.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_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"falsefalsefalse64)), "html"nulltrue);
  287.                 echo " lect.</span> |
  288.                                     <span>";
  289.                 // line 65
  290.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_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"falsefalsefalse65)), "html"nulltrue);
  291.                 echo " téléch.</span>
  292.                                 </div>
  293.                                 <div class='flex row middle p upper medium ";
  294.                 // line 67
  295.                 echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-20"), "html"nulltrue);
  296.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-10"), "html"nulltrue);
  297.                 echo " nowrap'>
  298.                                     <i class=\"w100 top-2-in bg-gray right-40\"></i>
  299.                                     ";
  300.                 // line 69
  301.                 $context["action"] = null;
  302.                 // line 70
  303.                 echo "                                    ";
  304.                 $context["type"] = null;
  305.                 // line 71
  306.                 echo "                                    ";
  307.                 if (twig_in_filter("pdf"twig_lower_filter($this->envtwig_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"falsefalsefalse71)))) {
  308.                     // line 72
  309.                     echo "                                        ";
  310.                     $context["action"] = "os-read";
  311.                     // line 73
  312.                     echo "                                        ";
  313.                     $context["type"] = "pdf";
  314.                     // line 74
  315.                     echo "                                    ";
  316.                 } elseif (twig_in_filter("image"twig_lower_filter($this->envtwig_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"falsefalsefalse74)))) {
  317.                     // line 75
  318.                     echo "                                        ";
  319.                     $context["action"] = "os-image";
  320.                     // line 76
  321.                     echo "                                        ";
  322.                     $context["type"] = "image";
  323.                     // line 77
  324.                     echo "                                    ";
  325.                 } elseif (twig_in_filter("video"twig_lower_filter($this->envtwig_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"falsefalsefalse77)))) {
  326.                     // line 78
  327.                     echo "                                        ";
  328.                     $context["action"] = "os-video";
  329.                     // line 79
  330.                     echo "                                        ";
  331.                     $context["type"] = "video";
  332.                     // line 80
  333.                     echo "                                    ";
  334.                 }
  335.                 // line 81
  336.                 echo "                                    ";
  337.                 if ((isset($context["action"]) || array_key_exists("action"$context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.'81$this->source); })())) {
  338.                     // line 82
  339.                     echo "                                        <span class='";
  340.                     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"nulltrue);
  341.                     echo " white ";
  342.                     echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("p-alt"), "html"nulltrue);
  343.                     echo "' data-target=\"";
  344.                     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"falsefalsefalse82), "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"falsefalsefalse82)) ? ($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"falsefalsefalse82))) : ($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"falsefalsefalse82))))]), "html"nulltrue);
  345.                     echo "\">Lire</span>
  346.                                     ";
  347.                 } else {
  348.                     // line 84
  349.                     echo "                                        <span class='os-read white ";
  350.                     echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("p-alt"), "html"nulltrue);
  351.                     echo "' data-url=\"";
  352.                     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"falsefalsefalse84), "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"falsefalsefalse84)) ? ($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"falsefalsefalse84))) : ($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"falsefalsefalse84))))]), "html"nulltrue);
  353.                     echo "\">";
  354.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lire"), "html"nulltrue);
  355.                     echo "</span>
  356.                                     ";
  357.                 }
  358.                 // line 86
  359.                 echo "                                    <a class='left-30 white ";
  360.                 echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("p-alt"), "html"nulltrue);
  361.                 echo "' href=\"";
  362.                 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"falsefalsefalse86), "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"falsefalsefalse86)) ? ($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"falsefalsefalse86))) : ($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"falsefalsefalse86))))]), "html"nulltrue);
  363.                 echo "\" target='_blank' download>";
  364.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Télécharger"), "html"nulltrue);
  365.                 echo "</a>
  366.                                 </div>
  367.                             </div>
  368.                         </div>
  369.                         <i class=\"triangle gradient-banner bg-white\"></i>
  370.                     </div>
  371.                 ";
  372.             }
  373.             $_parent $context['_parent'];
  374.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  375.             $context array_intersect_key($context$_parent) + $_parent;
  376.             // line 93
  377.             echo "            </div>
  378.         ";
  379.         }
  380.         // line 95
  381.         echo "
  382.         ";
  383.         // line 96
  384.         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"falsefalsefalse96)) {
  385.             // line 97
  386.             echo "            <div class=\"";
  387.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-40"), "html"nulltrue);
  388.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-30"), "html"nulltrue);
  389.             echo "\">
  390.                 ";
  391.             // line 98
  392.             echo twig_include($this->env$context"RecruitmentCampaign/_campaign_subscription_btn.html.twig", ["full" => true]);
  393.             echo "
  394.             </div>
  395.         ";
  396.         }
  397.         // line 101
  398.         echo "    </div>
  399.     ";
  400.         // line 103
  401.         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"falsefalsefalse103))) {
  402.             // line 104
  403.             echo "        <div class=\"border border-1x border-gray top-40\"></div>
  404.     ";
  405.         }
  406.         // line 106
  407.         echo "
  408.     <aside class=\"";
  409.         // line 107
  410.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("third left-80 vt-20-in"), "html"nulltrue);
  411.         echo " ";
  412.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("vt-20-in top-10"), "html"nulltrue);
  413.         echo " ";
  414.         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"falsefalsefalse107) && $this->env->getFunction('isMobile')->getCallable()())) ? ("hide") : (""));
  415.         echo "\">
  416.         ";
  417.         // line 108
  418.         echo twig_include($this->env$context"security/_provider_login_form.html.twig");
  419.         echo "
  420.     </aside>
  421. </div>
  422. ";
  423.         
  424.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  425.         
  426.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  427.     }
  428.     public function getTemplateName()
  429.     {
  430.         return "RecruitmentCampaign/_campaign_detail.html.twig";
  431.     }
  432.     public function isTraitable()
  433.     {
  434.         return false;
  435.     }
  436.     public function getDebugInfo()
  437.     {
  438.         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,);
  439.     }
  440.     public function getSourceContext()
  441.     {
  442.         return new Source("{% extends \"RecruitmentCampaign/campaign.html.twig\" %}
  443. {% block titlebox %}
  444.     <div class=\"fill relative flex col middle\">
  445.         <h1 class=\"{{ desktop(\"h2\")}} white\">{{title}}</h1>
  446.     </div>
  447. {% endblock %}
  448. {% block campaign_content %}
  449. <div class='{{desktop(\"flex row space top bottom-40\")}}'>
  450.     <div id='article' class='w100'>
  451.         <div class=\"flex row {{ desktop(\"middle\") }}{{ mobile(\"black-alt p-alt space\") }}\">
  452.                 <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\">
  453.                         <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>
  454.                         <span class=\"flex row middle {{ desktop(\"hz-15-in\")}} {{ mobile(\"hz-10-in\")}} nowrap\">{{ campaign.start.date|frdate }}</span>
  455.                     </span>
  456.             <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\">
  457.                         <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>
  458.                         <span class=\"flex row middle {{ desktop(\"hz-15-in\")}} {{ mobile(\"hz-10-in\")}} nowrap\">{{ campaign.end.date|frdate }}</span>
  459.                     </span>
  460.             {% if isDesktop() %}
  461.                 <div class=\"left-20\">
  462.                     {{ include('RecruitmentCampaign/_campaign_subscription_btn.html.twig') }}
  463.                 </div>
  464.             {% endif %}
  465.         </div>
  466.         <article  class='article lh-4x black-alt text-justify {{desktop(\"h6 top-50\")}}{{ mobile(\"p top-25\") }}'>
  467.             {{ campaign.description|raw }}
  468.         </article>
  469.         <article  class='article lh-4x black-alt text-justify {{desktop(\"top-20 h6\")}}{{ mobile(\"p top-20\") }}'>
  470.             {{ campaign.details|raw }}
  471.         </article>
  472.         {% if campaign.services %}
  473.             <div class=\"{{ desktop(\"top-50 bottom-10\")}}{{ mobile(\"top-30 bottom-30\")}} border border-1x border-gray\"></div>
  474.             <h2 class='adapt {{ desktop(\"h4 top-60\") }}{{ mobile(\"h3 top-20 bottom-15\")}} adapt'>{{ \"Prestations concernées\"|trans }}</h2>
  475.             <article  class='flex wrap {{ desktop(\"top-20 bottom-50\") }}'>
  476.                 {% for o in campaign.services %}
  477.                     <div class=\"bg-gray flex col {{ desktop(\"shadow-alt-2 bottom-10\")}} right-10 {{ mobile(\"top-10 bottom-5\") }}\">
  478.                         <label class=\"{{ mobile(\"h5 vt-5-in hz-7-in\")}}{{ desktop(\"vt-10-in\")}} success\">{{o.service.name}}</label>
  479.                     </div>
  480.                 {% endfor %}
  481.             </article>
  482.         {% endif %}
  483.         {% if campaign.biblio and campaign.biblio.files|length %}
  484.             <div class=\"{{ desktop(\"top-50 bottom-10\")}}{{ mobile(\"top-30 bottom-30\")}} border border-1x border-gray\"></div>
  485.             <h2 class='adapt {{ desktop(\"h4 top-50\")}}{{ mobile(\"h3 top-30 bottom-25\")}} adapt'>{{ \"Document(s) joint(s)\"|trans }}</h2>
  486.             <div class='flex row space wrap {{desktop(\"top-30\")}}{{mobile(\"top-20\")}}'>
  487.                 {% for o in campaign.biblio.files %}
  488.                     <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(\"\")}}'>
  489.                         {% set doc = o %}
  490.                         <span class=\"\">
  491.                         <i class=\"fa fa-file white {{ desktop(\"fa-3x\") }}{{ mobile(\"fa-2x\") }}\"></i>
  492.                     </span>
  493.                         <div class='text-left flex col space relative left-20 {{ desktop(\"right-40-in\") }}{{ mobile(\"right-10-in\") }}'>
  494.                             <h3 class='{{ mobile(\"h5\")}} white {{ desktop(\"p medium\")}} text-left nomargin lh-1x semibold'>{{doc.name ? doc.name : doc.source}}</h3>
  495.                             <div class=\"flex col middle space top-10\">
  496.                                 <div class='gray-alt text-left p-alt'>
  497.                                     <span class=''>{{doc.formatSize}}</span> |
  498.                                     <span class=''>{{doc.reading|number_format}} lect.</span> |
  499.                                     <span>{{doc.downloads|number_format}} téléch.</span>
  500.                                 </div>
  501.                                 <div class='flex row middle p upper medium {{ desktop(\"top-20\")}}{{ mobile(\"top-10\")}} nowrap'>
  502.                                     <i class=\"w100 top-2-in bg-gray right-40\"></i>
  503.                                     {% set action = null %}
  504.                                     {% set type = null %}
  505.                                     {% if 'pdf' in doc.mimetype|lower %}
  506.                                         {% set action = 'os-read' %}
  507.                                         {% set type = \"pdf\" %}
  508.                                     {% elseif 'image' in doc.mimetype|lower %}
  509.                                         {% set action = 'os-image' %}
  510.                                         {% set type = \"image\" %}
  511.                                     {% elseif 'video' in doc.mimetype|lower %}
  512.                                         {% set action = 'os-video' %}
  513.                                         {% set type = \"video\" %}
  514.                                     {% endif %}
  515.                                     {% if action %}
  516.                                         <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>
  517.                                     {% else %}
  518.                                         <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>
  519.                                     {% endif %}
  520.                                     <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>
  521.                                 </div>
  522.                             </div>
  523.                         </div>
  524.                         <i class=\"triangle gradient-banner bg-white\"></i>
  525.                     </div>
  526.                 {% endfor %}
  527.             </div>
  528.         {% endif %}
  529.         {% if not role.provider %}
  530.             <div class=\"{{ desktop(\"top-40\") }}{{ mobile(\"top-30\") }}\">
  531.                 {{ include('RecruitmentCampaign/_campaign_subscription_btn.html.twig', {full: true}) }}
  532.             </div>
  533.         {% endif %}
  534.     </div>
  535.     {% if isMobile() and not role.connected %}
  536.         <div class=\"border border-1x border-gray top-40\"></div>
  537.     {% endif %}
  538.     <aside class=\"{{desktop('third left-80 vt-20-in')}} {{mobile('vt-20-in top-10')}} {{ role.connected and isMobile() ? \"hide\" }}\">
  539.         {{ include('security/_provider_login_form.html.twig') }}
  540.     </aside>
  541. </div>
  542. {% endblock %}""RecruitmentCampaign/_campaign_detail.html.twig""/home/olasoftnka/nsia-provider/templates/RecruitmentCampaign/_campaign_detail.html.twig");
  543.     }
  544. }