var/cache/dev/twig/ba/ba7cf410657595f8fced8f94533c93b0.php line 33

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