<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Jobs/_job_info_.html.twig */
class __TwigTemplate_d76d72f9f9e2197566483a036e37b9c5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Jobs/_job_info_.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Jobs/_job_info_.html.twig"));
// line 1
if (array_key_exists("job", $context)) {
// line 2
echo " <div id='article' class='w100'>
<div class=\"flex row ";
// line 3
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("middle"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("black-alt p-alt space"), "html", null, true);
echo "\">
<span class=\"flex row bg-white ";
// line 4
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("border border-1x border-gray radius-10"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("radius-5 border border-1x border-gray-alt half-5"), "html", null, true);
echo " hoverflow\">
<i class=\"";
// line 5
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bg-success-alt white"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bg-gray"), "html", null, true);
echo " flex col middle ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-15-in vt-10-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-10-in vt-8-in p-alt"), "html", null, true);
echo "\"><i>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DU"), "html", null, true);
echo "</i></i>
<span class=\"flex row middle ";
// line 6
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-15-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-10-in"), "html", null, true);
echo " nowrap\">";
echo twig_escape_filter($this->env, $this->env->getFilter('frdate')->getCallable()(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["job"]) || array_key_exists("job", $context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.', 6, $this->source); })()), "startAt", [], "any", false, false, false, 6), "date", [], "any", false, false, false, 6)), "html", null, true);
echo "</span>
</span>
<span class=\"flex row bg-white ";
// line 8
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("border border-1x border-gray radius-10 left-20"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("radius-5 border border-1x border-gray-alt half-5"), "html", null, true);
echo " hoverflow\">
<i class=\"";
// line 9
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bg-error white"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bg-gray"), "html", null, true);
echo " flex col middle ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-15-in vt-10-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-10-in vt-8-in p-alt"), "html", null, true);
echo "\"><i>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("AU"), "html", null, true);
echo "</i></i>
<span class=\"flex row middle ";
// line 10
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-15-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-10-in"), "html", null, true);
echo " nowrap\">";
echo twig_escape_filter($this->env, $this->env->getFilter('frdate')->getCallable()(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["job"]) || array_key_exists("job", $context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.', 10, $this->source); })()), "endAt", [], "any", false, false, false, 10), "date", [], "any", false, false, false, 10)), "html", null, true);
echo "</span>
</span>
";
// line 13
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()())) {
// line 14
echo " <div class=\"left-20\">
";
// line 15
echo twig_include($this->env, $context, "Jobs/_job_application_btn.html.twig", ["full" => true]);
echo "
</div>
";
}
// line 18
echo " </div>
<article class='article lh-4x text-justify ";
// line 20
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h6 top-50"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p top-25"), "html", null, true);
echo "'>
";
// line 21
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", false, false, false, 21);
echo "
</article>
<article class='article lh-4x ";
// line 24
echo (($this->env->getFunction('isDesktop')->getCallable()()) ? ("black-alt") : (""));
echo " text-justify ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-20 h6"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p top-20"), "html", null, true);
echo "'>
";
// line 25
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", false, false, false, 25);
echo "
</article>
<h2 class='adapt ";
// line 28
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h4 top-60"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("h4 top-30"), "html", null, true);
echo " adapt success'>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Détails"), "html", null, true);
echo "</h2>
";
// line 30
if ($this->env->getFunction('isMobile')->getCallable()()) {
// line 31
echo " <div class=\"border border-gray border-1x ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-20"), "html", null, true);
echo "\"></div>
";
}
// line 33
echo "
<table class=\"record \">
<tbody>
<tr>
<th class=\"semibold\">";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Secteurs"), "html", null, true);
echo ": </th>
<td>
<article class='flex wrap'>
";
// line 40
$context['_parent'] = $context;
$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", false, false, false, 40));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 41
echo " <div class=\"bg-gray flex col ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bottom-10 hz-10-in"), "html", null, true);
echo " right-10 ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-10 bottom-5 hz-5-in"), "html", null, true);
echo "\">
<label class=\"vt-8-in success\">";
// line 42
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["o"], "name", [], "any", false, false, false, 42), "html", null, true);
echo "</label>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 45
echo " </article>
</td>
</tr>
<tr>
<th class=\"semibold\">";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Année d'expérience"), "html", null, true);
echo " :</th>
<td>";
// line 50
((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", false, false, false, 50)) ? (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", false, false, false, 50) . (((twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 50), "locale", [], "any", false, false, false, 50) == "fr")) ? (" ans") : ("year"))), "html", null, true))) : (print ("")));
echo "</td>
</tr>
<tr>
<th class=\"semibold\">";
// line 53
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Qualification"), "html", null, true);
echo ": </th>
<td>";
// line 54
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", false, false, false, 54);
echo "</td>
</tr>
<tr>
<th class=\"semibold\">";
// line 57
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Niveau d'étude"), "html", null, true);
echo ": </th>
<td>";
// line 58
echo twig_escape_filter($this->env, twig_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", false, false, false, 58), ", "), "html", null, true);
echo "</td>
</tr>
<tr>
<th class=\"semibold\">";
// line 61
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Type de contrat"), "html", null, true);
echo ": </th>
<td>";
// line 62
echo 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.', 62, $this->source); })()), "employmentContract", [], "any", false, false, false, 62), "html", null, true);
echo "</td>
</tr>
</tbody>
</table>
";
// line 67
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", false, false, false, 67) && twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, 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", false, false, false, 67), "files", [], "any", false, false, false, 67)))) {
// line 68
echo " <div class=\"";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-50 bottom-10"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-30 bottom-30"), "html", null, true);
echo " border border-1x border-gray\"></div>
<h2 class='adapt ";
// line 69
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h4 top-60"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("h3 top-30 bottom-25"), "html", null, true);
echo " adapt'>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Document(s) joint(s)"), "html", null, true);
echo "</h2>
<div class='flex row space wrap ";
// line 70
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-30 bottom-20"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-20"), "html", null, true);
echo "'>
";
// line 71
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, 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.', 71, $this->source); })()), "biblio", [], "any", false, false, false, 71), "files", [], "any", false, false, false, 71));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 72
echo " <div class='doc flex row top ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("half-20 hz-25-in vt-20-in"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("w100 hz-20-in vt-15-in"), "html", null, true);
echo " relative gradient-banner bottom-20 hoverflow ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "'>
";
// line 73
$context["doc"] = $context["o"];
// line 74
echo " <span class=\"\">
<i class=\"fa fa-file white ";
// line 75
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("fa-3x"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("fa-2x"), "html", null, true);
echo "\"></i>
</span>
<div class='text-left flex col space relative left-20 ";
// line 77
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("right-40-in"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("right-10-in"), "html", null, true);
echo "'>
<h3 class='";
// line 78
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("h5"), "html", null, true);
echo " white ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("p medium"), "html", null, true);
echo " text-left nomargin lh-1x semibold'>";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 78, $this->source); })()), "name", [], "any", false, false, false, 78)) ? (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", false, false, false, 78)) : (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", false, false, false, 78))), "html", null, true);
echo "</h3>
<div class=\"flex col middle space top-10\">
<div class='gray-alt text-left p-alt'>
<span class=''>";
// line 81
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.', 81, $this->source); })()), "formatSize", [], "any", false, false, false, 81), "html", null, true);
echo "</span> |
<span class=''>";
// line 82
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 82, $this->source); })()), "reading", [], "any", false, false, false, 82)), "html", null, true);
echo " lect.</span> |
<span>";
// line 83
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 83, $this->source); })()), "downloads", [], "any", false, false, false, 83)), "html", null, true);
echo " téléch.</span>
</div>
<div class='flex row middle p upper medium ";
// line 85
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-20"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-10"), "html", null, true);
echo " nowrap'>
<i class=\"w100 top-2-in bg-gray right-40\"></i>
";
// line 87
$context["action"] = null;
// line 88
echo " ";
$context["type"] = null;
// line 89
echo " ";
if (twig_in_filter("pdf", twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 89, $this->source); })()), "mimetype", [], "any", false, false, false, 89)))) {
// line 90
echo " ";
$context["action"] = "os-read";
// line 91
echo " ";
$context["type"] = "pdf";
// line 92
echo " ";
} elseif (twig_in_filter("image", twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 92, $this->source); })()), "mimetype", [], "any", false, false, false, 92)))) {
// line 93
echo " ";
$context["action"] = "os-image";
// line 94
echo " ";
$context["type"] = "image";
// line 95
echo " ";
} elseif (twig_in_filter("video", twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 95, $this->source); })()), "mimetype", [], "any", false, false, false, 95)))) {
// line 96
echo " ";
$context["action"] = "os-video";
// line 97
echo " ";
$context["type"] = "video";
// line 98
echo " ";
}
// line 99
echo " ";
if ((isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 99, $this->source); })())) {
// line 100
echo " <span class='";
echo twig_escape_filter($this->env, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 100, $this->source); })()), "html", null, true);
echo " white ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p-alt"), "html", null, true);
echo "' data-target=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("file-read", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 100, $this->source); })()), "id", [], "any", false, false, false, 100), "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", false, false, false, 100)) ? ($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", false, false, false, 100))) : ($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", false, false, false, 100))))]), "html", null, true);
echo "\">Lire</span>
";
} else {
// line 102
echo " <span class='os-read white ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p-alt"), "html", null, true);
echo "' data-url=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("file-read", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 102, $this->source); })()), "id", [], "any", false, false, false, 102), "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", false, false, false, 102)) ? ($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", false, false, false, 102))) : ($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", false, false, false, 102))))]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lire"), "html", null, true);
echo "</span>
";
}
// line 104
echo " <a class='left-30 white ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("p-alt"), "html", null, true);
echo "' href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("file-download", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 104, $this->source); })()), "id", [], "any", false, false, false, 104), "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", false, false, false, 104)) ? ($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", false, false, false, 104))) : ($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", false, false, false, 104))))]), "html", null, true);
echo "\" target='_blank' download>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Télécharger"), "html", null, true);
echo "</a>
</div>
</div>
</div>
<i class=\"triangle gradient-banner bg-white\"></i>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 111
echo " </div>
";
}
// line 113
echo "
";
// line 114
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); })()))) {
// line 115
echo " <div class=\"";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-60"), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-40 bottom-30"), "html", null, true);
echo "\">
";
// line 116
echo twig_include($this->env, $context, "Jobs/_job_application_btn.html.twig", ["full" => true]);
echo "
</div>
";
}
// line 119
echo " </div>
";
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Jobs/_job_info_.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% if job is defined %}
<div id='article' class='w100'>
<div class=\"flex row {{ desktop(\"middle\") }}{{ mobile(\"black-alt p-alt space\") }}\">
<span class=\"flex row bg-white {{ desktop(\"border border-1x border-gray radius-10\")}}{{ mobile(\"radius-5 border border-1x border-gray-alt half-5\")}} hoverflow\">
<i class=\"{{ desktop(\"bg-success-alt white\") }}{{ mobile(\"bg-gray\")}} flex col middle {{ desktop(\"hz-15-in vt-10-in\") }} {{ mobile(\"hz-10-in vt-8-in p-alt\") }}\"><i>{{ \"DU\"|trans }}</i></i>
<span class=\"flex row middle {{ desktop(\"hz-15-in\")}} {{ mobile(\"hz-10-in\")}} nowrap\">{{ job.startAt.date|frdate }}</span>
</span>
<span class=\"flex row bg-white {{ desktop(\"border border-1x border-gray radius-10 left-20\")}}{{ mobile(\"radius-5 border border-1x border-gray-alt half-5\")}} hoverflow\">
<i class=\"{{ desktop(\"bg-error white\")}}{{ mobile(\"bg-gray\")}} flex col middle {{ desktop(\"hz-15-in vt-10-in\") }} {{ mobile(\"hz-10-in vt-8-in p-alt\") }}\"><i>{{ \"AU\"|trans }}</i></i>
<span class=\"flex row middle {{ desktop(\"hz-15-in\")}} {{ mobile(\"hz-10-in\")}} nowrap\">{{ job.endAt.date|frdate }}</span>
</span>
{% if withButton is defined and withButton and isDesktop() %}
<div class=\"left-20\">
{{ include('Jobs/_job_application_btn.html.twig', {\"full\": true}) }}
</div>
{% endif %}
</div>
<article class='article lh-4x text-justify {{desktop(\"h6 top-50\")}}{{ mobile(\"p top-25\") }}'>
{{ job.description|raw }}
</article>
<article class='article lh-4x {{ isDesktop() ? 'black-alt'}} text-justify {{desktop(\"top-20 h6\")}}{{ mobile(\"p top-20\") }}'>
{{ job.content|raw }}
</article>
<h2 class='adapt {{ desktop(\"h4 top-60\")}}{{ mobile(\"h4 top-30\")}} adapt success'>{{ \"Détails\"|trans }}</h2>
{% if isMobile() %}
<div class=\"border border-gray border-1x {{ mobile(\"top-20\") }}\"></div>
{% endif %}
<table class=\"record \">
<tbody>
<tr>
<th class=\"semibold\">{{ \"Secteurs\"|trans }}: </th>
<td>
<article class='flex wrap'>
{% for o in job.sectors %}
<div class=\"bg-gray flex col {{ desktop(\"bottom-10 hz-10-in\")}} right-10 {{ mobile(\"top-10 bottom-5 hz-5-in\") }}\">
<label class=\"vt-8-in success\">{{o.name}}</label>
</div>
{% endfor %}
</article>
</td>
</tr>
<tr>
<th class=\"semibold\">{{ \"Année d'expérience\"|trans }} :</th>
<td>{{ job.experienceYear ? (job.experienceYear ~ (app.request.locale == \"fr\" ? \" ans\" : \"year\")) }}</td>
</tr>
<tr>
<th class=\"semibold\">{{ \"Qualification\"|trans }}: </th>
<td>{{ job.qualifications|raw }}</td>
</tr>
<tr>
<th class=\"semibold\">{{ \"Niveau d'étude\"|trans }}: </th>
<td>{{ job.studyLevel|join(\", \") }}</td>
</tr>
<tr>
<th class=\"semibold\">{{ \"Type de contrat\"|trans }}: </th>
<td>{{ job.employmentContract }}</td>
</tr>
</tbody>
</table>
{% if job.biblio and job.biblio.files|length %}
<div class=\"{{ desktop(\"top-50 bottom-10\")}}{{ mobile(\"top-30 bottom-30\")}} border border-1x border-gray\"></div>
<h2 class='adapt {{ desktop(\"h4 top-60\")}}{{ mobile(\"h3 top-30 bottom-25\")}} adapt'>{{ \"Document(s) joint(s)\"|trans }}</h2>
<div class='flex row space wrap {{desktop(\"top-30 bottom-20\")}}{{mobile(\"top-20\")}}'>
{% for o in job.biblio.files %}
<div class='doc flex row top {{desktop(\"half-20 hz-25-in vt-20-in\")}}{{ mobile(\"w100 hz-20-in vt-15-in\")}} relative gradient-banner bottom-20 hoverflow {{desktop(\"\")}} {{mobile(\"\")}}'>
{% set doc = o %}
<span class=\"\">
<i class=\"fa fa-file white {{ desktop(\"fa-3x\") }}{{ mobile(\"fa-2x\") }}\"></i>
</span>
<div class='text-left flex col space relative left-20 {{ desktop(\"right-40-in\") }}{{ mobile(\"right-10-in\") }}'>
<h3 class='{{ mobile(\"h5\")}} white {{ desktop(\"p medium\")}} text-left nomargin lh-1x semibold'>{{doc.name ? doc.name : doc.source}}</h3>
<div class=\"flex col middle space top-10\">
<div class='gray-alt text-left p-alt'>
<span class=''>{{doc.formatSize}}</span> |
<span class=''>{{doc.reading|number_format}} lect.</span> |
<span>{{doc.downloads|number_format}} téléch.</span>
</div>
<div class='flex row middle p upper medium {{ desktop(\"top-20\")}}{{ mobile(\"top-10\")}} nowrap'>
<i class=\"w100 top-2-in bg-gray right-40\"></i>
{% set action = null %}
{% set type = null %}
{% if 'pdf' in doc.mimetype|lower %}
{% set action = 'os-read' %}
{% set type = \"pdf\" %}
{% elseif 'image' in doc.mimetype|lower %}
{% set action = 'os-image' %}
{% set type = \"image\" %}
{% elseif 'video' in doc.mimetype|lower %}
{% set action = 'os-video' %}
{% set type = \"video\" %}
{% endif %}
{% if action %}
<span class='{{ action}} white {{ mobile(\"p-alt\") }}' data-target=\"{{path('file-read',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}\">Lire</span>
{% else %}
<span class='os-read white {{ mobile(\"p-alt\") }}' data-url=\"{{url('file-read',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}\">{{ \"Lire\"|trans }}</span>
{% endif %}
<a class='left-30 white {{ mobile(\"p-alt\") }}' href=\"{{path('file-download',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}\" target='_blank' download>{{ \"Télécharger\"|trans }}</a>
</div>
</div>
</div>
<i class=\"triangle gradient-banner bg-white\"></i>
</div>
{% endfor %}
</div>
{% endif %}
{% if withButton is defined and withButton %}
<div class=\"{{ desktop(\"top-60\") }}{{ mobile(\"top-40 bottom-30\") }}\">
{{ include('Jobs/_job_application_btn.html.twig', {'full': true}) }}
</div>
{% endif %}
</div>
{% endif %}", "Jobs/_job_info_.html.twig", "/home/olasoftnka/nsia-jobs/templates/Jobs/_job_info_.html.twig");
}
}