var/cache/dev/twig/dc/dc249f0ab1b3593b670a0c020acfd064fa49d6e23d72b6b19d2dcc35806bdd0c.php line 1469

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. /* fiche/_includes/insertion.html.twig */
  14. class __TwigTemplate_4e6cd4d8322d7241036063e4fb2cb5183a8f09f3e04cef850ee1aefe8d1649c2 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""fiche/_includes/insertion.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""fiche/_includes/insertion.html.twig"));
  33.         // line 1
  34.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'1$this->source); })()), "texteReferencement", [], "any"falsefalsefalse1), "actif", [], "any"falsefalsefalse1), 1))) {
  35.             // line 2
  36.             echo "\t<div class=\"fiche-module en-quelques-mots\">
  37. \t\t<h2 id=\"en-quelques-mots\">En quelques mots...</h2>
  38. \t\t\t<div class=\"ml-4\">
  39. \t\t\t";
  40.             // line 5
  41.             $context["texteReferencement"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'5$this->source); })()), "texteReferencement", [], "any"falsefalsefalse5), "contenu", [], "any"falsefalsefalse5);
  42.             // line 6
  43.             echo "\t\t\t";
  44.             if (( !twig_test_empty((isset($context["texteReferencement"]) || array_key_exists("texteReferencement"$context) ? $context["texteReferencement"] : (function () { throw new RuntimeError('Variable "texteReferencement" does not exist.'6$this->source); })())) && (=== twig_compare(twig_length_filter($this->envtwig_striptags((isset($context["texteReferencement"]) || array_key_exists("texteReferencement"$context) ? $context["texteReferencement"] : (function () { throw new RuntimeError('Variable "texteReferencement" does not exist.'6$this->source); })()))), 15)))) {
  45.                 // line 7
  46.                 echo "\t\t\t\t";
  47.                 echo (isset($context["texteReferencement"]) || array_key_exists("texteReferencement"$context) ? $context["texteReferencement"] : (function () { throw new RuntimeError('Variable "texteReferencement" does not exist.'7$this->source); })());
  48.                 echo "
  49. \t\t\t";
  50.             } elseif ( !(null ===             // line 8
  51. (isset($context["textePresentation"]) || array_key_exists("textePresentation"$context) ? $context["textePresentation"] : (function () { throw new RuntimeError('Variable "textePresentation" does not exist.'8$this->source); })()))) {
  52.                 // line 9
  53.                 echo "\t\t\t\t";
  54.                 echo (isset($context["textePresentation"]) || array_key_exists("textePresentation"$context) ? $context["textePresentation"] : (function () { throw new RuntimeError('Variable "textePresentation" does not exist.'9$this->source); })());
  55.                 echo "
  56. \t\t\t";
  57.             } else {
  58.                 // line 11
  59.                 echo "\t\t\t\t<!-- TEMPLATE::";
  60.                 echo twig_escape_filter($this->env, (("fiche/seo/" . (isset($context["template"]) || array_key_exists("template"$context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.'11$this->source); })())) . ".html.twig"), "html"nulltrue);
  61.                 echo " -->
  62. \t\t\t\t";
  63.                 // line 12
  64.                 $this->loadTemplate((("fiche/seo/" . (isset($context["template"]) || array_key_exists("template"$context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.'12$this->source); })())) . ".html.twig"), "fiche/_includes/insertion.html.twig"12)->display(twig_to_array(["etablissement" =>                 // line 13
  65. (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'13$this->source); })())]));
  66.                 // line 15
  67.                 echo "\t\t\t";
  68.             }
  69.             // line 16
  70.             echo "\t\t\t
  71. \t\t\t";
  72.             // line 18
  73.             echo "\t\t\t";
  74.             // line 19
  75.             echo "\t\t\t";
  76.             $context["texteReferencementActif"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'19$this->source); })()), "texteReferencement", [], "any"falsefalsefalse19), "actif", [], "any"falsefalsefalse19);
  77.             // line 20
  78.             echo "\t\t\t";
  79.             if (((isset($context["texteReferencementActif"]) || array_key_exists("texteReferencementActif"$context) ? $context["texteReferencementActif"] : (function () { throw new RuntimeError('Variable "texteReferencementActif" does not exist.'20$this->source); })()) && twig_in_filter(twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'20$this->source); })()), "typeClient", [], "any"falsefalsefalse20), [=> "établissement"=> "internat"]))) {
  80.                 // line 21
  81.                 echo "\t\t\t\t<div class=\"content clearfix\">
  82. \t\t\t\t\t";
  83.                 // line 23
  84.                 echo "\t\t\t\t\t";
  85.                 if ( !twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'23$this->source); })()), "isClient", [], "any"falsefalsefalse23)) {
  86.                     // line 24
  87.                     echo "\t\t\t\t\t\t";
  88.                     $this->loadTemplate("fiche/_includes/insertion-non-participant.html.twig""fiche/_includes/insertion.html.twig"24)->display($context);
  89.                     // line 25
  90.                     echo "\t\t\t\t\t";
  91.                 }
  92.                 // line 26
  93.                 echo "\t\t\t\t</div>
  94. \t\t\t";
  95.             }
  96.             // line 28
  97.             echo "
  98. \t\t\t</div>
  99. \t</div>
  100. ";
  101.         }
  102.         // line 32
  103.         echo "
  104. ";
  105.         // line 33
  106.         $this->loadTemplate("fiche/_includes/videos.html.twig""fiche/_includes/insertion.html.twig"33)->display($context);
  107.         // line 34
  108.         if ((isset($context["presentation"]) || array_key_exists("presentation"$context) ? $context["presentation"] : (function () { throw new RuntimeError('Variable "presentation" does not exist.'34$this->source); })())) {
  109.             // line 35
  110.             echo "\t<div class=\"fiche-module presentation\">
  111. \t\t<h2 id=\"presentation\">Présentation</h2>
  112. \t\t<ul class=\"list-unstyled card-two-columns-old\">
  113. \t\t\t";
  114.             // line 38
  115.             $context['_parent'] = $context;
  116.             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["presentation"]) || array_key_exists("presentation"$context) ? $context["presentation"] : (function () { throw new RuntimeError('Variable "presentation" does not exist.'38$this->source); })()), function ($__ItemsInsertion__) use ($context$macros) { $context["ItemsInsertion"] = $__ItemsInsertion__; return (((!twig_in_filter("COLL-LANG"twig_get_attribute($this->env$this->source,             // line 39
  117. $context["ItemsInsertion"], "pere", [], "any"falsefalsefalse39)) && !twig_in_filter("COLL-SPEC-ANC_MT"twig_get_attribute($this->env$this->source,             // line 40
  118. $context["ItemsInsertion"], "pere", [], "any"falsefalsefalse40))) && !twig_in_filter("COLL-SPEC-REG_MT"twig_get_attribute($this->env$this->source,             // line 41
  119. $context["ItemsInsertion"], "pere", [], "any"falsefalsefalse41))) && !twig_in_filter("LYCPRO-PRESLIBRE_IS"twig_get_attribute($this->env$this->source,             // line 42
  120. $context["ItemsInsertion"], "pere", [], "any"falsefalsefalse42))); }));
  121.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  122.                 // line 44
  123.                 echo "\t\t\t\t<li>
  124. \t\t\t\t\t";
  125.                 // line 45
  126.                 echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  127.                 echo "
  128. \t\t\t\t\t";
  129.                 // line 46
  130.                 echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse46);
  131.                 echo "
  132. \t\t\t\t</li>
  133. \t\t\t";
  134.             }
  135.             $_parent $context['_parent'];
  136.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  137.             $context array_intersect_key($context$_parent) + $_parent;
  138.             // line 49
  139.             echo "\t\t</ul>
  140. \t\t";
  141.             // line 50
  142.             if ((isset($context["moduleAccueil"]) || array_key_exists("moduleAccueil"$context) ? $context["moduleAccueil"] : (function () { throw new RuntimeError('Variable "moduleAccueil" does not exist.'50$this->source); })())) {
  143.                 // line 51
  144.                 echo "\t\t\t";
  145.                 $context["textePresentation"] = $this->extensions['App\Twig\DonneeComplementaireExtension']->donneeComplementaire((isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'51$this->source); })()), "presentation""texte");
  146.                 // line 52
  147.                 echo "\t\t\t";
  148.                 if ((!== twig_compare((isset($context["textePresentation"]) || array_key_exists("textePresentation"$context) ? $context["textePresentation"] : (function () { throw new RuntimeError('Variable "textePresentation" does not exist.'52$this->source); })()), ""))) {
  149.                     // line 53
  150.                     echo "\t\t\t\t<p class=\"presentation-texte-complementaire\">";
  151.                     echo (isset($context["textePresentation"]) || array_key_exists("textePresentation"$context) ? $context["textePresentation"] : (function () { throw new RuntimeError('Variable "textePresentation" does not exist.'53$this->source); })());
  152.                     echo "</p>
  153. \t\t\t";
  154.                 }
  155.                 // line 55
  156.                 echo "\t\t";
  157.             }
  158.             // line 56
  159.             echo "
  160. \t</div>
  161. ";
  162.         }
  163.         // line 59
  164.         $this->loadTemplate("fiche/_includes/diaporamas.html.twig""fiche/_includes/insertion.html.twig"59)->display($context);
  165.         // line 60
  166.         if ((isset($context["langues"]) || array_key_exists("langues"$context) ? $context["langues"] : (function () { throw new RuntimeError('Variable "langues" does not exist.'60$this->source); })())) {
  167.             // line 61
  168.             echo "\t<div class=\"fiche-module langues\">
  169. \t\t<h2 id=\"langues\">Langues</h2>
  170. \t\t";
  171.             // line 65
  172.             echo "\t\t<ul class=\"langues\">
  173. \t\t\t";
  174.             // line 66
  175.             $context["i"] = 0;
  176.             // line 67
  177.             echo "\t\t\t";
  178.             $context["langues2"] = (isset($context["langues"]) || array_key_exists("langues"$context) ? $context["langues"] : (function () { throw new RuntimeError('Variable "langues" does not exist.'67$this->source); })());
  179.             // line 68
  180.             echo "\t\t\t";
  181.             $context['_parent'] = $context;
  182.             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["langues"]) || array_key_exists("langues"$context) ? $context["langues"] : (function () { throw new RuntimeError('Variable "langues" does not exist.'68$this->source); })()), function ($__ii__) use ($context$macros) { $context["ii"] = $__ii__; return (=== twig_compare(twig_get_attribute($this->env$this->source$context["ii"], "niveau", [], "any"falsefalsefalse68), 3)); }));
  183.             foreach ($context['_seq'] as $context["_key"] => $context["ii"]) {
  184.                 // line 69
  185.                 echo "\t\t\t\t<li>
  186. \t\t\t\t\t<span class=\"langii ";
  187.                 // line 70
  188.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ii"], "identifiant", [], "any"falsefalsefalse70), "html"nulltrue);
  189.                 echo "\">";
  190.                 echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ii"]);
  191.                 echo "
  192. \t\t\t\t\t\t";
  193.                 // line 71
  194.                 echo twig_get_attribute($this->env$this->source$context["ii"], "texte", [], "any"falsefalsefalse71);
  195.                 echo "</span>
  196. \t\t\t\t\t";
  197.                 // line 72
  198.                 $context["i2"] = 0;
  199.                 // line 73
  200.                 echo "\t\t\t\t\t";
  201.                 $context['_parent'] = $context;
  202.                 $context['_seq'] = twig_ensure_traversable((isset($context["langues2"]) || array_key_exists("langues2"$context) ? $context["langues2"] : (function () { throw new RuntimeError('Variable "langues2" does not exist.'73$this->source); })()));
  203.                 foreach ($context['_seq'] as $context["_key"] => $context["ii2"]) {
  204.                     // line 74
  205.                     echo "\t\t\t\t\t";
  206.                     if (((=== twig_compare(twig_get_attribute($this->env$this->source$context["ii2"], "niveau", [], "any"falsefalsefalse74), 4)) && (=== twig_compare(twig_get_attribute($this->env$this->source$context["ii2"], "pere", [], "any"falsefalsefalse74), twig_get_attribute($this->env$this->source$context["ii"], "identifiant", [], "any"falsefalsefalse74))))) {
  207.                         // line 75
  208.                         echo "\t\t\t\t\t\t";
  209.                         $context["i2"] = ((isset($context["i2"]) || array_key_exists("i2"$context) ? $context["i2"] : (function () { throw new RuntimeError('Variable "i2" does not exist.'75$this->source); })()) + 1);
  210.                         // line 76
  211.                         echo "\t\t\t\t\t\t";
  212.                         if ((=== twig_compare((isset($context["i2"]) || array_key_exists("i2"$context) ? $context["i2"] : (function () { throw new RuntimeError('Variable "i2" does not exist.'76$this->source); })()), 1))) {
  213.                             echo ":
  214. \t\t\t\t\t\t";
  215.                         }
  216.                         // line 78
  217.                         echo "\t\t\t\t\t\t<span class='langii2'>";
  218.                         echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ii2"]);
  219.                         echo twig_get_attribute($this->env$this->source$context["ii2"], "texte", [], "any"falsefalsefalse78);
  220.                         echo "</span>
  221. \t\t\t\t\t";
  222.                     }
  223.                     // line 80
  224.                     echo "\t\t\t\t\t";
  225.                 }
  226.                 $_parent $context['_parent'];
  227.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ii2'], $context['_parent'], $context['loop']);
  228.                 $context array_intersect_key($context$_parent) + $_parent;
  229.                 // line 81
  230.                 echo "\t\t\t\t</li>
  231. \t\t\t\t";
  232.                 // line 83
  233.                 if ((=== twig_compare((isset($context["i2"]) || array_key_exists("i2"$context) ? $context["i2"] : (function () { throw new RuntimeError('Variable "i2" does not exist.'83$this->source); })()), 0))) {
  234.                     // line 84
  235.                     echo "\t\t\t\t\t<style>
  236. \t\t\t\t\t\t.";
  237.                     // line 85
  238.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ii"], "identifiant", [], "any"falsefalsefalse85), "html"nulltrue);
  239.                     echo "{
  240. \t\t\t\t\t\t\tfont-weight: bold;
  241. \t\t\t\t\t\t}
  242. \t\t\t\t\t</style>
  243. \t\t\t\t";
  244.                 }
  245.                 // line 90
  246.                 echo "
  247. \t\t\t";
  248.             }
  249.             $_parent $context['_parent'];
  250.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ii'], $context['_parent'], $context['loop']);
  251.             $context array_intersect_key($context$_parent) + $_parent;
  252.             // line 92
  253.             echo "\t\t</ul>
  254. \t</div>
  255. ";
  256.         }
  257.         // line 95
  258.         if (twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'95$this->source); })()), "video", [], "any"falsefalsefalse95)) {
  259.             // line 96
  260.             echo "<div class=\"fiche-module video\">
  261. \t<h2 id=\"video\">Vidéo de présentation</h2>
  262. \t<iframe src=\"";
  263.             // line 98
  264.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'98$this->source); })()), "video", [], "any"falsefalsefalse98), "html"nulltrue);
  265.             echo "?rel=0\" height=\"280\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
  266. </div>";
  267.         }
  268.         // line 99
  269.         if ((isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'99$this->source); })())) {
  270.             // line 100
  271.             echo "<div class=\"fiche-module formations\">
  272. \t<h2 id=\"bloc-formations\">Formations</h2>
  273. \t";
  274.             // line 103
  275.             $context['_parent'] = $context;
  276.             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'103$this->source); })()), function ($__ItemsInsertion__) use ($context$macros) { $context["ItemsInsertion"] = $__ItemsInsertion__; return (twig_in_filter("Autre, précisez"twig_get_attribute($this->env$this->source,             // line 104
  277. $context["ItemsInsertion"], "libelle", [], "any"falsefalsefalse104)) && twig_in_filter("-FORMA-TXTS"twig_get_attribute($this->env$this->source,             // line 105
  278. $context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse105))); }));
  279.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  280.                 // line 107
  281.                 echo "\t\t";
  282.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse107))) {
  283.                     // line 108
  284.                     echo "\t\t\t";
  285.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse108);
  286.                     echo "
  287. \t\t";
  288.                 }
  289.                 // line 110
  290.                 echo "\t";
  291.             }
  292.             $_parent $context['_parent'];
  293.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  294.             $context array_intersect_key($context$_parent) + $_parent;
  295.             // line 111
  296.             echo "
  297. \t";
  298.             // line 112
  299.             $context['_parent'] = $context;
  300.             $context['_seq'] = twig_ensure_traversable((isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'112$this->source); })()));
  301.             $context['loop'] = [
  302.               'parent' => $context['_parent'],
  303.               'index0' => 0,
  304.               'index'  => 1,
  305.               'first'  => true,
  306.             ];
  307.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  308.                 $length count($context['_seq']);
  309.                 $context['loop']['revindex0'] = $length 1;
  310.                 $context['loop']['revindex'] = $length;
  311.                 $context['loop']['length'] = $length;
  312.                 $context['loop']['last'] = === $length;
  313.             }
  314.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  315.                 // line 113
  316.                 echo "
  317. \t\t";
  318.                 // line 114
  319.                 if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse114)) {
  320.                     // line 115
  321.                     echo "\t\t\t";
  322.                     $context["previous_formation"] = $context["ItemsInsertion"];
  323.                     // line 116
  324.                     echo "\t\t";
  325.                 } else {
  326.                     // line 117
  327.                     echo "\t\t\t";
  328.                     $context["previous_formation"] = twig_get_attribute($this->env$this->source, (isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'117$this->source); })()), (twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse117) - 1), [], "array"falsefalsefalse117);
  329.                     // line 118
  330.                     echo "\t\t";
  331.                 }
  332.                 // line 119
  333.                 echo "\t\t";
  334.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse119)) {
  335.                     // line 120
  336.                     echo "\t\t\t";
  337.                     $context["next_formation"] = $context["ItemsInsertion"];
  338.                     // line 121
  339.                     echo "\t\t";
  340.                 } else {
  341.                     // line 122
  342.                     echo "\t\t\t";
  343.                     $context["next_formation"] = twig_get_attribute($this->env$this->source, (isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'122$this->source); })()), (twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse122) + 1), [], "array"falsefalsefalse122);
  344.                     // line 123
  345.                     echo "\t\t";
  346.                 }
  347.                 // line 124
  348.                 echo "\t\t";
  349.                 if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["loop"], "length", [], "any"falsefalsefalse124), 1))) {
  350.                     // line 125
  351.                     echo "\t\t\t";
  352.                     $context["previous_formation"] = $context["ItemsInsertion"];
  353.                     // line 126
  354.                     echo "\t\t\t";
  355.                     $context["next_formation"] = $context["ItemsInsertion"];
  356.                     // line 127
  357.                     echo "\t\t";
  358.                 }
  359.                 // line 128
  360.                 echo "
  361. \t\t";
  362.                 // line 130
  363.                 $context["niveauxFormation"] = [=> "-CAP-"=> "-BACP-"=> "-BAC2-"=> "-PREPA-"=> "-BAC3-"=> "-BAC45-"=> "-ING-"=> "-FPC-"=> "-BACTECH-"=> "-DIPCOMP-"];
  364.                 // line 131
  365.                 echo "
  366. \t\t";
  367.                 // line 132
  368.                 $context['_parent'] = $context;
  369.                 $context['_seq'] = twig_ensure_traversable((isset($context["niveauxFormation"]) || array_key_exists("niveauxFormation"$context) ? $context["niveauxFormation"] : (function () { throw new RuntimeError('Variable "niveauxFormation" does not exist.'132$this->source); })()));
  370.                 foreach ($context['_seq'] as $context["_key"] => $context["niveauFormation"]) {
  371.                     // line 133
  372.                     echo "\t\t\t";
  373.                     if (twig_in_filter($context["niveauFormation"], twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse133))) {
  374.                         // line 134
  375.                         echo "\t\t\t\t";
  376.                         if (((=== twig_compare((isset($context["previous_formation"]) || array_key_exists("previous_formation"$context) ? $context["previous_formation"] : (function () { throw new RuntimeError('Variable "previous_formation" does not exist.'134$this->source); })()), $context["ItemsInsertion"])) || !twig_in_filter($context["niveauFormation"], twig_get_attribute($this->env$this->source, (isset($context["previous_formation"]) || array_key_exists("previous_formation"$context) ? $context["previous_formation"] : (function () { throw new RuntimeError('Variable "previous_formation" does not exist.'134$this->source); })()), "identifiant", [], "any"falsefalsefalse134)))) {
  377.                             // line 135
  378.                             echo "\t\t\t\t\t<div class=\"niveau-formation\">
  379. \t\t\t\t\t\t";
  380.                             // line 136
  381.                             $context["title"] = "";
  382.                             // line 137
  383.                             echo "\t\t\t\t\t\t";
  384.                             if ((=== twig_compare($context["niveauFormation"], "-CAP-"))) {
  385.                                 // line 138
  386.                                 echo "\t\t\t\t\t\t\t";
  387.                                 $context["title"] = "Niveau CAP";
  388.                                 // line 139
  389.                                 echo "\t\t\t\t\t\t";
  390.                             } elseif ((=== twig_compare($context["niveauFormation"], "-BACP-"))) {
  391.                                 // line 140
  392.                                 echo "\t\t\t\t\t\t\t";
  393.                                 $context["title"] = "Niveau BAC Pro";
  394.                                 // line 141
  395.                                 echo "\t\t\t\t\t\t";
  396.                             } elseif ((=== twig_compare($context["niveauFormation"], "-BAC2-"))) {
  397.                                 // line 142
  398.                                 echo "\t\t\t\t\t\t\t";
  399.                                 $context["title"] = "Niveau Bac+2";
  400.                                 // line 143
  401.                                 echo "\t\t\t\t\t\t";
  402.                             } elseif ((=== twig_compare($context["niveauFormation"], "-PREPA-"))) {
  403.                                 // line 144
  404.                                 echo "\t\t\t\t\t\t\t";
  405.                                 $context["title"] = "Classes Prépas";
  406.                                 // line 145
  407.                                 echo "\t\t\t\t\t\t";
  408.                             } elseif ((=== twig_compare($context["niveauFormation"], "-BAC3-"))) {
  409.                                 // line 146
  410.                                 echo "\t\t\t\t\t\t\t";
  411.                                 $context["title"] = "Niveau Bac+3";
  412.                                 // line 147
  413.                                 echo "\t\t\t\t\t\t";
  414.                             } elseif ((=== twig_compare($context["niveauFormation"], "-BAC45-"))) {
  415.                                 // line 148
  416.                                 echo "\t\t\t\t\t\t\t";
  417.                                 $context["title"] = "Niveau Bac+4/5";
  418.                                 // line 149
  419.                                 echo "\t\t\t\t\t\t";
  420.                             } elseif ((=== twig_compare($context["niveauFormation"], "-ING-"))) {
  421.                                 // line 150
  422.                                 echo "\t\t\t\t\t\t\t";
  423.                                 $context["title"] = "Diplômes d'ingénieurs";
  424.                                 // line 151
  425.                                 echo "\t\t\t\t\t\t";
  426.                             } elseif ((=== twig_compare($context["niveauFormation"], "-FPC-"))) {
  427.                                 // line 152
  428.                                 echo "\t\t\t\t\t\t\t";
  429.                                 $context["title"] = "Formation Professionnelle Continue";
  430.                                 // line 153
  431.                                 echo "\t\t\t\t\t\t";
  432.                             } elseif ((=== twig_compare($context["niveauFormation"], "-BACTECH-"))) {
  433.                                 // line 154
  434.                                 echo "\t\t\t\t\t\t\t";
  435.                                 $context["title"] = "Bac Techno (Agricole)";
  436.                                 // line 155
  437.                                 echo "\t\t\t\t\t\t";
  438.                             } elseif ((=== twig_compare($context["niveauFormation"], "-DIPCOMP-"))) {
  439.                                 // line 156
  440.                                 echo "\t\t\t\t\t\t\t";
  441.                                 $context["title"] = "Diplômes complémentaires";
  442.                                 // line 157
  443.                                 echo "\t\t\t\t\t\t";
  444.                             }
  445.                             // line 158
  446.                             echo "          <h3>";
  447.                             echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'158$this->source); })()), "html"nulltrue);
  448.                             echo "</h3>
  449.           <!-- Afficher des compléments AVANT -->
  450.          ";
  451.                             // line 161
  452.                             if ((((=== twig_compare(twig_get_attribute($this->env$this->source,                             // line 162
  453. $context["ItemsInsertion"], "niveau", [], "any"falsefalsefalse162), 3)) && twig_in_filter("Texte avant liste des diplômes"twig_get_attribute($this->env$this->source,                             // line 163
  454. $context["ItemsInsertion"], "libelle", [], "any"falsefalsefalse163))) && !twig_in_filter("LYC-BACTEC"twig_get_attribute($this->env$this->source,                             // line 164
  455. $context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse164)))) {
  456.                                 // line 167
  457.                                 echo "            <p class=\"texte-complementaire txt-avant-diplomes\">";
  458.                                 echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse167);
  459.                                 echo "</p>
  460.         ";
  461.                             }
  462.                             // line 169
  463.                             echo "
  464.         <ul class=\"list-unstyled card-two-columns-old l-174\">
  465.     ";
  466.                         }
  467.                         // line 172
  468.                         echo "    ";
  469.                     }
  470.                     // line 173
  471.                     echo "  ";
  472.                 }
  473.                 $_parent $context['_parent'];
  474.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['niveauFormation'], $context['_parent'], $context['loop']);
  475.                 $context array_intersect_key($context$_parent) + $_parent;
  476.                 // line 174
  477.                 echo "        ";
  478.                 if ((((((!twig_in_filter("-LANG"twig_get_attribute($this->env$this->source,                 // line 175
  479. $context["ItemsInsertion"], "pere", [], "any"falsefalsefalse175)) && !twig_in_filter("-ANC_MT"twig_get_attribute($this->env$this->source,                 // line 176
  480. $context["ItemsInsertion"], "pere", [], "any"falsefalsefalse176))) && !twig_in_filter("-FORMA2021-"twig_get_attribute($this->env$this->source,                 // line 177
  481. $context["ItemsInsertion"], "pere", [], "any"falsefalsefalse177))) && !twig_in_filter("-SPEC-REG_MT"twig_get_attribute($this->env$this->source,                 // line 178
  482. $context["ItemsInsertion"], "pere", [], "any"falsefalsefalse178))) && !twig_in_filter("-LANG-REG_MT"twig_get_attribute($this->env$this->source,                 // line 179
  483. $context["ItemsInsertion"], "pere", [], "any"falsefalsefalse179))) && !twig_in_filter("LYC-BACTEC-"twig_get_attribute($this->env$this->source,                 // line 180
  484. $context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse180)))) {
  485.                     // line 183
  486.                     echo "
  487.             ";
  488.                     // line 184
  489.                     if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "niveau", [], "any"falsefalsefalse184), 4))) {
  490.                         // line 185
  491.                         echo "                <li class=\"l-188\">
  492.                     <strong id=\"";
  493.                         // line 186
  494.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ItemsInsertion"], "id", [], "any"falsefalsefalse186), "html"nulltrue);
  495.                         echo "\">
  496.                         ";
  497.                         // line 187
  498.                         echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  499.                         echo "
  500.                         ";
  501.                         // line 188
  502.                         if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "options", [], "any"falsefalsefalse188))) {
  503.                             echo " - ";
  504.                             echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemOptions($context["ItemsInsertion"]), "html"nulltrue);
  505.                             echo " ";
  506.                         }
  507.                         // line 189
  508.                         echo "                        ";
  509.                         if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse189))) {
  510.                             echo " ";
  511.                             echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse189);
  512.                             echo " ";
  513.                         }
  514.                         // line 190
  515.                         echo "                    </strong>
  516.                     ";
  517.                         // line 192
  518.                         $context["complementTexte"] = $this->extensions['App\Twig\DonneeComplementaireExtension']->donneeComplementaire((isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'192$this->source); })()), twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse192), "texte");
  519.                         // line 193
  520.                         echo "                    ";
  521.                         // line 196
  522.                         echo "
  523.                     ";
  524.                         // line 197
  525.                         $context["complementUrlLibelle"] = $this->extensions['App\Twig\DonneeComplementaireExtension']->donneeComplementaire((isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'197$this->source); })()), twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse197), "urlLibelle");
  526.                         // line 198
  527.                         echo "                    ";
  528.                         $context["complementUrl"] = $this->extensions['App\Twig\DonneeComplementaireExtension']->donneeComplementaire((isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'198$this->source); })()), twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse198), "url");
  529.                         // line 199
  530.                         echo "                    ";
  531.                         if ((((isset($context["complementTexte"]) || array_key_exists("complementTexte"$context) ? $context["complementTexte"] : (function () { throw new RuntimeError('Variable "complementTexte" does not exist.'199$this->source); })()) || (isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle"$context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.'199$this->source); })())) || (isset($context["complementUrl"]) || array_key_exists("complementUrl"$context) ? $context["complementUrl"] : (function () { throw new RuntimeError('Variable "complementUrl" does not exist.'199$this->source); })()))) {
  532.                             // line 200
  533.                             echo "                        <p class=\"texte-complementaire formation-niv-4\">";
  534.                             echo (isset($context["complementTexte"]) || array_key_exists("complementTexte"$context) ? $context["complementTexte"] : (function () { throw new RuntimeError('Variable "complementTexte" does not exist.'200$this->source); })());
  535.                             echo "</p>
  536.                         ";
  537.                             // line 201
  538.                             if ((isset($context["complementUrl"]) || array_key_exists("complementUrl"$context) ? $context["complementUrl"] : (function () { throw new RuntimeError('Variable "complementUrl" does not exist.'201$this->source); })())) {
  539.                                 // line 202
  540.                                 echo "                            ";
  541.                                 if ((=== twig_compare((isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle"$context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.'202$this->source); })()), ""))) {
  542.                                     // line 203
  543.                                     echo "                                ";
  544.                                     $context["complementUrlLibelle"] = "En savoir plus";
  545.                                     // line 204
  546.                                     echo "                            ";
  547.                                 }
  548.                                 // line 205
  549.                                 echo "                            <a class=\"texte-complementaire-url\" href='";
  550.                                 echo twig_escape_filter($this->env, (isset($context["complementUrl"]) || array_key_exists("complementUrl"$context) ? $context["complementUrl"] : (function () { throw new RuntimeError('Variable "complementUrl" does not exist.'205$this->source); })()), "html"nulltrue);
  551.                                 echo "' target=\"_blank\" data-trace-action=\"";
  552.                                 echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Trace::TEXTE_COMPLEMENTAIRE"), "html_attr");
  553.                                 echo "\" data-trace-etab=\"";
  554.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'205$this->source); })()), "id", [], "any"falsefalsefalse205), "html_attr");
  555.                                 echo "\">
  556.                                 ";
  557.                                 // line 206
  558.                                 echo (isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle"$context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.'206$this->source); })());
  559.                                 echo "
  560.                             </a>
  561.                         ";
  562.                             }
  563.                             // line 209
  564.                             echo "                    ";
  565.                         }
  566.                         // line 210
  567.                         echo "                </li>
  568.             ";
  569.                     }
  570.                     // line 212
  571.                     echo "          ";
  572.                 }
  573.                 // line 213
  574.                 echo "
  575. ";
  576.                 // line 214
  577.                 $context['_parent'] = $context;
  578.                 $context['_seq'] = twig_ensure_traversable((isset($context["niveauxFormation"]) || array_key_exists("niveauxFormation"$context) ? $context["niveauxFormation"] : (function () { throw new RuntimeError('Variable "niveauxFormation" does not exist.'214$this->source); })()));
  579.                 foreach ($context['_seq'] as $context["_key"] => $context["niveauFormation"]) {
  580.                     // line 215
  581.                     echo "  ";
  582.                     if (twig_in_filter($context["niveauFormation"], twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse215))) {
  583.                         // line 216
  584.                         echo "  ";
  585.                         if (((=== twig_compare((isset($context["next_formation"]) || array_key_exists("next_formation"$context) ? $context["next_formation"] : (function () { throw new RuntimeError('Variable "next_formation" does not exist.'216$this->source); })()), $context["ItemsInsertion"])) || !twig_in_filter($context["niveauFormation"], twig_get_attribute($this->env$this->source, (isset($context["next_formation"]) || array_key_exists("next_formation"$context) ? $context["next_formation"] : (function () { throw new RuntimeError('Variable "next_formation" does not exist.'216$this->source); })()), "identifiant", [], "any"falsefalsefalse216)))) {
  586.                             // line 217
  587.                             echo "    </ul>
  588.     <!-- Afficher des compléments -->
  589.     ";
  590.                             // line 220
  591.                             if ((((=== twig_compare(twig_get_attribute($this->env$this->source,                             // line 221
  592. $context["ItemsInsertion"], "niveau", [], "any"falsefalsefalse221), 3)) && twig_in_filter("Texte après liste des diplômes"twig_get_attribute($this->env$this->source,                             // line 222
  593. $context["ItemsInsertion"], "libelle", [], "any"falsefalsefalse222))) && !twig_in_filter("LYC-BACTEC"twig_get_attribute($this->env$this->source,                             // line 223
  594. $context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse223)))) {
  595.                                 // line 226
  596.                                 echo "        <p class=\"texte-complementaire txt-apres-diplomes\">";
  597.                                 echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse226);
  598.                                 echo "</p>
  599.     ";
  600.                             }
  601.                             // line 228
  602.                             echo "
  603.     </div>
  604.     ";
  605.                         }
  606.                         // line 231
  607.                         echo "    ";
  608.                     }
  609.                     // line 232
  610.                     echo "    ";
  611.                 }
  612.                 $_parent $context['_parent'];
  613.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['niveauFormation'], $context['_parent'], $context['loop']);
  614.                 $context array_intersect_key($context$_parent) + $_parent;
  615.                 // line 233
  616.                 echo "    ";
  617.                 ++$context['loop']['index0'];
  618.                 ++$context['loop']['index'];
  619.                 $context['loop']['first'] = false;
  620.                 if (isset($context['loop']['length'])) {
  621.                     --$context['loop']['revindex0'];
  622.                     --$context['loop']['revindex'];
  623.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  624.                 }
  625.             }
  626.             $_parent $context['_parent'];
  627.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  628.             $context array_intersect_key($context$_parent) + $_parent;
  629.             // line 234
  630.             echo "    ";
  631.             // line 235
  632.             echo "
  633.     <ul class=\"bloc_2021\">
  634.         ";
  635.             // line 237
  636.             $context["i"] = 0;
  637.             // line 238
  638.             echo "        ";
  639.             $context['_parent'] = $context;
  640.             $context['_seq'] = twig_ensure_traversable((isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'238$this->source); })()));
  641.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  642.                 // line 239
  643.                 echo "            ";
  644.                 if ((((=== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "pere", [], "any"falsefalsefalse239), "LYC-FORMA2021")) || (=== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "pere", [], "any"falsefalsefalse239), "LYC-FORMA2021-SPEC"))) || (=== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "pere", [], "any"falsefalsefalse239), "LYC-FORMA2021-GFACU")))) {
  645.                     // line 240
  646.                     echo "        ";
  647.                     if ((=== twig_compare((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'240$this->source); })()), 0))) {
  648.                         echo "<li><strong id=\"";
  649.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ItemsInsertion"], "id", [], "any"falsefalsefalse240), "html"nulltrue);
  650.                         echo "\">Bac Général : </strong> <ul class=\"list-unstyled card-two-columns-old\">";
  651.                     }
  652.                     // line 241
  653.                     echo "            <li class=\"";
  654.                     echo ((twig_in_filter(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse241), [=> "LYC-FORMA2021-SPEC"=> "LYC-FORMA2021-GFACU"])) ? ("title") : ("sub-title"));
  655.                     echo "\">";
  656.                     echo twig_replace_filter($this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]), ["<br />" => """<br/>" => """<b>" => ""]);
  657.                     echo "
  658.                 ";
  659.                     // line 242
  660.                     if (twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse242)) {
  661.                         // line 243
  662.                         echo "                    ";
  663.                         echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse243);
  664.                         echo "
  665.                 ";
  666.                     }
  667.                     // line 245
  668.                     echo "            </li>
  669.             ";
  670.                     // line 246
  671.                     $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'246$this->source); })()) + 1);
  672.                     // line 247
  673.                     echo "            ";
  674.                 }
  675.                 // line 248
  676.                 echo "        ";
  677.             }
  678.             $_parent $context['_parent'];
  679.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  680.             $context array_intersect_key($context$_parent) + $_parent;
  681.             // line 249
  682.             echo "        ";
  683.             if ((!== twig_compare((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'249$this->source); })()), 0))) {
  684.                 echo "</ul>";
  685.             }
  686.             // line 250
  687.             echo "        ";
  688.             if ((!== twig_compare((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'250$this->source); })()), 0))) {
  689.                 echo "</li>";
  690.             }
  691.             // line 251
  692.             echo "    </ul>
  693.     ";
  694.             // line 254
  695.             echo "    <ul class=\"general\">
  696.         ";
  697.             // line 255
  698.             $context["i"] = 0;
  699.             // line 256
  700.             echo "        ";
  701.             $context['_parent'] = $context;
  702.             $context['_seq'] = twig_ensure_traversable((isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'256$this->source); })()));
  703.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  704.                 // line 257
  705.                 echo "            ";
  706.                 if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "pere", [], "any"falsefalsefalse257), "LYC-FORMA"))) {
  707.                     // line 258
  708.                     echo "            ";
  709.                     if ((=== twig_compare((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'258$this->source); })()), 0))) {
  710.                         echo "<li><strong id=\"";
  711.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ItemsInsertion"], "id", [], "any"falsefalsefalse258), "html"nulltrue);
  712.                         echo "\">Bac Général : </strong>";
  713.                     }
  714.                     // line 259
  715.                     echo "            ";
  716.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]), "html"nulltrue);
  717.                     echo " ";
  718.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse259);
  719.                     echo "
  720.             ";
  721.                     // line 260
  722.                     $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'260$this->source); })()) + 1);
  723.                     // line 261
  724.                     echo "            ";
  725.                 }
  726.                 // line 262
  727.                 echo "        ";
  728.             }
  729.             $_parent $context['_parent'];
  730.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  731.             $context array_intersect_key($context$_parent) + $_parent;
  732.             // line 263
  733.             echo "        ";
  734.             if ((!== twig_compare((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'263$this->source); })()), 0))) {
  735.                 echo "</li>";
  736.             }
  737.             // line 264
  738.             echo "    </ul>
  739.     ";
  740.             // line 267
  741.             echo "
  742.     <!-- Afficher des compléments AVANT -->
  743.     ";
  744.             // line 269
  745.             $context['_parent'] = $context;
  746.             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'269$this->source); })()), function ($__ItemsInsertion__) use ($context$macros) { $context["ItemsInsertion"] = $__ItemsInsertion__; return (((=== twig_compare(twig_get_attribute($this->env$this->source,             // line 270
  747. $context["ItemsInsertion"], "niveau", [], "any"falsefalsefalse270), 3)) && twig_in_filter("Texte avant liste des diplômes"twig_get_attribute($this->env$this->source,             // line 271
  748. $context["ItemsInsertion"], "libelle", [], "any"falsefalsefalse271))) && twig_in_filter("LYC-BACTEC"twig_get_attribute($this->env$this->source,             // line 272
  749. $context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse272))); }));
  750.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  751.                 // line 275
  752.                 echo "        <p class=\"texte-complementaire txt-avant-diplomes\">";
  753.                 echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse275);
  754.                 echo "</p>
  755.     ";
  756.             }
  757.             $_parent $context['_parent'];
  758.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  759.             $context array_intersect_key($context$_parent) + $_parent;
  760.             // line 277
  761.             echo "
  762.     <ul class=\"technologique\">
  763.         ";
  764.             // line 279
  765.             $context["i"] = 0;
  766.             // line 280
  767.             echo "        ";
  768.             $context['_parent'] = $context;
  769.             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'280$this->source); })()), function ($__ItemsInsertion__) use ($context$macros) { $context["ItemsInsertion"] = $__ItemsInsertion__; return (!twig_in_filter("Texte avant liste des diplômes"twig_get_attribute($this->env$this->source,             // line 281
  770. $context["ItemsInsertion"], "libelle", [], "any"falsefalsefalse281)) && !twig_in_filter("Texte après liste des diplômes"twig_get_attribute($this->env$this->source,             // line 282
  771. $context["ItemsInsertion"], "libelle", [], "any"falsefalsefalse282))); }));
  772.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  773.                 // line 285
  774.                 echo "            ";
  775.                 if (twig_in_filter("LYC-BACTEC"twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "pere", [], "any"falsefalsefalse285))) {
  776.                     // line 286
  777.                     echo "        ";
  778.                     if ((=== twig_compare((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'286$this->source); })()), 0))) {
  779.                         echo "<li><strong id=\"";
  780.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ItemsInsertion"], "id", [], "any"falsefalsefalse286), "html"nulltrue);
  781.                         echo "\">Bacs Technologiques : </strong> <ul class=\"list-unstyled card-two-columns-old\">";
  782.                     }
  783.                     // line 287
  784.                     echo "            <li class=\"";
  785.                     echo ((((=== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse287), "LYC-BACTEC-TFACU")) || (!== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "pere", [], "any"falsefalsefalse287), "LYC-BACTEC-TFACU")))) ? ("title") : ("sub-title"));
  786.                     echo " li-290\">
  787.                 ";
  788.                     // line 288
  789.                     echo twig_replace_filter($this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]), ["<br />" => """<br/>" => """<b>" => ""]);
  790.                     echo " <em>";
  791.                     echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemOptions($context["ItemsInsertion"]);
  792.                     echo "</em> ";
  793.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse288);
  794.                     echo "
  795.                 ";
  796.                     // line 291
  797.                     echo "                ";
  798.                     // line 296
  799.                     echo "                ";
  800.                     if (((twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "complementTexte", [], "any"falsefalsefalse296) || twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "complementUrlLibelle", [], "any"falsefalsefalse296)) || twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "complementUrl", [], "any"falsefalsefalse296))) {
  801.                         // line 297
  802.                         echo "\t\t\t\t\t\t\t<p class=\"texte-complementaire\">";
  803.                         echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "complementTexte", [], "any"falsefalsefalse297);
  804.                         echo "</p>
  805. \t\t\t\t\t\t\t";
  806.                         // line 298
  807.                         if (twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "complementUrl", [], "any"falsefalsefalse298)) {
  808.                             // line 299
  809.                             echo "\t\t\t\t\t\t\t\t<a class=\"texte-complementaire-url\" href='";
  810.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ItemsInsertion"], "complementUrl", [], "any"falsefalsefalse299), "html"nulltrue);
  811.                             echo "' target=\"_blank\" data-trace-action=\"";
  812.                             echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Trace::TEXTE_COMPLEMENTAIRE"), "html_attr");
  813.                             echo "\" data-trace-etab=\"";
  814.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'299$this->source); })()), "id", [], "any"falsefalsefalse299), "html_attr");
  815.                             echo "\">
  816. \t\t\t\t\t\t\t\t\t";
  817.                             // line 300
  818.                             echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "complementUrlLibelle", [], "any"falsefalsefalse300);
  819.                             echo "
  820. \t\t\t\t\t\t\t\t</a>
  821. \t\t\t\t\t\t\t";
  822.                         }
  823.                         // line 303
  824.                         echo "\t\t\t\t\t\t";
  825.                     }
  826.                     // line 304
  827.                     echo "\t\t\t\t\t\t";
  828.                     // line 305
  829.                     echo "\t\t\t\t\t\t";
  830.                     $context["complementTexte"] = $this->extensions['App\Twig\DonneeComplementaireExtension']->donneeComplementaire((isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'305$this->source); })()), twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse305), "texte");
  831.                     // line 306
  832.                     echo "\t\t\t\t\t\t";
  833.                     // line 309
  834.                     echo "
  835. \t\t\t\t\t\t";
  836.                     // line 310
  837.                     $context["complementUrlLibelle"] = $this->extensions['App\Twig\DonneeComplementaireExtension']->donneeComplementaire((isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'310$this->source); })()), twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse310), "urlLibelle");
  838.                     // line 311
  839.                     echo "\t\t\t\t\t\t";
  840.                     $context["complementUrl"] = $this->extensions['App\Twig\DonneeComplementaireExtension']->donneeComplementaire((isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'311$this->source); })()), twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse311), "url");
  841.                     // line 312
  842.                     echo "\t\t\t\t\t\t";
  843.                     if ((((isset($context["complementTexte"]) || array_key_exists("complementTexte"$context) ? $context["complementTexte"] : (function () { throw new RuntimeError('Variable "complementTexte" does not exist.'312$this->source); })()) || (isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle"$context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.'312$this->source); })())) || (isset($context["complementUrl"]) || array_key_exists("complementUrl"$context) ? $context["complementUrl"] : (function () { throw new RuntimeError('Variable "complementUrl" does not exist.'312$this->source); })()))) {
  844.                         // line 313
  845.                         echo "\t\t\t\t\t\t\t<p class=\"texte-complementaire formation-niv-4\">";
  846.                         echo (isset($context["complementTexte"]) || array_key_exists("complementTexte"$context) ? $context["complementTexte"] : (function () { throw new RuntimeError('Variable "complementTexte" does not exist.'313$this->source); })());
  847.                         echo "</p>
  848. \t\t\t\t\t\t\t";
  849.                         // line 314
  850.                         if ((isset($context["complementUrl"]) || array_key_exists("complementUrl"$context) ? $context["complementUrl"] : (function () { throw new RuntimeError('Variable "complementUrl" does not exist.'314$this->source); })())) {
  851.                             // line 315
  852.                             echo "\t\t\t\t\t\t\t\t";
  853.                             if ((=== twig_compare((isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle"$context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.'315$this->source); })()), ""))) {
  854.                                 // line 316
  855.                                 echo "\t\t\t\t\t\t\t\t\t";
  856.                                 $context["complementUrlLibelle"] = "En savoir plus";
  857.                                 // line 317
  858.                                 echo "\t\t\t\t\t\t\t\t";
  859.                             }
  860.                             // line 318
  861.                             echo "\t\t\t\t\t\t\t\t<a class=\"texte-complementaire-url\" href='";
  862.                             echo twig_escape_filter($this->env, (isset($context["complementUrl"]) || array_key_exists("complementUrl"$context) ? $context["complementUrl"] : (function () { throw new RuntimeError('Variable "complementUrl" does not exist.'318$this->source); })()), "html"nulltrue);
  863.                             echo "' target=\"_blank\" data-trace-action=\"";
  864.                             echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Trace::TEXTE_COMPLEMENTAIRE"), "html_attr");
  865.                             echo "\" data-trace-etab=\"";
  866.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'318$this->source); })()), "id", [], "any"falsefalsefalse318), "html_attr");
  867.                             echo "\">
  868. \t\t\t\t\t\t\t\t\t";
  869.                             // line 319
  870.                             echo (isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle"$context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.'319$this->source); })());
  871.                             echo "
  872. \t\t\t\t\t\t\t\t</a>
  873. \t\t\t\t\t\t\t";
  874.                         }
  875.                         // line 322
  876.                         echo "\t\t\t\t\t\t";
  877.                     }
  878.                     // line 323
  879.                     echo "
  880. \t\t\t\t\t</li>
  881. \t\t\t\t\t";
  882.                     // line 326
  883.                     $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'326$this->source); })()) + 1);
  884.                     // line 327
  885.                     echo "\t\t\t\t";
  886.                 }
  887.                 // line 328
  888.                 echo "\t\t\t";
  889.             }
  890.             $_parent $context['_parent'];
  891.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  892.             $context array_intersect_key($context$_parent) + $_parent;
  893.             // line 329
  894.             echo "\t\t\t";
  895.             if ((!== twig_compare((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'329$this->source); })()), 0))) {
  896.                 // line 330
  897.                 echo "\t\t\t</ul>
  898. \t\t\t";
  899.             }
  900.             // line 332
  901.             echo "\t\t\t";
  902.             if ((!== twig_compare((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'332$this->source); })()), 0))) {
  903.                 // line 333
  904.                 echo "\t\t\t</li>
  905. \t\t\t";
  906.             }
  907.             // line 335
  908.             echo "\t\t</ul>
  909. \t\t<!-- Afficher des compléments -->
  910. \t\t";
  911.             // line 338
  912.             $context['_parent'] = $context;
  913.             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'338$this->source); })()), function ($__ItemsInsertion__) use ($context$macros) { $context["ItemsInsertion"] = $__ItemsInsertion__; return (((=== twig_compare(twig_get_attribute($this->env$this->source,             // line 339
  914. $context["ItemsInsertion"], "niveau", [], "any"falsefalsefalse339), 3)) && twig_in_filter("Texte après liste des diplômes"twig_get_attribute($this->env$this->source,             // line 340
  915. $context["ItemsInsertion"], "libelle", [], "any"falsefalsefalse340))) && twig_in_filter("LYC-BACTEC"twig_get_attribute($this->env$this->source,             // line 341
  916. $context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse341))); }));
  917.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  918.                 // line 344
  919.                 echo "\t\t\t<p class=\"texte-complementaire txt-apres-diplomes\">";
  920.                 echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse344);
  921.                 echo "</p>
  922. \t\t";
  923.             }
  924.             $_parent $context['_parent'];
  925.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  926.             $context array_intersect_key($context$_parent) + $_parent;
  927.             // line 346
  928.             echo "
  929. \t</div>
  930. ";
  931.         }
  932.         // line 349
  933.         echo "
  934. ";
  935.         // line 351
  936.         if ((isset($context["classes"]) || array_key_exists("classes"$context) ? $context["classes"] : (function () { throw new RuntimeError('Variable "classes" does not exist.'351$this->source); })())) {
  937.             // line 352
  938.             echo "\t<div class=\"fiche-module classes\">
  939. \t\t<h2 id=\"classes\">Classes</h2>
  940. \t\t<ul class=\"list-unstyled card-two-columns-old\">
  941. \t\t\t";
  942.             // line 355
  943.             $context['_parent'] = $context;
  944.             $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes"$context) ? $context["classes"] : (function () { throw new RuntimeError('Variable "classes" does not exist.'355$this->source); })()));
  945.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  946.                 // line 356
  947.                 echo "\t\t\t\t<li>
  948. \t\t\t\t\t";
  949.                 // line 357
  950.                 echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  951.                 echo "
  952. \t\t\t\t\t";
  953.                 // line 358
  954.                 echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse358);
  955.                 echo "
  956. \t\t\t\t</li>
  957. \t\t\t";
  958.             }
  959.             $_parent $context['_parent'];
  960.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  961.             $context array_intersect_key($context$_parent) + $_parent;
  962.             // line 361
  963.             echo "\t\t</ul>
  964. \t</div>
  965. ";
  966.         }
  967.         // line 364
  968.         echo "
  969. ";
  970.         // line 365
  971.         if ((isset($context["specificites"]) || array_key_exists("specificites"$context) ? $context["specificites"] : (function () { throw new RuntimeError('Variable "specificites" does not exist.'365$this->source); })())) {
  972.             // line 366
  973.             echo "\t<div class=\"fiche-module specificites\">
  974. \t\t<h2 id=\"specificites\">Spécificités</h2>
  975. \t\t<ul class=\"list-unstyled card-two-columns-old\">
  976. \t\t\t";
  977.             // line 369
  978.             $context['_parent'] = $context;
  979.             $context['_seq'] = twig_ensure_traversable((isset($context["specificites"]) || array_key_exists("specificites"$context) ? $context["specificites"] : (function () { throw new RuntimeError('Variable "specificites" does not exist.'369$this->source); })()));
  980.             $context['loop'] = [
  981.               'parent' => $context['_parent'],
  982.               'index0' => 0,
  983.               'index'  => 1,
  984.               'first'  => true,
  985.             ];
  986.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  987.                 $length count($context['_seq']);
  988.                 $context['loop']['revindex0'] = $length 1;
  989.                 $context['loop']['revindex'] = $length;
  990.                 $context['loop']['length'] = $length;
  991.                 $context['loop']['last'] = === $length;
  992.             }
  993.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  994.                 // line 370
  995.                 echo "\t\t\t\t";
  996.                 if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse370), 1))) {
  997.                     // line 371
  998.                     echo "\t\t\t\t<li>
  999. \t\t\t\t";
  1000.                 }
  1001.                 // line 373
  1002.                 echo "\t\t\t\t";
  1003.                 if (((=== twig_compare(twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse373), 1)) && (=== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "niveau", [], "any"falsefalsefalse373), 3)))) {
  1004.                     // line 374
  1005.                     echo "\t\t\t\t</li>
  1006. \t\t\t\t<li>
  1007. \t\t\t\t";
  1008.                 }
  1009.                 // line 377
  1010.                 echo "\t\t\t\t";
  1011.                 echo $this->env->getFilter('ireplace')->getCallable()($this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]), ["<br />" => """<br/>" => """<br>" => ""]);
  1012.                 echo "
  1013. \t\t\t\t";
  1014.                 // line 378
  1015.                 echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse378);
  1016.                 echo "
  1017. \t\t\t\t";
  1018.                 // line 379
  1019.                 if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "niveau", [], "any"falsefalsefalse379), 4))) {
  1020.                     echo ",
  1021. \t\t\t\t";
  1022.                 }
  1023.                 // line 381
  1024.                 echo "\t\t\t";
  1025.                 ++$context['loop']['index0'];
  1026.                 ++$context['loop']['index'];
  1027.                 $context['loop']['first'] = false;
  1028.                 if (isset($context['loop']['length'])) {
  1029.                     --$context['loop']['revindex0'];
  1030.                     --$context['loop']['revindex'];
  1031.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1032.                 }
  1033.             }
  1034.             $_parent $context['_parent'];
  1035.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1036.             $context array_intersect_key($context$_parent) + $_parent;
  1037.             // line 382
  1038.             echo "\t\t</ul>
  1039. \t\t";
  1040.             // line 384
  1041.             if ((isset($context["moduleSpecificite"]) || array_key_exists("moduleSpecificite"$context) ? $context["moduleSpecificite"] : (function () { throw new RuntimeError('Variable "moduleSpecificite" does not exist.'384$this->source); })())) {
  1042.                 // line 385
  1043.                 echo "\t\t\t";
  1044.                 $context["texteSpecificite"] = $this->extensions['App\Twig\DonneeComplementaireExtension']->donneeComplementaire((isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'385$this->source); })()), "specificite""texte");
  1045.                 // line 386
  1046.                 echo "\t\t\t";
  1047.                 if ((!== twig_compare((isset($context["texteSpecificite"]) || array_key_exists("texteSpecificite"$context) ? $context["texteSpecificite"] : (function () { throw new RuntimeError('Variable "texteSpecificite" does not exist.'386$this->source); })()), ""))) {
  1048.                     // line 387
  1049.                     echo "\t\t\t\t<p class=\"specificite-texte-complementaire\">";
  1050.                     echo (isset($context["texteSpecificite"]) || array_key_exists("texteSpecificite"$context) ? $context["texteSpecificite"] : (function () { throw new RuntimeError('Variable "texteSpecificite" does not exist.'387$this->source); })());
  1051.                     echo "</p>
  1052. \t\t\t";
  1053.                 }
  1054.                 // line 389
  1055.                 echo "\t\t";
  1056.             }
  1057.             // line 390
  1058.             echo "
  1059. </div>
  1060. ";
  1061.         }
  1062.         // line 393
  1063.         if ((isset($context["accueil"]) || array_key_exists("accueil"$context) ? $context["accueil"] : (function () { throw new RuntimeError('Variable "accueil" does not exist.'393$this->source); })())) {
  1064.             // line 394
  1065.             echo "\t<div class=\"fiche-module accueil\">
  1066. \t\t<h2 id=\"accueil\">Accueil / Accès</h2>
  1067. \t\t<ul class=\"list-unstyled card-two-columns-old\">
  1068. \t\t\t";
  1069.             // line 398
  1070.             $context['_parent'] = $context;
  1071.             $context['_seq'] = twig_ensure_traversable((isset($context["accueil"]) || array_key_exists("accueil"$context) ? $context["accueil"] : (function () { throw new RuntimeError('Variable "accueil" does not exist.'398$this->source); })()));
  1072.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  1073.                 // line 399
  1074.                 echo "\t\t\t\t";
  1075.                 if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "niveau", [], "any"falsefalsefalse399), 3))) {
  1076.                     // line 400
  1077.                     echo "\t\t\t\t\t<li>
  1078. \t\t\t\t\t\t";
  1079.                     // line 401
  1080.                     echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  1081.                     echo "
  1082. \t\t\t\t\t\t";
  1083.                     // line 402
  1084.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse402);
  1085.                     echo "
  1086. \t\t\t\t\t\t";
  1087.                     // line 404
  1088.                     $context['_parent'] = $context;
  1089.                     $context['_seq'] = twig_ensure_traversable((isset($context["accueil"]) || array_key_exists("accueil"$context) ? $context["accueil"] : (function () { throw new RuntimeError('Variable "accueil" does not exist.'404$this->source); })()));
  1090.                     foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertionNiv4"]) {
  1091.                         echo 
  1092. \t\t\t\t\t\t\t";
  1093.                         // line 405
  1094.                         if (twig_in_filter(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "identifiant", [], "any"falsefalsefalse405), twig_get_attribute($this->env$this->source$context["ItemsInsertionNiv4"], "pere", [], "any"falsefalsefalse405))) {
  1095.                             // line 406
  1096.                             echo "\t\t\t\t\t\t\t";
  1097.                             echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertionNiv4"]);
  1098.                             echo "
  1099. \t\t\t\t\t\t\t";
  1100.                             // line 407
  1101.                             echo twig_get_attribute($this->env$this->source$context["ItemsInsertionNiv4"], "texte", [], "any"falsefalsefalse407);
  1102.                             echo "
  1103. \t\t\t\t\t\t\t";
  1104.                         }
  1105.                         // line 409
  1106.                         echo "\t\t\t\t\t\t";
  1107.                     }
  1108.                     $_parent $context['_parent'];
  1109.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertionNiv4'], $context['_parent'], $context['loop']);
  1110.                     $context array_intersect_key($context$_parent) + $_parent;
  1111.                     // line 410
  1112.                     echo "
  1113. \t\t\t\t\t</li>
  1114. \t\t\t\t";
  1115.                 }
  1116.                 // line 413
  1117.                 echo "\t\t\t";
  1118.             }
  1119.             $_parent $context['_parent'];
  1120.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1121.             $context array_intersect_key($context$_parent) + $_parent;
  1122.             // line 414
  1123.             echo "\t\t</ul>
  1124. \t\t";
  1125.             // line 416
  1126.             if ((isset($context["moduleSpecificite"]) || array_key_exists("moduleSpecificite"$context) ? $context["moduleSpecificite"] : (function () { throw new RuntimeError('Variable "moduleSpecificite" does not exist.'416$this->source); })())) {
  1127.                 // line 417
  1128.                 echo "\t\t\t";
  1129.                 $context["texteAccueil"] = $this->extensions['App\Twig\DonneeComplementaireExtension']->donneeComplementaire((isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'417$this->source); })()), "accueil""texte");
  1130.                 // line 418
  1131.                 echo "\t\t\t";
  1132.                 if ((!== twig_compare((isset($context["texteAccueil"]) || array_key_exists("texteAccueil"$context) ? $context["texteAccueil"] : (function () { throw new RuntimeError('Variable "texteAccueil" does not exist.'418$this->source); })()), ""))) {
  1133.                     // line 419
  1134.                     echo "\t\t\t\t<p class=\"accueil-texte-complementaire\">";
  1135.                     echo (isset($context["texteAccueil"]) || array_key_exists("texteAccueil"$context) ? $context["texteAccueil"] : (function () { throw new RuntimeError('Variable "texteAccueil" does not exist.'419$this->source); })());
  1136.                     echo "</p>
  1137. \t\t\t";
  1138.                 }
  1139.                 // line 421
  1140.                 echo "\t\t";
  1141.             }
  1142.             // line 422
  1143.             echo "
  1144. \t</div>
  1145. ";
  1146.         }
  1147.         // line 425
  1148.         if ((isset($context["prices"]) || array_key_exists("prices"$context) ? $context["prices"] : (function () { throw new RuntimeError('Variable "prices" does not exist.'425$this->source); })())) {
  1149.             // line 426
  1150.             echo "\t<div class=\"fiche-module prices\">
  1151. \t\t<h2 id=\"prices\">Frais de scolarité</h2>
  1152. \t\t<ul class=\"list-unstyled card-one-columns\">
  1153. \t\t\t";
  1154.             // line 429
  1155.             $context['_parent'] = $context;
  1156.             $context['_seq'] = twig_ensure_traversable((isset($context["prices"]) || array_key_exists("prices"$context) ? $context["prices"] : (function () { throw new RuntimeError('Variable "prices" does not exist.'429$this->source); })()));
  1157.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  1158.                 // line 430
  1159.                 echo "\t\t\t\t<li>
  1160. \t\t\t\t\t";
  1161.                 // line 431
  1162.                 echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  1163.                 echo "
  1164. \t\t\t\t\t";
  1165.                 // line 432
  1166.                 echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "valeur", [], "any"falsefalsefalse432), ["." => ","]), "html"nulltrue);
  1167.                 echo "
  1168. \t\t\t\t\t";
  1169.                 // line 433
  1170.                 echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse433);
  1171.                 echo "
  1172. \t\t\t\t</li>
  1173. \t\t\t";
  1174.             }
  1175.             $_parent $context['_parent'];
  1176.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1177.             $context array_intersect_key($context$_parent) + $_parent;
  1178.             // line 435
  1179.             echo 
  1180. \t\t</ul>
  1181. \t</div>
  1182. ";
  1183.         }
  1184.         // line 439
  1185.         $this->loadTemplate("fiche/_includes/jpos.html.twig""fiche/_includes/insertion.html.twig"439)->display($context);
  1186.         // line 440
  1187.         echo "
  1188. ";
  1189.         // line 441
  1190.         if ((isset($context["complement"]) || array_key_exists("complement"$context) ? $context["complement"] : (function () { throw new RuntimeError('Variable "complement" does not exist.'441$this->source); })())) {
  1191.             // line 442
  1192.             echo "\t";
  1193.             $context['_parent'] = $context;
  1194.             $context['_seq'] = twig_ensure_traversable((isset($context["complement"]) || array_key_exists("complement"$context) ? $context["complement"] : (function () { throw new RuntimeError('Variable "complement" does not exist.'442$this->source); })()));
  1195.             foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  1196.                 // line 443
  1197.                 echo "\t\t<div
  1198. \t\t\tclass=\"fiche-module complement\">
  1199. \t\t\t";
  1200.                 // line 447
  1201.                 echo "\t\t\t";
  1202.                 $context["h2"] = $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  1203.                 // line 448
  1204.                 echo "\t\t\t";
  1205.                 if ((!twig_in_filter("Texte Complémentaire", (isset($context["h2"]) || array_key_exists("h2"$context) ? $context["h2"] : (function () { throw new RuntimeError('Variable "h2" does not exist.'448$this->source); })())) &&  !twig_test_empty((isset($context["h2"]) || array_key_exists("h2"$context) ? $context["h2"] : (function () { throw new RuntimeError('Variable "h2" does not exist.'448$this->source); })())))) {
  1206.                     // line 449
  1207.                     echo "\t\t\t\t<h2>";
  1208.                     echo (isset($context["h2"]) || array_key_exists("h2"$context) ? $context["h2"] : (function () { throw new RuntimeError('Variable "h2" does not exist.'449$this->source); })());
  1209.                     echo "</h2>
  1210. \t\t\t";
  1211.                 }
  1212.                 // line 451
  1213.                 echo "\t\t\t<p>
  1214. \t\t\t\t";
  1215.                 // line 452
  1216.                 echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse452);
  1217.                 echo "
  1218. \t\t\t</p>
  1219. \t\t</div>
  1220. \t";
  1221.             }
  1222.             $_parent $context['_parent'];
  1223.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1224.             $context array_intersect_key($context$_parent) + $_parent;
  1225.         }
  1226.         // line 457
  1227.         echo "
  1228. ";
  1229.         // line 460
  1230.         if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'460$this->source); })()), "internat"))) {
  1231.             // line 461
  1232.             echo "\t";
  1233.             if ((isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'461$this->source); })())) {
  1234.                 // line 462
  1235.                 echo "\t\t<div class=\"fiche-module infos\">
  1236. \t\t\t<h2 id=\"info-pratique\">Informations pratiques</h2>
  1237. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1238. \t\t\t\t";
  1239.                 // line 465
  1240.                 $context['_parent'] = $context;
  1241.                 $context['_seq'] = twig_ensure_traversable((isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'465$this->source); })()));
  1242.                 foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  1243.                     // line 466
  1244.                     echo "\t\t\t\t\t<li>
  1245. \t\t\t\t\t\t";
  1246.                     // line 467
  1247.                     echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  1248.                     echo "
  1249. \t\t\t\t\t\t";
  1250.                     // line 468
  1251.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse468);
  1252.                     echo "
  1253. \t\t\t\t\t</li>
  1254. \t\t\t\t";
  1255.                 }
  1256.                 $_parent $context['_parent'];
  1257.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1258.                 $context array_intersect_key($context$_parent) + $_parent;
  1259.                 // line 471
  1260.                 echo "\t\t\t</ul>
  1261. \t\t</div>
  1262. \t";
  1263.             }
  1264.             // line 474
  1265.             echo "
  1266. \t";
  1267.             // line 475
  1268.             if ((isset($context["hebergement"]) || array_key_exists("hebergement"$context) ? $context["hebergement"] : (function () { throw new RuntimeError('Variable "hebergement" does not exist.'475$this->source); })())) {
  1269.                 // line 476
  1270.                 echo "\t\t<div class=\"fiche-module hebergement\">
  1271. \t\t\t<h2>Hébergement</h2>
  1272. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1273. \t\t\t\t";
  1274.                 // line 479
  1275.                 $context['_parent'] = $context;
  1276.                 $context['_seq'] = twig_ensure_traversable((isset($context["hebergement"]) || array_key_exists("hebergement"$context) ? $context["hebergement"] : (function () { throw new RuntimeError('Variable "hebergement" does not exist.'479$this->source); })()));
  1277.                 foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  1278.                     // line 480
  1279.                     echo "\t\t\t\t\t<li>
  1280. \t\t\t\t\t\t";
  1281.                     // line 481
  1282.                     echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  1283.                     echo "
  1284. \t\t\t\t\t\t";
  1285.                     // line 482
  1286.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse482);
  1287.                     echo "
  1288. \t\t\t\t\t</li>
  1289. \t\t\t\t";
  1290.                 }
  1291.                 $_parent $context['_parent'];
  1292.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1293.                 $context array_intersect_key($context$_parent) + $_parent;
  1294.                 // line 485
  1295.                 echo "\t\t\t</ul>
  1296. \t\t</div>
  1297. \t";
  1298.             }
  1299.             // line 488
  1300.             echo "
  1301. \t";
  1302.             // line 489
  1303.             if ((isset($context["equipement"]) || array_key_exists("equipement"$context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.'489$this->source); })())) {
  1304.                 // line 490
  1305.                 echo "\t\t<div class=\"fiche-module equipements\">
  1306. \t\t\t<h2 id=\"equipement\">Equipements complémentaires</h2>
  1307. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1308. \t\t\t\t";
  1309.                 // line 493
  1310.                 $context['_parent'] = $context;
  1311.                 $context['_seq'] = twig_ensure_traversable((isset($context["equipement"]) || array_key_exists("equipement"$context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.'493$this->source); })()));
  1312.                 foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  1313.                     // line 494
  1314.                     echo "\t\t\t\t\t<li>
  1315. \t\t\t\t\t\t";
  1316.                     // line 495
  1317.                     echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  1318.                     echo "
  1319. \t\t\t\t\t\t";
  1320.                     // line 496
  1321.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse496);
  1322.                     echo "
  1323. \t\t\t\t\t</li>
  1324. \t\t\t\t";
  1325.                 }
  1326.                 $_parent $context['_parent'];
  1327.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1328.                 $context array_intersect_key($context$_parent) + $_parent;
  1329.                 // line 499
  1330.                 echo "\t\t\t</ul>
  1331. \t\t</div>
  1332. \t";
  1333.             }
  1334.             // line 502
  1335.             echo "
  1336. \t";
  1337.             // line 503
  1338.             if ((isset($context["accompagnement"]) || array_key_exists("accompagnement"$context) ? $context["accompagnement"] : (function () { throw new RuntimeError('Variable "accompagnement" does not exist.'503$this->source); })())) {
  1339.                 // line 504
  1340.                 echo "\t\t<div class=\"fiche-module accompagnement\">
  1341. \t\t\t<h2 id=\"accompagnement\">Accompagnement scolaire</h2>
  1342. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1343. \t\t\t\t";
  1344.                 // line 507
  1345.                 $context['_parent'] = $context;
  1346.                 $context['_seq'] = twig_ensure_traversable((isset($context["accompagnement"]) || array_key_exists("accompagnement"$context) ? $context["accompagnement"] : (function () { throw new RuntimeError('Variable "accompagnement" does not exist.'507$this->source); })()));
  1347.                 foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  1348.                     // line 508
  1349.                     echo "\t\t\t\t\t<li>
  1350. \t\t\t\t\t\t";
  1351.                     // line 509
  1352.                     echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  1353.                     echo "
  1354. \t\t\t\t\t\t";
  1355.                     // line 510
  1356.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse510);
  1357.                     echo "
  1358. \t\t\t\t\t</li>
  1359. \t\t\t\t";
  1360.                 }
  1361.                 $_parent $context['_parent'];
  1362.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1363.                 $context array_intersect_key($context$_parent) + $_parent;
  1364.                 // line 513
  1365.                 echo "\t\t\t</ul>
  1366. \t\t</div>
  1367. \t";
  1368.             }
  1369.             // line 516
  1370.             echo "
  1371. \t";
  1372.             // line 517
  1373.             if ((isset($context["activites"]) || array_key_exists("activites"$context) ? $context["activites"] : (function () { throw new RuntimeError('Variable "activites" does not exist.'517$this->source); })())) {
  1374.                 // line 518
  1375.                 echo "\t\t<div class=\"fiche-module activites\">
  1376. \t\t\t<h2 id=\"perisco\">Activité(s) périscolaire(s)</h2>
  1377. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1378. \t\t\t\t";
  1379.                 // line 521
  1380.                 $context['_parent'] = $context;
  1381.                 $context['_seq'] = twig_ensure_traversable((isset($context["activites"]) || array_key_exists("activites"$context) ? $context["activites"] : (function () { throw new RuntimeError('Variable "activites" does not exist.'521$this->source); })()));
  1382.                 foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  1383.                     // line 522
  1384.                     echo "\t\t\t\t\t<li>
  1385. \t\t\t\t\t\t";
  1386.                     // line 523
  1387.                     echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  1388.                     echo "
  1389. \t\t\t\t\t\t";
  1390.                     // line 524
  1391.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse524);
  1392.                     echo "
  1393. \t\t\t\t\t</li>
  1394. \t\t\t\t";
  1395.                 }
  1396.                 $_parent $context['_parent'];
  1397.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1398.                 $context array_intersect_key($context$_parent) + $_parent;
  1399.                 // line 527
  1400.                 echo "\t\t\t</ul>
  1401. \t\t</div>
  1402. \t";
  1403.             }
  1404.             // line 530
  1405.             echo "
  1406. \t";
  1407.             // line 531
  1408.             if ((isset($context["tarifs"]) || array_key_exists("tarifs"$context) ? $context["tarifs"] : (function () { throw new RuntimeError('Variable "tarifs" does not exist.'531$this->source); })())) {
  1409.                 // line 532
  1410.                 echo "\t\t<div class=\"fiche-module tarifs\">
  1411. \t\t\t<h2>Tarifs</h2>
  1412. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1413. \t\t\t\t";
  1414.                 // line 535
  1415.                 $context['_parent'] = $context;
  1416.                 $context['_seq'] = twig_ensure_traversable((isset($context["tarifs"]) || array_key_exists("tarifs"$context) ? $context["tarifs"] : (function () { throw new RuntimeError('Variable "tarifs" does not exist.'535$this->source); })()));
  1417.                 foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
  1418.                     // line 536
  1419.                     echo "\t\t\t\t\t<li>
  1420. \t\t\t\t\t\t";
  1421.                     // line 537
  1422.                     echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
  1423.                     echo "
  1424. \t\t\t\t\t\t";
  1425.                     // line 538
  1426.                     echo twig_get_attribute($this->env$this->source$context["ItemsInsertion"], "texte", [], "any"falsefalsefalse538);
  1427.                     echo "
  1428. \t\t\t\t\t</li>
  1429. \t\t\t\t";
  1430.                 }
  1431.                 $_parent $context['_parent'];
  1432.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
  1433.                 $context array_intersect_key($context$_parent) + $_parent;
  1434.                 // line 541
  1435.                 echo "\t\t\t</ul>
  1436. \t\t</div>
  1437. \t";
  1438.             }
  1439.         }
  1440.         // line 545
  1441.         $this->loadTemplate("fiche/_includes/documents.html.twig""fiche/_includes/insertion.html.twig"545)->display($context);
  1442.         // line 546
  1443.         $this->loadTemplate("fiche/_includes/actualites.html.twig""fiche/_includes/insertion.html.twig"546)->display($context);
  1444.         // line 547
  1445.         echo "
  1446. ";
  1447.         
  1448.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1449.         
  1450.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1451.     }
  1452.     public function getTemplateName()
  1453.     {
  1454.         return "fiche/_includes/insertion.html.twig";
  1455.     }
  1456.     public function isTraitable()
  1457.     {
  1458.         return false;
  1459.     }
  1460.     public function getDebugInfo()
  1461.     {
  1462.         return array (  1473 => 547,  1471 => 546,  1469 => 545,  1463 => 541,  1454 => 538,  1450 => 537,  1447 => 536,  1443 => 535,  1438 => 532,  1436 => 531,  1433 => 530,  1428 => 527,  1419 => 524,  1415 => 523,  1412 => 522,  1408 => 521,  1403 => 518,  1401 => 517,  1398 => 516,  1393 => 513,  1384 => 510,  1380 => 509,  1377 => 508,  1373 => 507,  1368 => 504,  1366 => 503,  1363 => 502,  1358 => 499,  1349 => 496,  1345 => 495,  1342 => 494,  1338 => 493,  1333 => 490,  1331 => 489,  1328 => 488,  1323 => 485,  1314 => 482,  1310 => 481,  1307 => 480,  1303 => 479,  1298 => 476,  1296 => 475,  1293 => 474,  1288 => 471,  1279 => 468,  1275 => 467,  1272 => 466,  1268 => 465,  1263 => 462,  1260 => 461,  1258 => 460,  1254 => 457,  1243 => 452,  1240 => 451,  1234 => 449,  1231 => 448,  1228 => 447,  1223 => 443,  1218 => 442,  1216 => 441,  1213 => 440,  1211 => 439,  1205 => 435,  1196 => 433,  1192 => 432,  1188 => 431,  1185 => 430,  1181 => 429,  1176 => 426,  1174 => 425,  1169 => 422,  1166 => 421,  1160 => 419,  1157 => 418,  1154 => 417,  1152 => 416,  1148 => 414,  1142 => 413,  1137 => 410,  1131 => 409,  1126 => 407,  1121 => 406,  1119 => 405,  1113 => 404,  1108 => 402,  1104 => 401,  1101 => 400,  1098 => 399,  1094 => 398,  1088 => 394,  1086 => 393,  1081 => 390,  1078 => 389,  1072 => 387,  1069 => 386,  1066 => 385,  1064 => 384,  1060 => 382,  1046 => 381,  1041 => 379,  1037 => 378,  1032 => 377,  1027 => 374,  1024 => 373,  1020 => 371,  1017 => 370,  1000 => 369,  995 => 366,  993 => 365,  990 => 364,  985 => 361,  976 => 358,  972 => 357,  969 => 356,  965 => 355,  960 => 352,  958 => 351,  954 => 349,  949 => 346,  940 => 344,  937 => 341,  936 => 340,  935 => 339,  933 => 338,  928 => 335,  924 => 333,  921 => 332,  917 => 330,  914 => 329,  908 => 328,  905 => 327,  903 => 326,  898 => 323,  895 => 322,  889 => 319,  880 => 318,  877 => 317,  874 => 316,  871 => 315,  869 => 314,  864 => 313,  861 => 312,  858 => 311,  856 => 310,  853 => 309,  851 => 306,  848 => 305,  846 => 304,  843 => 303,  837 => 300,  828 => 299,  826 => 298,  821 => 297,  818 => 296,  816 => 291,  807 => 288,  802 => 287,  795 => 286,  792 => 285,  789 => 282,  788 => 281,  785 => 280,  783 => 279,  779 => 277,  770 => 275,  767 => 272,  766 => 271,  765 => 270,  763 => 269,  759 => 267,  755 => 264,  750 => 263,  744 => 262,  741 => 261,  739 => 260,  732 => 259,  725 => 258,  722 => 257,  717 => 256,  715 => 255,  712 => 254,  708 => 251,  703 => 250,  698 => 249,  692 => 248,  689 => 247,  687 => 246,  684 => 245,  678 => 243,  676 => 242,  669 => 241,  662 => 240,  659 => 239,  654 => 238,  652 => 237,  648 => 235,  646 => 234,  632 => 233,  626 => 232,  623 => 231,  618 => 228,  612 => 226,  610 => 223,  609 => 222,  608 => 221,  607 => 220,  602 => 217,  599 => 216,  596 => 215,  592 => 214,  589 => 213,  586 => 212,  582 => 210,  579 => 209,  573 => 206,  564 => 205,  561 => 204,  558 => 203,  555 => 202,  553 => 201,  548 => 200,  545 => 199,  542 => 198,  540 => 197,  537 => 196,  535 => 193,  533 => 192,  529 => 190,  522 => 189,  516 => 188,  512 => 187,  508 => 186,  505 => 185,  503 => 184,  500 => 183,  498 => 180,  497 => 179,  496 => 178,  495 => 177,  494 => 176,  493 => 175,  491 => 174,  485 => 173,  482 => 172,  477 => 169,  471 => 167,  469 => 164,  468 => 163,  467 => 162,  466 => 161,  459 => 158,  456 => 157,  453 => 156,  450 => 155,  447 => 154,  444 => 153,  441 => 152,  438 => 151,  435 => 150,  432 => 149,  429 => 148,  426 => 147,  423 => 146,  420 => 145,  417 => 144,  414 => 143,  411 => 142,  408 => 141,  405 => 140,  402 => 139,  399 => 138,  396 => 137,  394 => 136,  391 => 135,  388 => 134,  385 => 133,  381 => 132,  378 => 131,  376 => 130,  372 => 128,  369 => 127,  366 => 126,  363 => 125,  360 => 124,  357 => 123,  354 => 122,  351 => 121,  348 => 120,  345 => 119,  342 => 118,  339 => 117,  336 => 116,  333 => 115,  331 => 114,  328 => 113,  311 => 112,  308 => 111,  302 => 110,  296 => 108,  293 => 107,  290 => 105,  289 => 104,  287 => 103,  282 => 100,  280 => 99,  275 => 98,  271 => 96,  269 => 95,  264 => 92,  257 => 90,  249 => 85,  246 => 84,  244 => 83,  240 => 81,  234 => 80,  227 => 78,  221 => 76,  218 => 75,  215 => 74,  210 => 73,  208 => 72,  204 => 71,  198 => 70,  195 => 69,  190 => 68,  187 => 67,  185 => 66,  182 => 65,  177 => 61,  175 => 60,  173 => 59,  168 => 56,  165 => 55,  159 => 53,  156 => 52,  153 => 51,  151 => 50,  148 => 49,  139 => 46,  135 => 45,  132 => 44,  129 => 42,  128 => 41,  127 => 40,  126 => 39,  124 => 38,  119 => 35,  117 => 34,  115 => 33,  112 => 32,  106 => 28,  102 => 26,  99 => 25,  96 => 24,  93 => 23,  90 => 21,  87 => 20,  84 => 19,  82 => 18,  79 => 16,  76 => 15,  74 => 13,  73 => 12,  68 => 11,  62 => 9,  60 => 8,  55 => 7,  52 => 6,  50 => 5,  45 => 2,  43 => 1,);
  1463.     }
  1464.     public function getSourceContext()
  1465.     {
  1466.         return new Source("{% if etablissement.texteReferencement.actif == 1 %}
  1467. \t<div class=\"fiche-module en-quelques-mots\">
  1468. \t\t<h2 id=\"en-quelques-mots\">En quelques mots...</h2>
  1469. \t\t\t<div class=\"ml-4\">
  1470. \t\t\t{% set texteReferencement = etablissement.texteReferencement.contenu %}
  1471. \t\t\t{% if texteReferencement is not empty and texteReferencement | striptags | length > 15 %}
  1472. \t\t\t\t{{ texteReferencement | raw }}
  1473. \t\t\t{% elseif textePresentation is not null %}
  1474. \t\t\t\t{{ textePresentation | raw }}
  1475. \t\t\t{% else %}
  1476. \t\t\t\t<!-- TEMPLATE::{{ 'fiche/seo/'~template~'.html.twig' }} -->
  1477. \t\t\t\t{% include 'fiche/seo/'~template~'.html.twig' with {
  1478. \t\t\t\t\t'etablissement': etablissement,
  1479. \t\t\t\t} only %}
  1480. \t\t\t{% endif %}
  1481. \t\t\t
  1482. \t\t\t{# ----- Texte référencement -------------------------------- #}
  1483. \t\t\t{# Ce bloc de code était dans index.html/ligne 301 #}
  1484. \t\t\t{% set texteReferencementActif = etablissement.texteReferencement.actif %}
  1485. \t\t\t{% if texteReferencementActif and etablissement.typeClient in ['établissement', 'internat'] %}
  1486. \t\t\t\t<div class=\"content clearfix\">
  1487. \t\t\t\t\t{# Enrichir la fiche prospect #}
  1488. \t\t\t\t\t{% if not etablissement.isClient %}
  1489. \t\t\t\t\t\t{% include \"fiche/_includes/insertion-non-participant.html.twig\" %}
  1490. \t\t\t\t\t{% endif %}
  1491. \t\t\t\t</div>
  1492. \t\t\t{% endif %}
  1493. \t\t\t</div>
  1494. \t</div>
  1495. {% endif %}
  1496. {% include 'fiche/_includes/videos.html.twig'%}
  1497. {% if presentation %}
  1498. \t<div class=\"fiche-module presentation\">
  1499. \t\t<h2 id=\"presentation\">Présentation</h2>
  1500. \t\t<ul class=\"list-unstyled card-two-columns-old\">
  1501. \t\t\t{% for ItemsInsertion in presentation | filter( ItemsInsertion=> (
  1502.             'COLL-LANG' not in ItemsInsertion.pere and
  1503.             'COLL-SPEC-ANC_MT' not in ItemsInsertion.pere and
  1504.             'COLL-SPEC-REG_MT' not in ItemsInsertion.pere and
  1505.             'LYCPRO-PRESLIBRE_IS' not in ItemsInsertion.pere )
  1506.         ) %}
  1507. \t\t\t\t<li>
  1508. \t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1509. \t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1510. \t\t\t\t</li>
  1511. \t\t\t{% endfor %}
  1512. \t\t</ul>
  1513. \t\t{% if moduleAccueil %}
  1514. \t\t\t{% set textePresentation = donneeComplementaire(dc,'presentation', 'texte') %}
  1515. \t\t\t{% if textePresentation != \"\" %}
  1516. \t\t\t\t<p class=\"presentation-texte-complementaire\">{{textePresentation  | raw}}</p>
  1517. \t\t\t{% endif %}
  1518. \t\t{% endif %}
  1519. \t</div>
  1520. {% endif %}
  1521. {% include 'fiche/_includes/diaporamas.html.twig'%}
  1522. {% if langues %}
  1523. \t<div class=\"fiche-module langues\">
  1524. \t\t<h2 id=\"langues\">Langues</h2>
  1525. \t\t{# Nouvelle version : on reprend les libellés depuis la bdd #}
  1526. \t\t<ul class=\"langues\">
  1527. \t\t\t{% set i = 0 %}
  1528. \t\t\t{% set langues2 = langues %}
  1529. \t\t\t{% for ii in langues | filter( ii => ii.niveau == 3 ) %}
  1530. \t\t\t\t<li>
  1531. \t\t\t\t\t<span class=\"langii {{ii.identifiant}}\">{{ ii | itemLibelle | raw }}
  1532. \t\t\t\t\t\t{{ ii.texte | raw }}</span>
  1533. \t\t\t\t\t{% set i2 = 0 %}
  1534. \t\t\t\t\t{% for ii2 in langues2 %}
  1535. \t\t\t\t\t{% if ii2.niveau == 4 and ii2.pere == ii.identifiant %}
  1536. \t\t\t\t\t\t{% set i2 = i2 + 1 %}
  1537. \t\t\t\t\t\t{% if i2 == 1 %}:
  1538. \t\t\t\t\t\t{% endif %}
  1539. \t\t\t\t\t\t<span class='langii2'>{{ ii2 | itemLibelle | raw }}{{ ii2.texte | raw }}</span>
  1540. \t\t\t\t\t{% endif %}
  1541. \t\t\t\t\t{% endfor %}
  1542. \t\t\t\t</li>
  1543. \t\t\t\t{% if i2 > 0 %}
  1544. \t\t\t\t\t<style>
  1545. \t\t\t\t\t\t.{{ii.identifiant}}{
  1546. \t\t\t\t\t\t\tfont-weight: bold;
  1547. \t\t\t\t\t\t}
  1548. \t\t\t\t\t</style>
  1549. \t\t\t\t{% endif %}
  1550. \t\t\t{% endfor %}
  1551. \t\t</ul>
  1552. \t</div>
  1553. {% endif %}
  1554. {% if etablissement.video %}
  1555. <div class=\"fiche-module video\">
  1556. \t<h2 id=\"video\">Vidéo de présentation</h2>
  1557. \t<iframe src=\"{{etablissement.video}}?rel=0\" height=\"280\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
  1558. </div>{% endif %}{% if formations %}
  1559. <div class=\"fiche-module formations\">
  1560. \t<h2 id=\"bloc-formations\">Formations</h2>
  1561. \t{% for ItemsInsertion in formations | filter ( ItemsInsertion => (
  1562. \t\t\t 'Autre, précisez' in ItemsInsertion.libelle 
  1563. \t\t\tand '-FORMA-TXTS' in ItemsInsertion.identifiant )
  1564. \t\t) %}
  1565. \t\t{% if ItemsInsertion.texte is not empty %}
  1566. \t\t\t{{ ItemsInsertion.texte | raw }}
  1567. \t\t{% endif %}
  1568. \t{% endfor %}
  1569. \t{% for ItemsInsertion in formations %}
  1570. \t\t{% if loop.first %}
  1571. \t\t\t{% set previous_formation = ItemsInsertion %}
  1572. \t\t{% else %}
  1573. \t\t\t{% set previous_formation = formations[loop.index0 - 1] %}
  1574. \t\t{% endif %}
  1575. \t\t{% if loop.last %}
  1576. \t\t\t{% set next_formation = ItemsInsertion %}
  1577. \t\t{% else %}
  1578. \t\t\t{% set next_formation = formations[loop.index0 + 1] %}
  1579. \t\t{% endif %}
  1580. \t\t{%if loop.length == 1 %}
  1581. \t\t\t{% set previous_formation = ItemsInsertion %}
  1582. \t\t\t{% set next_formation = ItemsInsertion %}
  1583. \t\t{% endif %}
  1584. \t\t{% set niveauxFormation = [\"-CAP-\", \"-BACP-\", \"-BAC2-\", \"-PREPA-\", \"-BAC3-\", \"-BAC45-\", \"-ING-\", \"-FPC-\", \"-BACTECH-\", \"-DIPCOMP-\"] %}
  1585. \t\t{% for niveauFormation in niveauxFormation %}
  1586. \t\t\t{% if niveauFormation in ItemsInsertion.identifiant %}
  1587. \t\t\t\t{% if previous_formation == ItemsInsertion  or niveauFormation not in previous_formation.identifiant  %}
  1588. \t\t\t\t\t<div class=\"niveau-formation\">
  1589. \t\t\t\t\t\t{% set title = ''%}
  1590. \t\t\t\t\t\t{% if niveauFormation == '-CAP-'%}
  1591. \t\t\t\t\t\t\t{% set title = 'Niveau CAP' %}
  1592. \t\t\t\t\t\t{% elseif niveauFormation == '-BACP-'%}
  1593. \t\t\t\t\t\t\t{% set title = 'Niveau BAC Pro' %}
  1594. \t\t\t\t\t\t{% elseif niveauFormation == '-BAC2-'%}
  1595. \t\t\t\t\t\t\t{% set title = 'Niveau Bac+2' %}
  1596. \t\t\t\t\t\t{% elseif niveauFormation == '-PREPA-'%}
  1597. \t\t\t\t\t\t\t{% set title = 'Classes Prépas' %}
  1598. \t\t\t\t\t\t{% elseif niveauFormation == '-BAC3-'%}
  1599. \t\t\t\t\t\t\t{% set title = 'Niveau Bac+3' %}
  1600. \t\t\t\t\t\t{% elseif niveauFormation == '-BAC45-'%}
  1601. \t\t\t\t\t\t\t{% set title = 'Niveau Bac+4/5' %}
  1602. \t\t\t\t\t\t{% elseif niveauFormation == '-ING-'%}
  1603. \t\t\t\t\t\t\t{% set title = 'Diplômes d\\'ingénieurs' %}
  1604. \t\t\t\t\t\t{% elseif niveauFormation == '-FPC-'%}
  1605. \t\t\t\t\t\t\t{% set title = 'Formation Professionnelle Continue' %}
  1606. \t\t\t\t\t\t{% elseif niveauFormation == '-BACTECH-'%}
  1607. \t\t\t\t\t\t\t{% set title = 'Bac Techno (Agricole)' %}
  1608. \t\t\t\t\t\t{% elseif niveauFormation == '-DIPCOMP-'%}
  1609. \t\t\t\t\t\t\t{% set title = 'Diplômes complémentaires' %}
  1610. \t\t\t\t\t\t{% endif %}
  1611.           <h3>{{title}}</h3>
  1612.           <!-- Afficher des compléments AVANT -->
  1613.          {% if (
  1614.                 ItemsInsertion.niveau == 3 and
  1615.                 'Texte avant liste des diplômes' in ItemsInsertion.libelle and
  1616.                 'LYC-BACTEC' not in ItemsInsertion.identifiant
  1617.             )
  1618.         %}
  1619.             <p class=\"texte-complementaire txt-avant-diplomes\">{{ ItemsInsertion.texte | raw }}</p>
  1620.         {% endif %}
  1621.         <ul class=\"list-unstyled card-two-columns-old l-174\">
  1622.     {% endif %}
  1623.     {% endif %}
  1624.   {% endfor %}
  1625.         {% if
  1626.                 '-LANG' not in ItemsInsertion.pere and
  1627.                 '-ANC_MT' not in ItemsInsertion.pere and
  1628.                 '-FORMA2021-' not in ItemsInsertion.pere and
  1629.                 '-SPEC-REG_MT' not in ItemsInsertion.pere and
  1630.                 '-LANG-REG_MT' not in ItemsInsertion.pere and
  1631.                 'LYC-BACTEC-' not in ItemsInsertion.identifiant
  1632.         %}
  1633.             {% if ItemsInsertion.niveau == 4 %}
  1634.                 <li class=\"l-188\">
  1635.                     <strong id=\"{{ ItemsInsertion.id }}\">
  1636.                         {{ ItemsInsertion | itemLibelle | raw }}
  1637.                         {% if ItemsInsertion.options is not empty %} - {{ ItemsInsertion | itemOptions }} {% endif %}
  1638.                         {% if ItemsInsertion.texte is not empty %} {{ ItemsInsertion.texte | raw }} {% endif %}
  1639.                     </strong>
  1640.                     {% set complementTexte = donneeComplementaire(dc, ItemsInsertion.identifiant, 'texte') %}
  1641.                     {# {% if complementTexte %}
  1642.                         <p class=\"texte\">{{ complementTexte | raw }}</p>
  1643.                     {% endif %} #}
  1644.                     {% set complementUrlLibelle = donneeComplementaire(dc, ItemsInsertion.identifiant, 'urlLibelle') %}
  1645.                     {% set complementUrl = donneeComplementaire(dc, ItemsInsertion.identifiant, 'url') %}
  1646.                     {% if complementTexte or complementUrlLibelle or complementUrl %}
  1647.                         <p class=\"texte-complementaire formation-niv-4\">{{ complementTexte | raw }}</p>
  1648.                         {% if complementUrl %}
  1649.                             {% if complementUrlLibelle == \"\" %}
  1650.                                 {% set complementUrlLibelle = \"En savoir plus\" %}
  1651.                             {% endif %}
  1652.                             <a class=\"texte-complementaire-url\" href='{{ complementUrl }}' target=\"_blank\" data-trace-action=\"{{ constant('App\\\\Entity\\\\Trace::TEXTE_COMPLEMENTAIRE') | e('html_attr') }}\" data-trace-etab=\"{{ etablissement.id | e('html_attr') }}\">
  1653.                                 {{ complementUrlLibelle | raw }}
  1654.                             </a>
  1655.                         {% endif %}
  1656.                     {% endif %}
  1657.                 </li>
  1658.             {% endif %}
  1659.           {% endif %}
  1660. {% for niveauFormation in niveauxFormation %}
  1661.   {% if niveauFormation in ItemsInsertion.identifiant  %}
  1662.   {% if next_formation == ItemsInsertion  or niveauFormation not in next_formation.identifiant  %}
  1663.     </ul>
  1664.     <!-- Afficher des compléments -->
  1665.     {%  if (
  1666.             ItemsInsertion.niveau == 3 and
  1667.             'Texte après liste des diplômes' in ItemsInsertion.libelle and
  1668.             'LYC-BACTEC' not in ItemsInsertion.identifiant
  1669.         )
  1670.     %}
  1671.         <p class=\"texte-complementaire txt-apres-diplomes\">{{ ItemsInsertion.texte | raw }}</p>
  1672.     {% endif %}
  1673.     </div>
  1674.     {% endif %}
  1675.     {% endif %}
  1676.     {% endfor %}
  1677.     {% endfor %}
  1678.     {# ------ Bloc \"Bac 2021\" ------------------------------- #}
  1679.     <ul class=\"bloc_2021\">
  1680.         {% set i = 0 %}
  1681.         {% for ItemsInsertion in formations %}
  1682.             {% if ItemsInsertion.pere == 'LYC-FORMA2021' or ItemsInsertion.pere == 'LYC-FORMA2021-SPEC' or ItemsInsertion.pere == 'LYC-FORMA2021-GFACU' %}
  1683.         {% if i == 0 %}<li><strong id=\"{{ ItemsInsertion.id }}\">Bac Général : </strong> <ul class=\"list-unstyled card-two-columns-old\">{%endif%}
  1684.             <li class=\"{{ ItemsInsertion.identifiant in ['LYC-FORMA2021-SPEC', 'LYC-FORMA2021-GFACU'] ? 'title' : 'sub-title'}}\">{{ ItemsInsertion | itemLibelle | replace({'<br />': '', '<br/>': '', '<b>': ''}) | raw }}
  1685.                 {% if ItemsInsertion.texte %}
  1686.                     {{ ItemsInsertion.texte | raw }}
  1687.                 {% endif %}
  1688.             </li>
  1689.             {% set i = i +1 %}
  1690.             {% endif %}
  1691.         {% endfor %}
  1692.         {% if i != 0 %}</ul>{%endif%}
  1693.         {% if i != 0 %}</li>{%endif%}
  1694.     </ul>
  1695.     {# ------ Bloc \"Bac Général\" ------------------------------- #}
  1696.     <ul class=\"general\">
  1697.         {% set i = 0 %}
  1698.         {% for ItemsInsertion in formations %}
  1699.             {% if ItemsInsertion.pere == 'LYC-FORMA' %}
  1700.             {% if i == 0 %}<li><strong id=\"{{ ItemsInsertion.id }}\">Bac Général : </strong>{%endif%}
  1701.             {{ ItemsInsertion | itemLibelle }} {{ ItemsInsertion.texte | raw }}
  1702.             {% set i = i +1 %}
  1703.             {% endif %}
  1704.         {% endfor %}
  1705.         {% if i != 0 %}</li>{%endif%}
  1706.     </ul>
  1707.     {# ------ Bloc \"Bacs Technologiquesl\" ------------------------------- #}
  1708.     <!-- Afficher des compléments AVANT -->
  1709.     {% for ItemsInsertion in formations | filter ( ItemsInsertion =>
  1710.             ItemsInsertion.niveau == 3 and
  1711.             'Texte avant liste des diplômes' in ItemsInsertion.libelle and
  1712.             'LYC-BACTEC' in ItemsInsertion.identifiant
  1713.         )
  1714.     %}
  1715.         <p class=\"texte-complementaire txt-avant-diplomes\">{{ ItemsInsertion.texte | raw }}</p>
  1716.     {% endfor %}
  1717.     <ul class=\"technologique\">
  1718.         {% set i = 0 %}
  1719.         {% for ItemsInsertion in formations | filter ( ItemsInsertion =>
  1720.             'Texte avant liste des diplômes' not in ItemsInsertion.libelle  and
  1721.             'Texte après liste des diplômes' not in ItemsInsertion.libelle
  1722. \t\t\t)
  1723.         %}
  1724.             {% if 'LYC-BACTEC' in ItemsInsertion.pere %}
  1725.         {% if i == 0 %}<li><strong id=\"{{ ItemsInsertion.id }}\">Bacs Technologiques : </strong> <ul class=\"list-unstyled card-two-columns-old\">{%endif%}
  1726.             <li class=\"{{ ItemsInsertion.identifiant == 'LYC-BACTEC-TFACU' or  ItemsInsertion.pere != 'LYC-BACTEC-TFACU'  ? 'title' : 'sub-title'}} li-290\">
  1727.                 {{ ItemsInsertion | itemLibelle | replace({'<br />': '', '<br/>': '', '<b>': ''}) | raw}} <em>{{ ItemsInsertion | itemOptions | raw }}</em> {{ ItemsInsertion.texte | raw }}
  1728.                 {# Textes complémentaires des formations #}
  1729.                 {# Visiblement ce bloc ne sert à rien, la v2 ci-dessous devrait le remplacer 
  1730.                 SELECT * FROM aep.items_insertion where complement_texte is not  null order by complement_updated_at desc;
  1731.                 ceci montre que les données complémentaires dans items_insertion n'ont pas été modifiée depuis 11/2019,
  1732.                 visiblement remplacées par la table donne_complementaire
  1733.                 #}
  1734.                 {% if ItemsInsertion.complementTexte or ItemsInsertion.complementUrlLibelle or ItemsInsertion.complementUrl %}
  1735. \t\t\t\t\t\t\t<p class=\"texte-complementaire\">{{ ItemsInsertion.complementTexte | raw }}</p>
  1736. \t\t\t\t\t\t\t{% if ItemsInsertion.complementUrl %}
  1737. \t\t\t\t\t\t\t\t<a class=\"texte-complementaire-url\" href='{{ ItemsInsertion.complementUrl }}' target=\"_blank\" data-trace-action=\"{{ constant('App\\\\Entity\\\\Trace::TEXTE_COMPLEMENTAIRE') | e('html_attr') }}\" data-trace-etab=\"{{ etablissement.id | e('html_attr') }}\">
  1738. \t\t\t\t\t\t\t\t\t{{ ItemsInsertion.complementUrlLibelle | raw }}
  1739. \t\t\t\t\t\t\t\t</a>
  1740. \t\t\t\t\t\t\t{% endif %}
  1741. \t\t\t\t\t\t{% endif %}
  1742. \t\t\t\t\t\t{# Textes complémentaires -v2 #}
  1743. \t\t\t\t\t\t{% set complementTexte = donneeComplementaire(dc, ItemsInsertion.identifiant, 'texte') %}
  1744. \t\t\t\t\t\t{# {% if complementTexte %}
  1745. \t\t\t\t\t\t\t\t\t\t\t\t                        <p class=\"texte\">{{ complementTexte | raw }}</p>
  1746. \t\t\t\t\t\t\t\t\t\t\t\t                    {% endif %} #}
  1747. \t\t\t\t\t\t{% set complementUrlLibelle = donneeComplementaire(dc, ItemsInsertion.identifiant, 'urlLibelle') %}
  1748. \t\t\t\t\t\t{% set complementUrl = donneeComplementaire(dc, ItemsInsertion.identifiant, 'url') %}
  1749. \t\t\t\t\t\t{% if complementTexte or complementUrlLibelle or complementUrl %}
  1750. \t\t\t\t\t\t\t<p class=\"texte-complementaire formation-niv-4\">{{ complementTexte | raw }}</p>
  1751. \t\t\t\t\t\t\t{% if complementUrl %}
  1752. \t\t\t\t\t\t\t\t{% if complementUrlLibelle == \"\" %}
  1753. \t\t\t\t\t\t\t\t\t{% set complementUrlLibelle = \"En savoir plus\" %}
  1754. \t\t\t\t\t\t\t\t{% endif %}
  1755. \t\t\t\t\t\t\t\t<a class=\"texte-complementaire-url\" href='{{ complementUrl }}' target=\"_blank\" data-trace-action=\"{{ constant('App\\\\Entity\\\\Trace::TEXTE_COMPLEMENTAIRE') | e('html_attr') }}\" data-trace-etab=\"{{ etablissement.id | e('html_attr') }}\">
  1756. \t\t\t\t\t\t\t\t\t{{ complementUrlLibelle | raw }}
  1757. \t\t\t\t\t\t\t\t</a>
  1758. \t\t\t\t\t\t\t{% endif %}
  1759. \t\t\t\t\t\t{% endif %}
  1760. \t\t\t\t\t</li>
  1761. \t\t\t\t\t{% set i = i +1 %}
  1762. \t\t\t\t{% endif %}
  1763. \t\t\t{% endfor %}
  1764. \t\t\t{% if i != 0 %}
  1765. \t\t\t</ul>
  1766. \t\t\t{%endif%}
  1767. \t\t\t{% if i != 0 %}
  1768. \t\t\t</li>
  1769. \t\t\t{%endif%}
  1770. \t\t</ul>
  1771. \t\t<!-- Afficher des compléments -->
  1772. \t\t{% for ItemsInsertion in formations | filter ( ItemsInsertion => (
  1773.             ItemsInsertion.niveau == 3 and
  1774.             'Texte après liste des diplômes' in ItemsInsertion.libelle and
  1775.             'LYC-BACTEC' in ItemsInsertion.identifiant )
  1776.         )
  1777.     %}
  1778. \t\t\t<p class=\"texte-complementaire txt-apres-diplomes\">{{ ItemsInsertion.texte | raw }}</p>
  1779. \t\t{% endfor %}
  1780. \t</div>
  1781. {% endif %}
  1782. {% if classes %}
  1783. \t<div class=\"fiche-module classes\">
  1784. \t\t<h2 id=\"classes\">Classes</h2>
  1785. \t\t<ul class=\"list-unstyled card-two-columns-old\">
  1786. \t\t\t{% for ItemsInsertion in classes %}
  1787. \t\t\t\t<li>
  1788. \t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1789. \t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1790. \t\t\t\t</li>
  1791. \t\t\t{% endfor %}
  1792. \t\t</ul>
  1793. \t</div>
  1794. {% endif %}
  1795. {% if specificites %}
  1796. \t<div class=\"fiche-module specificites\">
  1797. \t\t<h2 id=\"specificites\">Spécificités</h2>
  1798. \t\t<ul class=\"list-unstyled card-two-columns-old\">
  1799. \t\t\t{% for ItemsInsertion in specificites %}
  1800. \t\t\t\t{% if loop.index == 1 %}
  1801. \t\t\t\t<li>
  1802. \t\t\t\t{% endif %}
  1803. \t\t\t\t{% if loop.index > 1 and ItemsInsertion.niveau==3 %}
  1804. \t\t\t\t</li>
  1805. \t\t\t\t<li>
  1806. \t\t\t\t{% endif %}
  1807. \t\t\t\t{{ ItemsInsertion | itemLibelle | ireplace({'<br />': '', '<br/>': '', '<br>': ''}) | raw }}
  1808. \t\t\t\t{{ ItemsInsertion.texte | raw }}
  1809. \t\t\t\t{% if ItemsInsertion.niveau==4 %},
  1810. \t\t\t\t{% endif %}
  1811. \t\t\t{% endfor %}
  1812. \t\t</ul>
  1813. \t\t{% if moduleSpecificite %}
  1814. \t\t\t{% set texteSpecificite = donneeComplementaire(dc,'specificite', 'texte') %}
  1815. \t\t\t{% if texteSpecificite != \"\" %}
  1816. \t\t\t\t<p class=\"specificite-texte-complementaire\">{{texteSpecificite  | raw}}</p>
  1817. \t\t\t{% endif %}
  1818. \t\t{% endif %}
  1819. </div>
  1820. {% endif %}
  1821. {% if accueil %}
  1822. \t<div class=\"fiche-module accueil\">
  1823. \t\t<h2 id=\"accueil\">Accueil / Accès</h2>
  1824. \t\t<ul class=\"list-unstyled card-two-columns-old\">
  1825. \t\t\t{% for ItemsInsertion in accueil %}
  1826. \t\t\t\t{% if ItemsInsertion.niveau ==3 %}
  1827. \t\t\t\t\t<li>
  1828. \t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1829. \t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1830. \t\t\t\t\t\t{% for ItemsInsertionNiv4 in accueil %} 
  1831. \t\t\t\t\t\t\t{% if ItemsInsertion.identifiant in ItemsInsertionNiv4.pere %}
  1832. \t\t\t\t\t\t\t{{ ItemsInsertionNiv4 | itemLibelle | raw }}
  1833. \t\t\t\t\t\t\t{{ ItemsInsertionNiv4.texte | raw }}
  1834. \t\t\t\t\t\t\t{% endif %}
  1835. \t\t\t\t\t\t{% endfor %}
  1836. \t\t\t\t\t</li>
  1837. \t\t\t\t{% endif %}
  1838. \t\t\t{% endfor %}
  1839. \t\t</ul>
  1840. \t\t{% if moduleSpecificite %}
  1841. \t\t\t{% set texteAccueil = donneeComplementaire(dc,'accueil', 'texte') %}
  1842. \t\t\t{% if texteAccueil != \"\" %}
  1843. \t\t\t\t<p class=\"accueil-texte-complementaire\">{{texteAccueil  | raw}}</p>
  1844. \t\t\t{% endif %}
  1845. \t\t{% endif %}
  1846. \t</div>
  1847. {% endif %}
  1848. {% if prices %}
  1849. \t<div class=\"fiche-module prices\">
  1850. \t\t<h2 id=\"prices\">Frais de scolarité</h2>
  1851. \t\t<ul class=\"list-unstyled card-one-columns\">
  1852. \t\t\t{% for ItemsInsertion in prices %}
  1853. \t\t\t\t<li>
  1854. \t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1855. \t\t\t\t\t{{ ItemsInsertion.valeur | replace({'.': ','}) }}
  1856. \t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1857. \t\t\t\t</li>
  1858. \t\t\t{% endfor %} 
  1859. \t\t</ul>
  1860. \t</div>
  1861. {% endif %}
  1862. {% include 'fiche/_includes/jpos.html.twig'%}
  1863. {% if complement %}
  1864. \t{% for ItemsInsertion in complement %}
  1865. \t\t<div
  1866. \t\t\tclass=\"fiche-module complement\">
  1867. \t\t\t{# Ne pas affiche le titre s'il s'agit d'un texte Complémentaire #}
  1868. \t\t\t{% set h2 = ItemsInsertion | itemLibelle %}
  1869. \t\t\t{% if \"Texte Complémentaire\" not in h2 and h2 is not empty %}
  1870. \t\t\t\t<h2>{{ h2 | raw }}</h2>
  1871. \t\t\t{% endif %}
  1872. \t\t\t<p>
  1873. \t\t\t\t{{ ItemsInsertion.texte | raw }}
  1874. \t\t\t</p>
  1875. \t\t</div>
  1876. \t{% endfor %}
  1877. {% endif %}
  1878. {# ------ INTERNAT -------------------------------------- #}
  1879. {% if type == 'internat' %}
  1880. \t{% if  infos %}
  1881. \t\t<div class=\"fiche-module infos\">
  1882. \t\t\t<h2 id=\"info-pratique\">Informations pratiques</h2>
  1883. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1884. \t\t\t\t{% for ItemsInsertion in infos %}
  1885. \t\t\t\t\t<li>
  1886. \t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1887. \t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1888. \t\t\t\t\t</li>
  1889. \t\t\t\t{% endfor %}
  1890. \t\t\t</ul>
  1891. \t\t</div>
  1892. \t{% endif %}
  1893. \t{% if hebergement %}
  1894. \t\t<div class=\"fiche-module hebergement\">
  1895. \t\t\t<h2>Hébergement</h2>
  1896. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1897. \t\t\t\t{% for ItemsInsertion in hebergement %}
  1898. \t\t\t\t\t<li>
  1899. \t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1900. \t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1901. \t\t\t\t\t</li>
  1902. \t\t\t\t{% endfor %}
  1903. \t\t\t</ul>
  1904. \t\t</div>
  1905. \t{% endif %}
  1906. \t{% if equipement %}
  1907. \t\t<div class=\"fiche-module equipements\">
  1908. \t\t\t<h2 id=\"equipement\">Equipements complémentaires</h2>
  1909. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1910. \t\t\t\t{% for ItemsInsertion in equipement %}
  1911. \t\t\t\t\t<li>
  1912. \t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1913. \t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1914. \t\t\t\t\t</li>
  1915. \t\t\t\t{% endfor %}
  1916. \t\t\t</ul>
  1917. \t\t</div>
  1918. \t{% endif %}
  1919. \t{% if accompagnement %}
  1920. \t\t<div class=\"fiche-module accompagnement\">
  1921. \t\t\t<h2 id=\"accompagnement\">Accompagnement scolaire</h2>
  1922. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1923. \t\t\t\t{% for ItemsInsertion in accompagnement %}
  1924. \t\t\t\t\t<li>
  1925. \t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1926. \t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1927. \t\t\t\t\t</li>
  1928. \t\t\t\t{% endfor %}
  1929. \t\t\t</ul>
  1930. \t\t</div>
  1931. \t{% endif %}
  1932. \t{% if activites %}
  1933. \t\t<div class=\"fiche-module activites\">
  1934. \t\t\t<h2 id=\"perisco\">Activité(s) périscolaire(s)</h2>
  1935. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1936. \t\t\t\t{% for ItemsInsertion in activites %}
  1937. \t\t\t\t\t<li>
  1938. \t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1939. \t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1940. \t\t\t\t\t</li>
  1941. \t\t\t\t{% endfor %}
  1942. \t\t\t</ul>
  1943. \t\t</div>
  1944. \t{% endif %}
  1945. \t{% if tarifs %}
  1946. \t\t<div class=\"fiche-module tarifs\">
  1947. \t\t\t<h2>Tarifs</h2>
  1948. \t\t\t<ul class=\"list-unstyled card-two-columns-old\">
  1949. \t\t\t\t{% for ItemsInsertion in tarifs %}
  1950. \t\t\t\t\t<li>
  1951. \t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
  1952. \t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
  1953. \t\t\t\t\t</li>
  1954. \t\t\t\t{% endfor %}
  1955. \t\t\t</ul>
  1956. \t\t</div>
  1957. \t{% endif %}
  1958. {% endif %}
  1959. {% include 'fiche/_includes/documents.html.twig'%}
  1960. {% include 'fiche/_includes/actualites.html.twig'%}
  1961. ""fiche/_includes/insertion.html.twig""/app/templates/fiche/_includes/insertion.html.twig");
  1962.     }
  1963. }