var/cache/dev/twig/08/08f8aaa076ac1e680dabef563745d86073c13f0546aa74dbf51fa9ecb11f734e.php line 65

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. /* offre-emploi/fiche.html.twig */
  14. class __TwigTemplate_0ea220db8b9a89c49c4ff1f83ab5800939ebb59baa5b718a38d78f2058b3cc83 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.             'title' => [$this'block_title'],
  24.             'description' => [$this'block_description'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""offre-emploi/fiche.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""offre-emploi/fiche.html.twig"));
  40.         // line 25
  41.         $context["siteLdJson"] = twig_array_merge((isset($context["siteLdJson"]) || array_key_exists("siteLdJson"$context) ? $context["siteLdJson"] : (function () { throw new RuntimeError('Variable "siteLdJson" does not exist.'25$this->source); })()), [=> "offre-emploi"]);
  42.         // line 27
  43.         $context["imgAlt"] = twig_trim_filter(twig_join_filter([=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 28
  44. (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'28$this->source); })()), "etablissement", [], "any"falsefalsefalse28), "codePostal", [], "any"falsefalsefalse28), => ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 29
  45. (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'29$this->source); })()), "etablissement", [], "any"falsefalsefalse29), "ville", [], "any"falsefalsefalse29)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'29$this->source); })()), "etablissement", [], "any"falsefalsefalse29), "ville", [], "any"falsefalsefalse29), "libelle", [], "any"falsefalsefalse29)) : ("")), => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 30
  46. (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'30$this->source); })()), "etablissement", [], "any"falsefalsefalse30), "denomination", [], "any"falsefalsefalse30)], " - "), " -");
  47.         // line 33
  48.         $context["type"] = "";
  49.         // line 34
  50.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'34$this->source); })()), "etablissement", [], "any"falsefalsefalse34), "typeClient", [], "any"falsefalsefalse34), "internat"))) {
  51.             // line 35
  52.             $context["type"] = "internat";
  53.         }
  54.         // line 1
  55.         $this->parent $this->loadTemplate("base.html.twig""offre-emploi/fiche.html.twig"1);
  56.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.         
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  61.     }
  62.     // line 3
  63.     public function block_title($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  70.         // line 5
  71.         echo twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'5$this->source); })()), "profil", [], "any"falsefalsefalse5);
  72.         // line 6
  73.         if (twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'6$this->source); })()), "etablissement", [], "any"falsefalsefalse6)) {
  74.             // line 7
  75.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'7$this->source); })()), "etablissement", [], "any"falsefalsefalse7), "ville", [], "any"falsefalsefalse7) &&  !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'7$this->source); })()), "etablissement", [], "any"falsefalsefalse7), "ville", [], "any"falsefalsefalse7), "empty", [], "any"falsefalsefalse7))) {
  76.                 echo " - ";
  77.                 echo $this->extensions['App\Twig\LieuExtension']->lieuLibelle(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'7$this->source); })()), "etablissement", [], "any"falsefalsefalse7), "ville", [], "any"falsefalsefalse7));
  78.             }
  79.         } else {
  80.             // line 9
  81.             echo " - enseignement-prive.info";
  82.         }
  83.         
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  85.         
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  87.     }
  88.     // line 14
  89.     public function block_description($context, array $blocks = [])
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  94.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  96.         // line 16
  97.         echo "Offre d'emploi ";
  98.         echo twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'16$this->source); })()), "profil", [], "any"falsefalsefalse16);
  99.         // line 17
  100.         if (twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'17$this->source); })()), "etablissement", [], "any"falsefalsefalse17)) {
  101.             echo " - ";
  102.             echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'17$this->source); })()), "etablissement", [], "any"falsefalsefalse17), "denomination", [], "any"falsefalsefalse17);
  103.             // line 18
  104.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'18$this->source); })()), "etablissement", [], "any"falsefalsefalse18), "ville", [], "any"falsefalsefalse18) &&  !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'18$this->source); })()), "etablissement", [], "any"falsefalsefalse18), "ville", [], "any"falsefalsefalse18), "empty", [], "any"falsefalsefalse18))) {
  105.                 echo " - ";
  106.                 echo $this->extensions['App\Twig\LieuExtension']->lieuLibelle(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'18$this->source); })()), "etablissement", [], "any"falsefalsefalse18), "ville", [], "any"falsefalsefalse18));
  107.             }
  108.         } else {
  109.             // line 20
  110.             echo " - enseignement-prive.info";
  111.         }
  112.         
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  114.         
  115.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  116.     }
  117.     // line 38
  118.     public function block_body($context, array $blocks = [])
  119.     {
  120.         $macros $this->macros;
  121.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  122.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  123.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  125.         // line 39
  126.         echo "<section class=\"container page-offres single form\">
  127.     <div id=\"breadcrumb\">
  128.         ";
  129.         // line 41
  130.         $this->loadTemplate("offre-emploi/_includes/breadcrumb.html.twig""offre-emploi/fiche.html.twig"41)->display($context);
  131.         // line 42
  132.         echo "    </div>
  133.     <div class=\"title\">
  134.         <h1>Offres d'emploi</h1>
  135.         <div class=\"triangle-defaut\"></div>
  136.     </div>
  137.     <section>
  138.         <article class=\"";
  139.         // line 48
  140.         echo "\">
  141.             <div class=\"infos\">
  142.                 ";
  143.         // line 50
  144.         if (((twig_get_attribute($this->env$this->source, ($context["offre"] ?? null), "etablissement", [], "any"truetruefalse50) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'50$this->source); })()), "etablissement", [], "any"falsefalsefalse50), "isClient", [], "any"falsefalsefalse50)) &&  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'50$this->source); })()), "etablissement", [], "any"falsefalsefalse50), "imagesDiaporama", [], "any"falsefalsefalse50)))) {
  145.             // line 51
  146.             echo "                    ";
  147.             $context["firstDiapo"] = twig_first($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'51$this->source); })()), "etablissement", [], "any"falsefalsefalse51), "imagesDiaporama", [], "any"falsefalsefalse51));
  148.             // line 52
  149.             echo "                    ";
  150.             $context["urlImage"] = $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("images/jouve/photo/" . (isset($context["firstDiapo"]) || array_key_exists("firstDiapo"$context) ? $context["firstDiapo"] : (function () { throw new RuntimeError('Variable "firstDiapo" does not exist.'52$this->source); })()))), "diapo_list");
  151.             // line 53
  152.             echo "                ";
  153.         }
  154.         // line 54
  155.         echo "                <figure class=\"resize\">
  156.                     ";
  157.         // line 55
  158.         if (array_key_exists("urlImage"$context)) {
  159.             // line 56
  160.             echo "                        <img class=\"resp\" src=\"";
  161.             echo twig_escape_filter($this->env, (isset($context["urlImage"]) || array_key_exists("urlImage"$context) ? $context["urlImage"] : (function () { throw new RuntimeError('Variable "urlImage" does not exist.'56$this->source); })()), "html"nulltrue);
  162.             echo "\" alt=\"";
  163.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'56$this->source); })()), "etablissement", [], "any"falsefalsefalse56), "denomination", [], "any"falsefalsefalse56), "html"nulltrue);
  164.             echo "\">
  165.                     ";
  166.         } else {
  167.             // line 58
  168.             echo "                        <span class=\"no-logo\"></span>
  169.                     ";
  170.         }
  171.         // line 60
  172.         echo "                </figure>
  173.                 ";
  174.         // line 61
  175.         if (((!== twig_compare($this->extensions['App\Twig\TypeOngletExtension']->type(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'61$this->source); })()), "etablissement", [], "any"falsefalsefalse61), "type", [], "any"falsefalsefalse61)), "none")) ||  !twig_test_empty((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'61$this->source); })())))) {
  176.             // line 62
  177.             echo "                    <div class=\"w-100 d-flex justify-content-center mb-4\">
  178.                         <a class=\"btn bg-primary text-white\" href=\"";
  179.             // line 63
  180.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["pathBuilder"]) || array_key_exists("pathBuilder"$context) ? $context["pathBuilder"] : (function () { throw new RuntimeError('Variable "pathBuilder" does not exist.'63$this->source); })()), "buildFiche", [=> twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'63$this->source); })()), "etablissement", [], "any"falsefalsefalse63)], "method"falsefalsefalse63), "html"nulltrue);
  181.             echo "\" data-trace-action=\"";
  182.             echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Trace::CLIC_FICHE_EMPLOI"), "html_attr");
  183.             echo "\" data-trace-etab=\"";
  184.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'63$this->source); })()), "etablissement", [], "any"falsefalsefalse63), "id", [], "any"falsefalsefalse63), "html_attr");
  185.             echo "\">Voir la fiche établissement</a>
  186.                     </div>
  187.                 ";
  188.         }
  189.         // line 66
  190.         echo "
  191.             </div>
  192.             <div class=\"content\">
  193.                 <span class=\"date\">Postée le ";
  194.         // line 69
  195.         echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->envtwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'69$this->source); })()), "dateActualisation", [], "any"falsefalsefalse69), "medium""d/MM/Y"), "html"nulltrue);
  196.         echo "</span>
  197.                 <header class=\"w-100\">
  198.                     ";
  199.         // line 71
  200.         if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'71$this->source); })()), "etablissement", [], "any"falsefalsefalse71), "logo", [], "any"falsefalsefalse71))) {
  201.             // line 72
  202.             echo "                        <figure>
  203.                             <img src=\"";
  204.             // line 73
  205.             echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'73$this->source); })()), "etablissement", [], "any"falsefalsefalse73), "logo", [], "any"falsefalsefalse73), "logoFile"), "etab_fiche_logo"), "html"nulltrue);
  206.             echo "\" alt=\"";
  207.             echo twig_escape_filter($this->env, (isset($context["imgAlt"]) || array_key_exists("imgAlt"$context) ? $context["imgAlt"] : (function () { throw new RuntimeError('Variable "imgAlt" does not exist.'73$this->source); })()), "html"nulltrue);
  208.             echo "\" title=\"";
  209.             echo twig_escape_filter($this->env, (isset($context["imgAlt"]) || array_key_exists("imgAlt"$context) ? $context["imgAlt"] : (function () { throw new RuntimeError('Variable "imgAlt" does not exist.'73$this->source); })()), "html"nulltrue);
  210.             echo "\">
  211.                         </figure>
  212.                     ";
  213.         }
  214.         // line 76
  215.         echo "                    <div>
  216.                         ";
  217.         // line 77
  218.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'77$this->source); })()), "etablissement", [], "any"falsefalsefalse77), "ville", [], "any"falsefalsefalse77)) {
  219.             // line 78
  220.             echo "                            <p class=\"city\">
  221.                             ";
  222.             // line 79
  223.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'79$this->source); })()), "etablissement", [], "any"falsefalsefalse79), "ville", [], "any"falsefalsefalse79), "libelle", [], "any"falsefalsefalse79), "html"nulltrue);
  224.             echo "
  225.                             ";
  226.             // line 80
  227.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'80$this->source); })()), "etablissement", [], "any"falsefalsefalse80), "departement", [], "any"falsefalsefalse80)) {
  228.                 // line 81
  229.                 echo "                                 (";
  230.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'81$this->source); })()), "etablissement", [], "any"falsefalsefalse81), "departement", [], "any"falsefalsefalse81), "id", [], "any"falsefalsefalse81), "html"nulltrue);
  231.                 echo ")
  232.                             ";
  233.             }
  234.             // line 83
  235.             echo "                            </p>
  236.                         ";
  237.         }
  238.         // line 85
  239.         echo "                    <h1>";
  240.         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'85$this->source); })()), "profil", [], "any"falsefalsefalse85), "N/A"))) {
  241.             echo " ";
  242.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'85$this->source); })()), "libelle", [], "any"falsefalsefalse85), "html"nulltrue);
  243.             echo " ";
  244.         } else {
  245.             echo " ";
  246.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'85$this->source); })()), "profil", [], "any"falsefalsefalse85), "html"nulltrue);
  247.             echo " ";
  248.         }
  249.         echo " ";
  250.         if ((!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'85$this->source); })()), "contrat", [], "any"falsefalsefalse85), "N/A"))) {
  251.             echo " - ";
  252.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'85$this->source); })()), "contrat", [], "any"falsefalsefalse85), "html"nulltrue);
  253.             echo " ";
  254.         }
  255.         echo "</h1>
  256.                         <p class=\"estab\">";
  257.         // line 86
  258.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'86$this->source); })()), "etablissement", [], "any"falsefalsefalse86), "denomination", [], "any"falsefalsefalse86)), "truncate", [=> 70=> "…"=> true], "method"falsefalsefalse86), "html"nulltrue);
  259.         echo "</p>
  260.                     </div>
  261.                 </header>
  262.                 <p>
  263.                     ";
  264.         // line 90
  265.         if ($this->extensions['App\Twig\IsHtmlExtension']->isHtml(twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'90$this->source); })()), "description", [], "any"falsefalsefalse90))) {
  266.             // line 91
  267.             echo "                    ";
  268.             echo twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'91$this->source); })()), "description", [], "any"falsefalsefalse91);
  269.             echo "
  270.                     ";
  271.         } else {
  272.             // line 93
  273.             echo "                    ";
  274.             echo twig_nl2br(twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'93$this->source); })()), "description", [], "any"falsefalsefalse93), "html"nulltrue));
  275.             echo "
  276.                     ";
  277.         }
  278.         // line 95
  279.         echo "                </p>
  280.                 ";
  281.         // line 96
  282.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'96$this->source); })()), 'form_start');
  283.         echo "
  284.                     <h2>Postuler à cette offre</h2>
  285.                     <small class=\"form-text text-muted\">* Champs obligatoires</small>
  286.                     ";
  287.         // line 99
  288.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'99$this->source); })()), "civilite", [], "any"falsefalsefalse99), 'row', ["label" => "Civilité""attr" => ["class" => "full-width"]]);
  289.         // line 104
  290.         echo "
  291.                     ";
  292.         // line 105
  293.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'105$this->source); })()), "prenom", [], "any"falsefalsefalse105), 'row', ["label" => "Prénom""attr" => ["placeholder" => "Prénom"]]);
  294.         // line 110
  295.         echo "
  296.                     ";
  297.         // line 111
  298.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'111$this->source); })()), "nom", [], "any"falsefalsefalse111), 'row', ["label" => "Nom""attr" => ["placeholder" => "Nom"]]);
  299.         // line 116
  300.         echo "
  301.                     ";
  302.         // line 117
  303.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'117$this->source); })()), "adresse", [], "any"falsefalsefalse117), 'row', ["label" => "Adresse""attr" => ["placeholder" => "Adresse""class" => "full-width"]]);
  304.         // line 123
  305.         echo "
  306.                     ";
  307.         // line 124
  308.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'124$this->source); })()), "codePostal", [], "any"falsefalsefalse124), 'row', ["label" => "Code postal""attr" => ["placeholder" => "Code postal"]]);
  309.         // line 129
  310.         echo "
  311.                     ";
  312.         // line 130
  313.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'130$this->source); })()), "ville", [], "any"falsefalsefalse130), 'row', ["label" => "Ville""attr" => ["placeholder" => "Ville"]]);
  314.         // line 135
  315.         echo "
  316.                     ";
  317.         // line 136
  318.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'136$this->source); })()), "telephone", [], "any"falsefalsefalse136), 'row', ["label" => "Téléphone""attr" => ["placeholder" => "Téléphone"]]);
  319.         // line 141
  320.         echo "
  321.                     ";
  322.         // line 142
  323.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'142$this->source); })()), "email", [], "any"falsefalsefalse142), 'row', ["label" => "E-mail""attr" => ["placeholder" => "E-mail"]]);
  324.         // line 147
  325.         echo "
  326.                     ";
  327.         // line 148
  328.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'148$this->source); })()), "resume", [], "any"falsefalsefalse148), 'row', ["label" => "CV""attr" => ["data-text" => "Joindre mon CV *""class" => "fixed form-control-file full-width"]]);
  329.         // line 154
  330.         echo "
  331.                     ";
  332.         // line 155
  333.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'155$this->source); })()), "commentaire", [], "any"falsefalsefalse155), 'row', ["label" => "Personnaliser votre candidature""attr" => ["placeholder" => "Personnaliser votre candidature""class" => "full-width"]]);
  334.         // line 161
  335.         echo "
  336.                     ";
  337.         // line 163
  338.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'163$this->source); })()), "captcha", [], "any"falsefalsefalse163), 'row', ["label" => "Veuillez recopier le message suivant""attr" => ["placeholder" => "Veuillez recopier le message ci-dessous""class" => "full-width"]]);
  339.         // line 169
  340.         echo "
  341.                     ";
  342.         // line 172
  343.         echo "                    ";
  344.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'172$this->source); })()), "email2", [], "any"falsefalsefalse172), 'row', ["attr" => ["class" => "full-width""style" => "display:none !important""tabindex" => "-1""autocomplete" => "off"]]);
  345.         // line 177
  346.         echo "
  347.                     <div class=\"w-100 text-center\">
  348.                         <input type=\"submit\" class=\"btn bg-primary\" value=\"Envoyer ma candidature\" />
  349.                     </div>
  350.                 ";
  351.         // line 183
  352.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'183$this->source); })()), 'form_end');
  353.         echo "
  354.             </div>
  355.         </article>
  356.     </section>
  357. </section>
  358. ";
  359.         
  360.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  361.         
  362.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  363.     }
  364.     public function getTemplateName()
  365.     {
  366.         return "offre-emploi/fiche.html.twig";
  367.     }
  368.     public function isTraitable()
  369.     {
  370.         return false;
  371.     }
  372.     public function getDebugInfo()
  373.     {
  374.         return array (  380 => 183,  372 => 177,  369 => 172,  365 => 169,  363 => 163,  359 => 161,  357 => 155,  354 => 154,  352 => 148,  349 => 147,  347 => 142,  344 => 141,  342 => 136,  339 => 135,  337 => 130,  334 => 129,  332 => 124,  329 => 123,  327 => 117,  324 => 116,  322 => 111,  319 => 110,  317 => 105,  314 => 104,  312 => 99,  306 => 96,  303 => 95,  297 => 93,  291 => 91,  289 => 90,  282 => 86,  263 => 85,  259 => 83,  253 => 81,  251 => 80,  247 => 79,  244 => 78,  242 => 77,  239 => 76,  229 => 73,  226 => 72,  224 => 71,  219 => 69,  214 => 66,  204 => 63,  201 => 62,  199 => 61,  196 => 60,  192 => 58,  184 => 56,  182 => 55,  179 => 54,  176 => 53,  173 => 52,  170 => 51,  168 => 50,  164 => 48,  156 => 42,  154 => 41,  150 => 39,  140 => 38,  129 => 20,  123 => 18,  119 => 17,  116 => 16,  106 => 14,  95 => 9,  89 => 7,  87 => 6,  85 => 5,  75 => 3,  64 => 1,  61 => 35,  59 => 34,  57 => 33,  55 => 30,  54 => 29,  53 => 28,  52 => 27,  50 => 25,  37 => 1,);
  375.     }
  376.     public function getSourceContext()
  377.     {
  378.         return new Source("{% extends 'base.html.twig' %}
  379. {%- block title %}
  380. {%- autoescape false -%}
  381.     {{ offre.profil -}}
  382.     {%- if offre.etablissement -%}
  383.         {%- if offre.etablissement.ville and not offre.etablissement.ville.empty %} - {{ offre.etablissement.ville|lieuLibelle }}
  384.         {%- endif -%}
  385.     {%- else %} - enseignement-prive.info
  386.     {%- endif %} 
  387. {%- endautoescape -%}     
  388. {%- endblock %}
  389. {% block description -%}
  390. {%- autoescape false -%}
  391.     Offre d'emploi {{ offre.profil -}}
  392.     {%- if offre.etablissement %} - {{ offre.etablissement.denomination -}}
  393.         {%- if offre.etablissement.ville and not offre.etablissement.ville.empty %} - {{ offre.etablissement.ville|lieuLibelle }}
  394.         {%- endif -%}
  395.     {%- else %} - enseignement-prive.info
  396.     {%- endif %} 
  397. {%- endautoescape -%}    
  398. {%- endblock %}
  399. {% set siteLdJson = siteLdJson | merge(['offre-emploi']) %}
  400. {% set imgAlt = [
  401. offre.etablissement.codePostal,
  402. (offre.etablissement.ville ? offre.etablissement.ville.libelle : ''),
  403. offre.etablissement.denomination,
  404. ]|join(' - ')|trim(' -') %}
  405. {% set type = \"\" %}
  406. {% if offre.etablissement.typeClient == 'internat' %}
  407.     {% set type = \"internat\" %}
  408. {% endif %}
  409. {% block body %}
  410. <section class=\"container page-offres single form\">
  411.     <div id=\"breadcrumb\">
  412.         {% include 'offre-emploi/_includes/breadcrumb.html.twig' %}
  413.     </div>
  414.     <div class=\"title\">
  415.         <h1>Offres d'emploi</h1>
  416.         <div class=\"triangle-defaut\"></div>
  417.     </div>
  418.     <section>
  419.         <article class=\"{#{{ type ? type : typeOnglet(offre.etablissement.type) }}#}\">
  420.             <div class=\"infos\">
  421.                 {% if offre.etablissement is defined and offre.etablissement.isClient and offre.etablissement.imagesDiaporama is not empty %}
  422.                     {% set firstDiapo = offre.etablissement.imagesDiaporama | first %}
  423.                     {% set urlImage = asset('images/jouve/photo/' ~ firstDiapo) | imagine_filter('diapo_list') %}
  424.                 {% endif %}
  425.                 <figure class=\"resize\">
  426.                     {% if urlImage is defined %}
  427.                         <img class=\"resp\" src=\"{{ urlImage }}\" alt=\"{{ offre.etablissement.denomination }}\">
  428.                     {% else %}
  429.                         <span class=\"no-logo\"></span>
  430.                     {% endif %}
  431.                 </figure>
  432.                 {% if typeOnglet(offre.etablissement.type) != \"none\" or type is not empty %}
  433.                     <div class=\"w-100 d-flex justify-content-center mb-4\">
  434.                         <a class=\"btn bg-primary text-white\" href=\"{{ pathBuilder.buildFiche(offre.etablissement) }}\" data-trace-action=\"{{ constant('App\\\\Entity\\\\Trace::CLIC_FICHE_EMPLOI') | e('html_attr') }}\" data-trace-etab=\"{{ offre.etablissement.id | e('html_attr') }}\">Voir la fiche établissement</a>
  435.                     </div>
  436.                 {% endif %}
  437.             </div>
  438.             <div class=\"content\">
  439.                 <span class=\"date\">Postée le {{ offre.dateActualisation | format_date(pattern='d/MM/Y') }}</span>
  440.                 <header class=\"w-100\">
  441.                     {% if offre.etablissement.logo is not empty %}
  442.                         <figure>
  443.                             <img src=\"{{ vich_uploader_asset(offre.etablissement.logo, 'logoFile') | imagine_filter('etab_fiche_logo') }}\" alt=\"{{ imgAlt }}\" title=\"{{ imgAlt }}\">
  444.                         </figure>
  445.                     {% endif %}
  446.                     <div>
  447.                         {% if offre.etablissement.ville %}
  448.                             <p class=\"city\">
  449.                             {{ offre.etablissement.ville.libelle }}
  450.                             {% if offre.etablissement.departement %}
  451.                                  ({{ offre.etablissement.departement.id }})
  452.                             {% endif %}
  453.                             </p>
  454.                         {% endif %}
  455.                     <h1>{% if offre.profil == \"N/A\" %} {{ offre.libelle }} {%else%} {{ offre.profil }} {%endif%} {% if offre.contrat != \"N/A\" %} - {{ offre.contrat }} {% endif %}</h1>
  456.                         <p class=\"estab\">{{ offre.etablissement.denomination | u.truncate(70, '…', true) }}</p>
  457.                     </div>
  458.                 </header>
  459.                 <p>
  460.                     {% if is_html(offre.description) %}
  461.                     {{ offre.description|raw }}
  462.                     {% else %}
  463.                     {{ offre.description|nl2br }}
  464.                     {% endif %}
  465.                 </p>
  466.                 {{ form_start(form) }}
  467.                     <h2>Postuler à cette offre</h2>
  468.                     <small class=\"form-text text-muted\">* Champs obligatoires</small>
  469.                     {{ form_row(form.civilite, {
  470.                         'label': 'Civilité',
  471.                         'attr' : {
  472.                             'class' : 'full-width',
  473.                         },
  474.                     }) }}
  475.                     {{ form_row(form.prenom, {
  476.                         'label': 'Prénom',
  477.                         'attr' : {
  478.                             'placeholder': 'Prénom',
  479.                         },
  480.                     }) }}
  481.                     {{ form_row(form.nom, {
  482.                         'label': 'Nom',
  483.                         'attr' : {
  484.                             'placeholder': 'Nom',
  485.                         },
  486.                     }) }}
  487.                     {{ form_row(form.adresse, {
  488.                         'label': 'Adresse',
  489.                         'attr' : {
  490.                             'placeholder': 'Adresse',
  491.                             'class' : 'full-width',
  492.                         },
  493.                     }) }}
  494.                     {{ form_row(form.codePostal, {
  495.                         'label': 'Code postal',
  496.                         'attr' : {
  497.                             'placeholder': 'Code postal',
  498.                         },
  499.                     }) }}
  500.                     {{ form_row(form.ville, {
  501.                         'label': 'Ville',
  502.                         'attr' : {
  503.                             'placeholder': 'Ville',
  504.                         },
  505.                     }) }}
  506.                     {{ form_row(form.telephone, {
  507.                         'label': 'Téléphone',
  508.                         'attr' : {
  509.                             'placeholder': 'Téléphone',
  510.                         },
  511.                     }) }}
  512.                     {{ form_row(form.email, {
  513.                         'label': 'E-mail',
  514.                         'attr' : {
  515.                             'placeholder': 'E-mail',
  516.                         },
  517.                     }) }}
  518.                     {{ form_row(form.resume, {
  519.                         'label': 'CV',
  520.                         'attr' : {
  521.                             'data-text': 'Joindre mon CV *',
  522.                             'class': 'fixed form-control-file full-width',
  523.                         },
  524.                     }) }}
  525.                     {{ form_row(form.commentaire, {
  526.                         'label': 'Personnaliser votre candidature',
  527.                         'attr' : {
  528.                             'placeholder': 'Personnaliser votre candidature',
  529.                             'class' : 'full-width',
  530.                         },
  531.                     }) }}
  532.                     {{ form_row(form.captcha, {
  533.                         'label': 'Veuillez recopier le message suivant',
  534.                         'attr' : {
  535.                             'placeholder': 'Veuillez recopier le message ci-dessous',
  536.                             'class' : 'full-width',
  537.                         },
  538.                     }) }}
  539.                     {# Honeypot #}
  540.                     {{ form_row(form.email2, {
  541.                         attr: {class: 'full-width', 
  542.                         style: 'display:none !important', 
  543.                         tabindex: '-1', 
  544.                         autocomplete: 'off'}
  545.                     }) }}
  546.                     <div class=\"w-100 text-center\">
  547.                         <input type=\"submit\" class=\"btn bg-primary\" value=\"Envoyer ma candidature\" />
  548.                     </div>
  549.                 {{ form_end(form) }}
  550.             </div>
  551.         </article>
  552.     </section>
  553. </section>
  554. {% endblock %}
  555. ""offre-emploi/fiche.html.twig""/app/templates/offre-emploi/fiche.html.twig");
  556.     }
  557. }