<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* fiche/_includes/insertion.html.twig */
class __TwigTemplate_4e6cd4d8322d7241036063e4fb2cb5183a8f09f3e04cef850ee1aefe8d1649c2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "fiche/_includes/insertion.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "fiche/_includes/insertion.html.twig"));
// line 1
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, 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.', 1, $this->source); })()), "texteReferencement", [], "any", false, false, false, 1), "actif", [], "any", false, false, false, 1), 1))) {
// line 2
echo "\t<div class=\"fiche-module en-quelques-mots\">
\t\t<h2 id=\"en-quelques-mots\">En quelques mots...</h2>
\t\t\t<div class=\"ml-4\">
\t\t\t";
// line 5
$context["texteReferencement"] = twig_get_attribute($this->env, $this->source, 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.', 5, $this->source); })()), "texteReferencement", [], "any", false, false, false, 5), "contenu", [], "any", false, false, false, 5);
// line 6
echo "\t\t\t";
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); })())) && (1 === twig_compare(twig_length_filter($this->env, twig_striptags((isset($context["texteReferencement"]) || array_key_exists("texteReferencement", $context) ? $context["texteReferencement"] : (function () { throw new RuntimeError('Variable "texteReferencement" does not exist.', 6, $this->source); })()))), 15)))) {
// line 7
echo "\t\t\t\t";
echo (isset($context["texteReferencement"]) || array_key_exists("texteReferencement", $context) ? $context["texteReferencement"] : (function () { throw new RuntimeError('Variable "texteReferencement" does not exist.', 7, $this->source); })());
echo "
\t\t\t";
} elseif ( !(null === // line 8
(isset($context["textePresentation"]) || array_key_exists("textePresentation", $context) ? $context["textePresentation"] : (function () { throw new RuntimeError('Variable "textePresentation" does not exist.', 8, $this->source); })()))) {
// line 9
echo "\t\t\t\t";
echo (isset($context["textePresentation"]) || array_key_exists("textePresentation", $context) ? $context["textePresentation"] : (function () { throw new RuntimeError('Variable "textePresentation" does not exist.', 9, $this->source); })());
echo "
\t\t\t";
} else {
// line 11
echo "\t\t\t\t<!-- TEMPLATE::";
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", null, true);
echo " -->
\t\t\t\t";
// line 12
$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
(isset($context["etablissement"]) || array_key_exists("etablissement", $context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.', 13, $this->source); })())]));
// line 15
echo "\t\t\t";
}
// line 16
echo "\t\t\t
\t\t\t";
// line 18
echo "\t\t\t";
// line 19
echo "\t\t\t";
$context["texteReferencementActif"] = twig_get_attribute($this->env, $this->source, 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.', 19, $this->source); })()), "texteReferencement", [], "any", false, false, false, 19), "actif", [], "any", false, false, false, 19);
// line 20
echo "\t\t\t";
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", false, false, false, 20), [0 => "établissement", 1 => "internat"]))) {
// line 21
echo "\t\t\t\t<div class=\"content clearfix\">
\t\t\t\t\t";
// line 23
echo "\t\t\t\t\t";
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", false, false, false, 23)) {
// line 24
echo "\t\t\t\t\t\t";
$this->loadTemplate("fiche/_includes/insertion-non-participant.html.twig", "fiche/_includes/insertion.html.twig", 24)->display($context);
// line 25
echo "\t\t\t\t\t";
}
// line 26
echo "\t\t\t\t</div>
\t\t\t";
}
// line 28
echo "
\t\t\t</div>
\t</div>
";
}
// line 32
echo "
";
// line 33
$this->loadTemplate("fiche/_includes/videos.html.twig", "fiche/_includes/insertion.html.twig", 33)->display($context);
// line 34
if ((isset($context["presentation"]) || array_key_exists("presentation", $context) ? $context["presentation"] : (function () { throw new RuntimeError('Variable "presentation" does not exist.', 34, $this->source); })())) {
// line 35
echo "\t<div class=\"fiche-module presentation\">
\t\t<h2 id=\"presentation\">Présentation</h2>
\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t";
// line 38
$context['_parent'] = $context;
$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
$context["ItemsInsertion"], "pere", [], "any", false, false, false, 39)) && !twig_in_filter("COLL-SPEC-ANC_MT", twig_get_attribute($this->env, $this->source, // line 40
$context["ItemsInsertion"], "pere", [], "any", false, false, false, 40))) && !twig_in_filter("COLL-SPEC-REG_MT", twig_get_attribute($this->env, $this->source, // line 41
$context["ItemsInsertion"], "pere", [], "any", false, false, false, 41))) && !twig_in_filter("LYCPRO-PRESLIBRE_IS", twig_get_attribute($this->env, $this->source, // line 42
$context["ItemsInsertion"], "pere", [], "any", false, false, false, 42))); }));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 44
echo "\t\t\t\t<li>
\t\t\t\t\t";
// line 45
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t";
// line 46
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 46);
echo "
\t\t\t\t</li>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 49
echo "\t\t</ul>
\t\t";
// line 50
if ((isset($context["moduleAccueil"]) || array_key_exists("moduleAccueil", $context) ? $context["moduleAccueil"] : (function () { throw new RuntimeError('Variable "moduleAccueil" does not exist.', 50, $this->source); })())) {
// line 51
echo "\t\t\t";
$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");
// line 52
echo "\t\t\t";
if ((0 !== twig_compare((isset($context["textePresentation"]) || array_key_exists("textePresentation", $context) ? $context["textePresentation"] : (function () { throw new RuntimeError('Variable "textePresentation" does not exist.', 52, $this->source); })()), ""))) {
// line 53
echo "\t\t\t\t<p class=\"presentation-texte-complementaire\">";
echo (isset($context["textePresentation"]) || array_key_exists("textePresentation", $context) ? $context["textePresentation"] : (function () { throw new RuntimeError('Variable "textePresentation" does not exist.', 53, $this->source); })());
echo "</p>
\t\t\t";
}
// line 55
echo "\t\t";
}
// line 56
echo "
\t</div>
";
}
// line 59
$this->loadTemplate("fiche/_includes/diaporamas.html.twig", "fiche/_includes/insertion.html.twig", 59)->display($context);
// line 60
if ((isset($context["langues"]) || array_key_exists("langues", $context) ? $context["langues"] : (function () { throw new RuntimeError('Variable "langues" does not exist.', 60, $this->source); })())) {
// line 61
echo "\t<div class=\"fiche-module langues\">
\t\t<h2 id=\"langues\">Langues</h2>
\t\t";
// line 65
echo "\t\t<ul class=\"langues\">
\t\t\t";
// line 66
$context["i"] = 0;
// line 67
echo "\t\t\t";
$context["langues2"] = (isset($context["langues"]) || array_key_exists("langues", $context) ? $context["langues"] : (function () { throw new RuntimeError('Variable "langues" does not exist.', 67, $this->source); })());
// line 68
echo "\t\t\t";
$context['_parent'] = $context;
$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 (0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ii"], "niveau", [], "any", false, false, false, 68), 3)); }));
foreach ($context['_seq'] as $context["_key"] => $context["ii"]) {
// line 69
echo "\t\t\t\t<li>
\t\t\t\t\t<span class=\"langii ";
// line 70
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ii"], "identifiant", [], "any", false, false, false, 70), "html", null, true);
echo "\">";
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ii"]);
echo "
\t\t\t\t\t\t";
// line 71
echo twig_get_attribute($this->env, $this->source, $context["ii"], "texte", [], "any", false, false, false, 71);
echo "</span>
\t\t\t\t\t";
// line 72
$context["i2"] = 0;
// line 73
echo "\t\t\t\t\t";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ii2"]) {
// line 74
echo "\t\t\t\t\t";
if (((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ii2"], "niveau", [], "any", false, false, false, 74), 4)) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ii2"], "pere", [], "any", false, false, false, 74), twig_get_attribute($this->env, $this->source, $context["ii"], "identifiant", [], "any", false, false, false, 74))))) {
// line 75
echo "\t\t\t\t\t\t";
$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);
// line 76
echo "\t\t\t\t\t\t";
if ((0 === 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))) {
echo ":
\t\t\t\t\t\t";
}
// line 78
echo "\t\t\t\t\t\t<span class='langii2'>";
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ii2"]);
echo twig_get_attribute($this->env, $this->source, $context["ii2"], "texte", [], "any", false, false, false, 78);
echo "</span>
\t\t\t\t\t";
}
// line 80
echo "\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ii2'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 81
echo "\t\t\t\t</li>
\t\t\t\t";
// line 83
if ((1 === 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))) {
// line 84
echo "\t\t\t\t\t<style>
\t\t\t\t\t\t.";
// line 85
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ii"], "identifiant", [], "any", false, false, false, 85), "html", null, true);
echo "{
\t\t\t\t\t\t\tfont-weight: bold;
\t\t\t\t\t\t}
\t\t\t\t\t</style>
\t\t\t\t";
}
// line 90
echo "
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ii'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 92
echo "\t\t</ul>
\t</div>
";
}
// line 95
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", false, false, false, 95)) {
// line 96
echo "<div class=\"fiche-module video\">
\t<h2 id=\"video\">Vidéo de présentation</h2>
\t<iframe src=\"";
// line 98
echo twig_escape_filter($this->env, 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.', 98, $this->source); })()), "video", [], "any", false, false, false, 98), "html", null, true);
echo "?rel=0\" height=\"280\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
</div>";
}
// line 99
if ((isset($context["formations"]) || array_key_exists("formations", $context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.', 99, $this->source); })())) {
// line 100
echo "<div class=\"fiche-module formations\">
\t<h2 id=\"bloc-formations\">Formations</h2>
\t";
// line 103
$context['_parent'] = $context;
$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
$context["ItemsInsertion"], "libelle", [], "any", false, false, false, 104)) && twig_in_filter("-FORMA-TXTS", twig_get_attribute($this->env, $this->source, // line 105
$context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 105))); }));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 107
echo "\t\t";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 107))) {
// line 108
echo "\t\t\t";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 108);
echo "
\t\t";
}
// line 110
echo "\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 111
echo "
\t";
// line 112
$context['_parent'] = $context;
$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); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 113
echo "
\t\t";
// line 114
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 114)) {
// line 115
echo "\t\t\t";
$context["previous_formation"] = $context["ItemsInsertion"];
// line 116
echo "\t\t";
} else {
// line 117
echo "\t\t\t";
$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", false, false, false, 117) - 1), [], "array", false, false, false, 117);
// line 118
echo "\t\t";
}
// line 119
echo "\t\t";
if (twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 119)) {
// line 120
echo "\t\t\t";
$context["next_formation"] = $context["ItemsInsertion"];
// line 121
echo "\t\t";
} else {
// line 122
echo "\t\t\t";
$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", false, false, false, 122) + 1), [], "array", false, false, false, 122);
// line 123
echo "\t\t";
}
// line 124
echo "\t\t";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["loop"], "length", [], "any", false, false, false, 124), 1))) {
// line 125
echo "\t\t\t";
$context["previous_formation"] = $context["ItemsInsertion"];
// line 126
echo "\t\t\t";
$context["next_formation"] = $context["ItemsInsertion"];
// line 127
echo "\t\t";
}
// line 128
echo "
\t\t";
// line 130
$context["niveauxFormation"] = [0 => "-CAP-", 1 => "-BACP-", 2 => "-BAC2-", 3 => "-PREPA-", 4 => "-BAC3-", 5 => "-BAC45-", 6 => "-ING-", 7 => "-FPC-", 8 => "-BACTECH-", 9 => "-DIPCOMP-"];
// line 131
echo "
\t\t";
// line 132
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["niveauFormation"]) {
// line 133
echo "\t\t\t";
if (twig_in_filter($context["niveauFormation"], twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 133))) {
// line 134
echo "\t\t\t\t";
if (((0 === 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", false, false, false, 134)))) {
// line 135
echo "\t\t\t\t\t<div class=\"niveau-formation\">
\t\t\t\t\t\t";
// line 136
$context["title"] = "";
// line 137
echo "\t\t\t\t\t\t";
if ((0 === twig_compare($context["niveauFormation"], "-CAP-"))) {
// line 138
echo "\t\t\t\t\t\t\t";
$context["title"] = "Niveau CAP";
// line 139
echo "\t\t\t\t\t\t";
} elseif ((0 === twig_compare($context["niveauFormation"], "-BACP-"))) {
// line 140
echo "\t\t\t\t\t\t\t";
$context["title"] = "Niveau BAC Pro";
// line 141
echo "\t\t\t\t\t\t";
} elseif ((0 === twig_compare($context["niveauFormation"], "-BAC2-"))) {
// line 142
echo "\t\t\t\t\t\t\t";
$context["title"] = "Niveau Bac+2";
// line 143
echo "\t\t\t\t\t\t";
} elseif ((0 === twig_compare($context["niveauFormation"], "-PREPA-"))) {
// line 144
echo "\t\t\t\t\t\t\t";
$context["title"] = "Classes Prépas";
// line 145
echo "\t\t\t\t\t\t";
} elseif ((0 === twig_compare($context["niveauFormation"], "-BAC3-"))) {
// line 146
echo "\t\t\t\t\t\t\t";
$context["title"] = "Niveau Bac+3";
// line 147
echo "\t\t\t\t\t\t";
} elseif ((0 === twig_compare($context["niveauFormation"], "-BAC45-"))) {
// line 148
echo "\t\t\t\t\t\t\t";
$context["title"] = "Niveau Bac+4/5";
// line 149
echo "\t\t\t\t\t\t";
} elseif ((0 === twig_compare($context["niveauFormation"], "-ING-"))) {
// line 150
echo "\t\t\t\t\t\t\t";
$context["title"] = "Diplômes d'ingénieurs";
// line 151
echo "\t\t\t\t\t\t";
} elseif ((0 === twig_compare($context["niveauFormation"], "-FPC-"))) {
// line 152
echo "\t\t\t\t\t\t\t";
$context["title"] = "Formation Professionnelle Continue";
// line 153
echo "\t\t\t\t\t\t";
} elseif ((0 === twig_compare($context["niveauFormation"], "-BACTECH-"))) {
// line 154
echo "\t\t\t\t\t\t\t";
$context["title"] = "Bac Techno (Agricole)";
// line 155
echo "\t\t\t\t\t\t";
} elseif ((0 === twig_compare($context["niveauFormation"], "-DIPCOMP-"))) {
// line 156
echo "\t\t\t\t\t\t\t";
$context["title"] = "Diplômes complémentaires";
// line 157
echo "\t\t\t\t\t\t";
}
// line 158
echo " <h3>";
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", null, true);
echo "</h3>
<!-- Afficher des compléments AVANT -->
";
// line 161
if ((((0 === twig_compare(twig_get_attribute($this->env, $this->source, // line 162
$context["ItemsInsertion"], "niveau", [], "any", false, false, false, 162), 3)) && twig_in_filter("Texte avant liste des diplômes", twig_get_attribute($this->env, $this->source, // line 163
$context["ItemsInsertion"], "libelle", [], "any", false, false, false, 163))) && !twig_in_filter("LYC-BACTEC", twig_get_attribute($this->env, $this->source, // line 164
$context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 164)))) {
// line 167
echo " <p class=\"texte-complementaire txt-avant-diplomes\">";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 167);
echo "</p>
";
}
// line 169
echo "
<ul class=\"list-unstyled card-two-columns-old l-174\">
";
}
// line 172
echo " ";
}
// line 173
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['niveauFormation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 174
echo " ";
if ((((((!twig_in_filter("-LANG", twig_get_attribute($this->env, $this->source, // line 175
$context["ItemsInsertion"], "pere", [], "any", false, false, false, 175)) && !twig_in_filter("-ANC_MT", twig_get_attribute($this->env, $this->source, // line 176
$context["ItemsInsertion"], "pere", [], "any", false, false, false, 176))) && !twig_in_filter("-FORMA2021-", twig_get_attribute($this->env, $this->source, // line 177
$context["ItemsInsertion"], "pere", [], "any", false, false, false, 177))) && !twig_in_filter("-SPEC-REG_MT", twig_get_attribute($this->env, $this->source, // line 178
$context["ItemsInsertion"], "pere", [], "any", false, false, false, 178))) && !twig_in_filter("-LANG-REG_MT", twig_get_attribute($this->env, $this->source, // line 179
$context["ItemsInsertion"], "pere", [], "any", false, false, false, 179))) && !twig_in_filter("LYC-BACTEC-", twig_get_attribute($this->env, $this->source, // line 180
$context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 180)))) {
// line 183
echo "
";
// line 184
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "niveau", [], "any", false, false, false, 184), 4))) {
// line 185
echo " <li class=\"l-188\">
<strong id=\"";
// line 186
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "id", [], "any", false, false, false, 186), "html", null, true);
echo "\">
";
// line 187
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
";
// line 188
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "options", [], "any", false, false, false, 188))) {
echo " - ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ItemsInsertionExtension']->itemOptions($context["ItemsInsertion"]), "html", null, true);
echo " ";
}
// line 189
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 189))) {
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 189);
echo " ";
}
// line 190
echo " </strong>
";
// line 192
$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", false, false, false, 192), "texte");
// line 193
echo " ";
// line 196
echo "
";
// line 197
$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", false, false, false, 197), "urlLibelle");
// line 198
echo " ";
$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", false, false, false, 198), "url");
// line 199
echo " ";
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); })()))) {
// line 200
echo " <p class=\"texte-complementaire formation-niv-4\">";
echo (isset($context["complementTexte"]) || array_key_exists("complementTexte", $context) ? $context["complementTexte"] : (function () { throw new RuntimeError('Variable "complementTexte" does not exist.', 200, $this->source); })());
echo "</p>
";
// line 201
if ((isset($context["complementUrl"]) || array_key_exists("complementUrl", $context) ? $context["complementUrl"] : (function () { throw new RuntimeError('Variable "complementUrl" does not exist.', 201, $this->source); })())) {
// line 202
echo " ";
if ((0 === twig_compare((isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle", $context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.', 202, $this->source); })()), ""))) {
// line 203
echo " ";
$context["complementUrlLibelle"] = "En savoir plus";
// line 204
echo " ";
}
// line 205
echo " <a class=\"texte-complementaire-url\" href='";
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", null, true);
echo "' target=\"_blank\" data-trace-action=\"";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Trace::TEXTE_COMPLEMENTAIRE"), "html_attr");
echo "\" data-trace-etab=\"";
echo twig_escape_filter($this->env, 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.', 205, $this->source); })()), "id", [], "any", false, false, false, 205), "html_attr");
echo "\">
";
// line 206
echo (isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle", $context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.', 206, $this->source); })());
echo "
</a>
";
}
// line 209
echo " ";
}
// line 210
echo " </li>
";
}
// line 212
echo " ";
}
// line 213
echo "
";
// line 214
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["niveauFormation"]) {
// line 215
echo " ";
if (twig_in_filter($context["niveauFormation"], twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 215))) {
// line 216
echo " ";
if (((0 === 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", false, false, false, 216)))) {
// line 217
echo " </ul>
<!-- Afficher des compléments -->
";
// line 220
if ((((0 === twig_compare(twig_get_attribute($this->env, $this->source, // line 221
$context["ItemsInsertion"], "niveau", [], "any", false, false, false, 221), 3)) && twig_in_filter("Texte après liste des diplômes", twig_get_attribute($this->env, $this->source, // line 222
$context["ItemsInsertion"], "libelle", [], "any", false, false, false, 222))) && !twig_in_filter("LYC-BACTEC", twig_get_attribute($this->env, $this->source, // line 223
$context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 223)))) {
// line 226
echo " <p class=\"texte-complementaire txt-apres-diplomes\">";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 226);
echo "</p>
";
}
// line 228
echo "
</div>
";
}
// line 231
echo " ";
}
// line 232
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['niveauFormation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 233
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 234
echo " ";
// line 235
echo "
<ul class=\"bloc_2021\">
";
// line 237
$context["i"] = 0;
// line 238
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 239
echo " ";
if ((((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "pere", [], "any", false, false, false, 239), "LYC-FORMA2021")) || (0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "pere", [], "any", false, false, false, 239), "LYC-FORMA2021-SPEC"))) || (0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "pere", [], "any", false, false, false, 239), "LYC-FORMA2021-GFACU")))) {
// line 240
echo " ";
if ((0 === 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))) {
echo "<li><strong id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "id", [], "any", false, false, false, 240), "html", null, true);
echo "\">Bac Général : </strong> <ul class=\"list-unstyled card-two-columns-old\">";
}
// line 241
echo " <li class=\"";
echo ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 241), [0 => "LYC-FORMA2021-SPEC", 1 => "LYC-FORMA2021-GFACU"])) ? ("title") : ("sub-title"));
echo "\">";
echo twig_replace_filter($this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]), ["<br />" => "", "<br/>" => "", "<b>" => ""]);
echo "
";
// line 242
if (twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 242)) {
// line 243
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 243);
echo "
";
}
// line 245
echo " </li>
";
// line 246
$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);
// line 247
echo " ";
}
// line 248
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 249
echo " ";
if ((0 !== 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))) {
echo "</ul>";
}
// line 250
echo " ";
if ((0 !== 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))) {
echo "</li>";
}
// line 251
echo " </ul>
";
// line 254
echo " <ul class=\"general\">
";
// line 255
$context["i"] = 0;
// line 256
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 257
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "pere", [], "any", false, false, false, 257), "LYC-FORMA"))) {
// line 258
echo " ";
if ((0 === 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))) {
echo "<li><strong id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "id", [], "any", false, false, false, 258), "html", null, true);
echo "\">Bac Général : </strong>";
}
// line 259
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]), "html", null, true);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 259);
echo "
";
// line 260
$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);
// line 261
echo " ";
}
// line 262
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 263
echo " ";
if ((0 !== 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))) {
echo "</li>";
}
// line 264
echo " </ul>
";
// line 267
echo "
<!-- Afficher des compléments AVANT -->
";
// line 269
$context['_parent'] = $context;
$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 (((0 === twig_compare(twig_get_attribute($this->env, $this->source, // line 270
$context["ItemsInsertion"], "niveau", [], "any", false, false, false, 270), 3)) && twig_in_filter("Texte avant liste des diplômes", twig_get_attribute($this->env, $this->source, // line 271
$context["ItemsInsertion"], "libelle", [], "any", false, false, false, 271))) && twig_in_filter("LYC-BACTEC", twig_get_attribute($this->env, $this->source, // line 272
$context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 272))); }));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 275
echo " <p class=\"texte-complementaire txt-avant-diplomes\">";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 275);
echo "</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 277
echo "
<ul class=\"technologique\">
";
// line 279
$context["i"] = 0;
// line 280
echo " ";
$context['_parent'] = $context;
$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
$context["ItemsInsertion"], "libelle", [], "any", false, false, false, 281)) && !twig_in_filter("Texte après liste des diplômes", twig_get_attribute($this->env, $this->source, // line 282
$context["ItemsInsertion"], "libelle", [], "any", false, false, false, 282))); }));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 285
echo " ";
if (twig_in_filter("LYC-BACTEC", twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "pere", [], "any", false, false, false, 285))) {
// line 286
echo " ";
if ((0 === 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))) {
echo "<li><strong id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "id", [], "any", false, false, false, 286), "html", null, true);
echo "\">Bacs Technologiques : </strong> <ul class=\"list-unstyled card-two-columns-old\">";
}
// line 287
echo " <li class=\"";
echo ((((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 287), "LYC-BACTEC-TFACU")) || (0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "pere", [], "any", false, false, false, 287), "LYC-BACTEC-TFACU")))) ? ("title") : ("sub-title"));
echo " li-290\">
";
// line 288
echo twig_replace_filter($this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]), ["<br />" => "", "<br/>" => "", "<b>" => ""]);
echo " <em>";
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemOptions($context["ItemsInsertion"]);
echo "</em> ";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 288);
echo "
";
// line 291
echo " ";
// line 296
echo " ";
if (((twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "complementTexte", [], "any", false, false, false, 296) || twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "complementUrlLibelle", [], "any", false, false, false, 296)) || twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "complementUrl", [], "any", false, false, false, 296))) {
// line 297
echo "\t\t\t\t\t\t\t<p class=\"texte-complementaire\">";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "complementTexte", [], "any", false, false, false, 297);
echo "</p>
\t\t\t\t\t\t\t";
// line 298
if (twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "complementUrl", [], "any", false, false, false, 298)) {
// line 299
echo "\t\t\t\t\t\t\t\t<a class=\"texte-complementaire-url\" href='";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "complementUrl", [], "any", false, false, false, 299), "html", null, true);
echo "' target=\"_blank\" data-trace-action=\"";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Trace::TEXTE_COMPLEMENTAIRE"), "html_attr");
echo "\" data-trace-etab=\"";
echo twig_escape_filter($this->env, 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.', 299, $this->source); })()), "id", [], "any", false, false, false, 299), "html_attr");
echo "\">
\t\t\t\t\t\t\t\t\t";
// line 300
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "complementUrlLibelle", [], "any", false, false, false, 300);
echo "
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
}
// line 303
echo "\t\t\t\t\t\t";
}
// line 304
echo "\t\t\t\t\t\t";
// line 305
echo "\t\t\t\t\t\t";
$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", false, false, false, 305), "texte");
// line 306
echo "\t\t\t\t\t\t";
// line 309
echo "
\t\t\t\t\t\t";
// line 310
$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", false, false, false, 310), "urlLibelle");
// line 311
echo "\t\t\t\t\t\t";
$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", false, false, false, 311), "url");
// line 312
echo "\t\t\t\t\t\t";
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); })()))) {
// line 313
echo "\t\t\t\t\t\t\t<p class=\"texte-complementaire formation-niv-4\">";
echo (isset($context["complementTexte"]) || array_key_exists("complementTexte", $context) ? $context["complementTexte"] : (function () { throw new RuntimeError('Variable "complementTexte" does not exist.', 313, $this->source); })());
echo "</p>
\t\t\t\t\t\t\t";
// line 314
if ((isset($context["complementUrl"]) || array_key_exists("complementUrl", $context) ? $context["complementUrl"] : (function () { throw new RuntimeError('Variable "complementUrl" does not exist.', 314, $this->source); })())) {
// line 315
echo "\t\t\t\t\t\t\t\t";
if ((0 === twig_compare((isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle", $context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.', 315, $this->source); })()), ""))) {
// line 316
echo "\t\t\t\t\t\t\t\t\t";
$context["complementUrlLibelle"] = "En savoir plus";
// line 317
echo "\t\t\t\t\t\t\t\t";
}
// line 318
echo "\t\t\t\t\t\t\t\t<a class=\"texte-complementaire-url\" href='";
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", null, true);
echo "' target=\"_blank\" data-trace-action=\"";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Trace::TEXTE_COMPLEMENTAIRE"), "html_attr");
echo "\" data-trace-etab=\"";
echo twig_escape_filter($this->env, 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.', 318, $this->source); })()), "id", [], "any", false, false, false, 318), "html_attr");
echo "\">
\t\t\t\t\t\t\t\t\t";
// line 319
echo (isset($context["complementUrlLibelle"]) || array_key_exists("complementUrlLibelle", $context) ? $context["complementUrlLibelle"] : (function () { throw new RuntimeError('Variable "complementUrlLibelle" does not exist.', 319, $this->source); })());
echo "
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
}
// line 322
echo "\t\t\t\t\t\t";
}
// line 323
echo "
\t\t\t\t\t</li>
\t\t\t\t\t";
// line 326
$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);
// line 327
echo "\t\t\t\t";
}
// line 328
echo "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 329
echo "\t\t\t";
if ((0 !== 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))) {
// line 330
echo "\t\t\t</ul>
\t\t\t";
}
// line 332
echo "\t\t\t";
if ((0 !== 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))) {
// line 333
echo "\t\t\t</li>
\t\t\t";
}
// line 335
echo "\t\t</ul>
\t\t<!-- Afficher des compléments -->
\t\t";
// line 338
$context['_parent'] = $context;
$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 (((0 === twig_compare(twig_get_attribute($this->env, $this->source, // line 339
$context["ItemsInsertion"], "niveau", [], "any", false, false, false, 339), 3)) && twig_in_filter("Texte après liste des diplômes", twig_get_attribute($this->env, $this->source, // line 340
$context["ItemsInsertion"], "libelle", [], "any", false, false, false, 340))) && twig_in_filter("LYC-BACTEC", twig_get_attribute($this->env, $this->source, // line 341
$context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 341))); }));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 344
echo "\t\t\t<p class=\"texte-complementaire txt-apres-diplomes\">";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 344);
echo "</p>
\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 346
echo "
\t</div>
";
}
// line 349
echo "
";
// line 351
if ((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function () { throw new RuntimeError('Variable "classes" does not exist.', 351, $this->source); })())) {
// line 352
echo "\t<div class=\"fiche-module classes\">
\t\t<h2 id=\"classes\">Classes</h2>
\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t";
// line 355
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 356
echo "\t\t\t\t<li>
\t\t\t\t\t";
// line 357
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t";
// line 358
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 358);
echo "
\t\t\t\t</li>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 361
echo "\t\t</ul>
\t</div>
";
}
// line 364
echo "
";
// line 365
if ((isset($context["specificites"]) || array_key_exists("specificites", $context) ? $context["specificites"] : (function () { throw new RuntimeError('Variable "specificites" does not exist.', 365, $this->source); })())) {
// line 366
echo "\t<div class=\"fiche-module specificites\">
\t\t<h2 id=\"specificites\">Spécificités</h2>
\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t";
// line 369
$context['_parent'] = $context;
$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); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 370
echo "\t\t\t\t";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 370), 1))) {
// line 371
echo "\t\t\t\t<li>
\t\t\t\t";
}
// line 373
echo "\t\t\t\t";
if (((1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 373), 1)) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "niveau", [], "any", false, false, false, 373), 3)))) {
// line 374
echo "\t\t\t\t</li>
\t\t\t\t<li>
\t\t\t\t";
}
// line 377
echo "\t\t\t\t";
echo $this->env->getFilter('ireplace')->getCallable()($this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]), ["<br />" => "", "<br/>" => "", "<br>" => ""]);
echo "
\t\t\t\t";
// line 378
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 378);
echo "
\t\t\t\t";
// line 379
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "niveau", [], "any", false, false, false, 379), 4))) {
echo ",
\t\t\t\t";
}
// line 381
echo "\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 382
echo "\t\t</ul>
\t\t";
// line 384
if ((isset($context["moduleSpecificite"]) || array_key_exists("moduleSpecificite", $context) ? $context["moduleSpecificite"] : (function () { throw new RuntimeError('Variable "moduleSpecificite" does not exist.', 384, $this->source); })())) {
// line 385
echo "\t\t\t";
$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");
// line 386
echo "\t\t\t";
if ((0 !== twig_compare((isset($context["texteSpecificite"]) || array_key_exists("texteSpecificite", $context) ? $context["texteSpecificite"] : (function () { throw new RuntimeError('Variable "texteSpecificite" does not exist.', 386, $this->source); })()), ""))) {
// line 387
echo "\t\t\t\t<p class=\"specificite-texte-complementaire\">";
echo (isset($context["texteSpecificite"]) || array_key_exists("texteSpecificite", $context) ? $context["texteSpecificite"] : (function () { throw new RuntimeError('Variable "texteSpecificite" does not exist.', 387, $this->source); })());
echo "</p>
\t\t\t";
}
// line 389
echo "\t\t";
}
// line 390
echo "
</div>
";
}
// line 393
if ((isset($context["accueil"]) || array_key_exists("accueil", $context) ? $context["accueil"] : (function () { throw new RuntimeError('Variable "accueil" does not exist.', 393, $this->source); })())) {
// line 394
echo "\t<div class=\"fiche-module accueil\">
\t\t<h2 id=\"accueil\">Accueil / Accès</h2>
\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t";
// line 398
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 399
echo "\t\t\t\t";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "niveau", [], "any", false, false, false, 399), 3))) {
// line 400
echo "\t\t\t\t\t<li>
\t\t\t\t\t\t";
// line 401
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t\t";
// line 402
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 402);
echo "
\t\t\t\t\t\t";
// line 404
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertionNiv4"]) {
echo "
\t\t\t\t\t\t\t";
// line 405
if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 405), twig_get_attribute($this->env, $this->source, $context["ItemsInsertionNiv4"], "pere", [], "any", false, false, false, 405))) {
// line 406
echo "\t\t\t\t\t\t\t";
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertionNiv4"]);
echo "
\t\t\t\t\t\t\t";
// line 407
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertionNiv4"], "texte", [], "any", false, false, false, 407);
echo "
\t\t\t\t\t\t\t";
}
// line 409
echo "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertionNiv4'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 410
echo "
\t\t\t\t\t</li>
\t\t\t\t";
}
// line 413
echo "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 414
echo "\t\t</ul>
\t\t";
// line 416
if ((isset($context["moduleSpecificite"]) || array_key_exists("moduleSpecificite", $context) ? $context["moduleSpecificite"] : (function () { throw new RuntimeError('Variable "moduleSpecificite" does not exist.', 416, $this->source); })())) {
// line 417
echo "\t\t\t";
$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");
// line 418
echo "\t\t\t";
if ((0 !== twig_compare((isset($context["texteAccueil"]) || array_key_exists("texteAccueil", $context) ? $context["texteAccueil"] : (function () { throw new RuntimeError('Variable "texteAccueil" does not exist.', 418, $this->source); })()), ""))) {
// line 419
echo "\t\t\t\t<p class=\"accueil-texte-complementaire\">";
echo (isset($context["texteAccueil"]) || array_key_exists("texteAccueil", $context) ? $context["texteAccueil"] : (function () { throw new RuntimeError('Variable "texteAccueil" does not exist.', 419, $this->source); })());
echo "</p>
\t\t\t";
}
// line 421
echo "\t\t";
}
// line 422
echo "
\t</div>
";
}
// line 425
if ((isset($context["prices"]) || array_key_exists("prices", $context) ? $context["prices"] : (function () { throw new RuntimeError('Variable "prices" does not exist.', 425, $this->source); })())) {
// line 426
echo "\t<div class=\"fiche-module prices\">
\t\t<h2 id=\"prices\">Frais de scolarité</h2>
\t\t<ul class=\"list-unstyled card-one-columns\">
\t\t\t";
// line 429
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 430
echo "\t\t\t\t<li>
\t\t\t\t\t";
// line 431
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t";
// line 432
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "valeur", [], "any", false, false, false, 432), ["." => ","]), "html", null, true);
echo "
\t\t\t\t\t";
// line 433
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 433);
echo "
\t\t\t\t</li>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 435
echo "
\t\t</ul>
\t</div>
";
}
// line 439
$this->loadTemplate("fiche/_includes/jpos.html.twig", "fiche/_includes/insertion.html.twig", 439)->display($context);
// line 440
echo "
";
// line 441
if ((isset($context["complement"]) || array_key_exists("complement", $context) ? $context["complement"] : (function () { throw new RuntimeError('Variable "complement" does not exist.', 441, $this->source); })())) {
// line 442
echo "\t";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 443
echo "\t\t<div
\t\t\tclass=\"fiche-module complement\">
\t\t\t";
// line 447
echo "\t\t\t";
$context["h2"] = $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
// line 448
echo "\t\t\t";
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); })())))) {
// line 449
echo "\t\t\t\t<h2>";
echo (isset($context["h2"]) || array_key_exists("h2", $context) ? $context["h2"] : (function () { throw new RuntimeError('Variable "h2" does not exist.', 449, $this->source); })());
echo "</h2>
\t\t\t";
}
// line 451
echo "\t\t\t<p>
\t\t\t\t";
// line 452
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 452);
echo "
\t\t\t</p>
\t\t</div>
\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 457
echo "
";
// line 460
if ((0 === 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"))) {
// line 461
echo "\t";
if ((isset($context["infos"]) || array_key_exists("infos", $context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.', 461, $this->source); })())) {
// line 462
echo "\t\t<div class=\"fiche-module infos\">
\t\t\t<h2 id=\"info-pratique\">Informations pratiques</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t";
// line 465
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 466
echo "\t\t\t\t\t<li>
\t\t\t\t\t\t";
// line 467
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t\t";
// line 468
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 468);
echo "
\t\t\t\t\t</li>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 471
echo "\t\t\t</ul>
\t\t</div>
\t";
}
// line 474
echo "
\t";
// line 475
if ((isset($context["hebergement"]) || array_key_exists("hebergement", $context) ? $context["hebergement"] : (function () { throw new RuntimeError('Variable "hebergement" does not exist.', 475, $this->source); })())) {
// line 476
echo "\t\t<div class=\"fiche-module hebergement\">
\t\t\t<h2>Hébergement</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t";
// line 479
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 480
echo "\t\t\t\t\t<li>
\t\t\t\t\t\t";
// line 481
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t\t";
// line 482
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 482);
echo "
\t\t\t\t\t</li>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 485
echo "\t\t\t</ul>
\t\t</div>
\t";
}
// line 488
echo "
\t";
// line 489
if ((isset($context["equipement"]) || array_key_exists("equipement", $context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.', 489, $this->source); })())) {
// line 490
echo "\t\t<div class=\"fiche-module equipements\">
\t\t\t<h2 id=\"equipement\">Equipements complémentaires</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t";
// line 493
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 494
echo "\t\t\t\t\t<li>
\t\t\t\t\t\t";
// line 495
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t\t";
// line 496
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 496);
echo "
\t\t\t\t\t</li>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 499
echo "\t\t\t</ul>
\t\t</div>
\t";
}
// line 502
echo "
\t";
// line 503
if ((isset($context["accompagnement"]) || array_key_exists("accompagnement", $context) ? $context["accompagnement"] : (function () { throw new RuntimeError('Variable "accompagnement" does not exist.', 503, $this->source); })())) {
// line 504
echo "\t\t<div class=\"fiche-module accompagnement\">
\t\t\t<h2 id=\"accompagnement\">Accompagnement scolaire</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t";
// line 507
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 508
echo "\t\t\t\t\t<li>
\t\t\t\t\t\t";
// line 509
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t\t";
// line 510
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 510);
echo "
\t\t\t\t\t</li>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 513
echo "\t\t\t</ul>
\t\t</div>
\t";
}
// line 516
echo "
\t";
// line 517
if ((isset($context["activites"]) || array_key_exists("activites", $context) ? $context["activites"] : (function () { throw new RuntimeError('Variable "activites" does not exist.', 517, $this->source); })())) {
// line 518
echo "\t\t<div class=\"fiche-module activites\">
\t\t\t<h2 id=\"perisco\">Activité(s) périscolaire(s)</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t";
// line 521
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 522
echo "\t\t\t\t\t<li>
\t\t\t\t\t\t";
// line 523
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t\t";
// line 524
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 524);
echo "
\t\t\t\t\t</li>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 527
echo "\t\t\t</ul>
\t\t</div>
\t";
}
// line 530
echo "
\t";
// line 531
if ((isset($context["tarifs"]) || array_key_exists("tarifs", $context) ? $context["tarifs"] : (function () { throw new RuntimeError('Variable "tarifs" does not exist.', 531, $this->source); })())) {
// line 532
echo "\t\t<div class=\"fiche-module tarifs\">
\t\t\t<h2>Tarifs</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t";
// line 535
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 536
echo "\t\t\t\t\t<li>
\t\t\t\t\t\t";
// line 537
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemLibelle($context["ItemsInsertion"]);
echo "
\t\t\t\t\t\t";
// line 538
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 538);
echo "
\t\t\t\t\t</li>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 541
echo "\t\t\t</ul>
\t\t</div>
\t";
}
}
// line 545
$this->loadTemplate("fiche/_includes/documents.html.twig", "fiche/_includes/insertion.html.twig", 545)->display($context);
// line 546
$this->loadTemplate("fiche/_includes/actualites.html.twig", "fiche/_includes/insertion.html.twig", 546)->display($context);
// line 547
echo "
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "fiche/_includes/insertion.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% if etablissement.texteReferencement.actif == 1 %}
\t<div class=\"fiche-module en-quelques-mots\">
\t\t<h2 id=\"en-quelques-mots\">En quelques mots...</h2>
\t\t\t<div class=\"ml-4\">
\t\t\t{% set texteReferencement = etablissement.texteReferencement.contenu %}
\t\t\t{% if texteReferencement is not empty and texteReferencement | striptags | length > 15 %}
\t\t\t\t{{ texteReferencement | raw }}
\t\t\t{% elseif textePresentation is not null %}
\t\t\t\t{{ textePresentation | raw }}
\t\t\t{% else %}
\t\t\t\t<!-- TEMPLATE::{{ 'fiche/seo/'~template~'.html.twig' }} -->
\t\t\t\t{% include 'fiche/seo/'~template~'.html.twig' with {
\t\t\t\t\t'etablissement': etablissement,
\t\t\t\t} only %}
\t\t\t{% endif %}
\t\t\t
\t\t\t{# ----- Texte référencement -------------------------------- #}
\t\t\t{# Ce bloc de code était dans index.html/ligne 301 #}
\t\t\t{% set texteReferencementActif = etablissement.texteReferencement.actif %}
\t\t\t{% if texteReferencementActif and etablissement.typeClient in ['établissement', 'internat'] %}
\t\t\t\t<div class=\"content clearfix\">
\t\t\t\t\t{# Enrichir la fiche prospect #}
\t\t\t\t\t{% if not etablissement.isClient %}
\t\t\t\t\t\t{% include \"fiche/_includes/insertion-non-participant.html.twig\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t</div>
\t</div>
{% endif %}
{% include 'fiche/_includes/videos.html.twig'%}
{% if presentation %}
\t<div class=\"fiche-module presentation\">
\t\t<h2 id=\"presentation\">Présentation</h2>
\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t{% for ItemsInsertion in presentation | filter( ItemsInsertion=> (
'COLL-LANG' not in ItemsInsertion.pere and
'COLL-SPEC-ANC_MT' not in ItemsInsertion.pere and
'COLL-SPEC-REG_MT' not in ItemsInsertion.pere and
'LYCPRO-PRESLIBRE_IS' not in ItemsInsertion.pere )
) %}
\t\t\t\t<li>
\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t</li>
\t\t\t{% endfor %}
\t\t</ul>
\t\t{% if moduleAccueil %}
\t\t\t{% set textePresentation = donneeComplementaire(dc,'presentation', 'texte') %}
\t\t\t{% if textePresentation != \"\" %}
\t\t\t\t<p class=\"presentation-texte-complementaire\">{{textePresentation | raw}}</p>
\t\t\t{% endif %}
\t\t{% endif %}
\t</div>
{% endif %}
{% include 'fiche/_includes/diaporamas.html.twig'%}
{% if langues %}
\t<div class=\"fiche-module langues\">
\t\t<h2 id=\"langues\">Langues</h2>
\t\t{# Nouvelle version : on reprend les libellés depuis la bdd #}
\t\t<ul class=\"langues\">
\t\t\t{% set i = 0 %}
\t\t\t{% set langues2 = langues %}
\t\t\t{% for ii in langues | filter( ii => ii.niveau == 3 ) %}
\t\t\t\t<li>
\t\t\t\t\t<span class=\"langii {{ii.identifiant}}\">{{ ii | itemLibelle | raw }}
\t\t\t\t\t\t{{ ii.texte | raw }}</span>
\t\t\t\t\t{% set i2 = 0 %}
\t\t\t\t\t{% for ii2 in langues2 %}
\t\t\t\t\t{% if ii2.niveau == 4 and ii2.pere == ii.identifiant %}
\t\t\t\t\t\t{% set i2 = i2 + 1 %}
\t\t\t\t\t\t{% if i2 == 1 %}:
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t<span class='langii2'>{{ ii2 | itemLibelle | raw }}{{ ii2.texte | raw }}</span>
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endfor %}
\t\t\t\t</li>
\t\t\t\t{% if i2 > 0 %}
\t\t\t\t\t<style>
\t\t\t\t\t\t.{{ii.identifiant}}{
\t\t\t\t\t\t\tfont-weight: bold;
\t\t\t\t\t\t}
\t\t\t\t\t</style>
\t\t\t\t{% endif %}
\t\t\t{% endfor %}
\t\t</ul>
\t</div>
{% endif %}
{% if etablissement.video %}
<div class=\"fiche-module video\">
\t<h2 id=\"video\">Vidéo de présentation</h2>
\t<iframe src=\"{{etablissement.video}}?rel=0\" height=\"280\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
</div>{% endif %}{% if formations %}
<div class=\"fiche-module formations\">
\t<h2 id=\"bloc-formations\">Formations</h2>
\t{% for ItemsInsertion in formations | filter ( ItemsInsertion => (
\t\t\t 'Autre, précisez' in ItemsInsertion.libelle
\t\t\tand '-FORMA-TXTS' in ItemsInsertion.identifiant )
\t\t) %}
\t\t{% if ItemsInsertion.texte is not empty %}
\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t{% endif %}
\t{% endfor %}
\t{% for ItemsInsertion in formations %}
\t\t{% if loop.first %}
\t\t\t{% set previous_formation = ItemsInsertion %}
\t\t{% else %}
\t\t\t{% set previous_formation = formations[loop.index0 - 1] %}
\t\t{% endif %}
\t\t{% if loop.last %}
\t\t\t{% set next_formation = ItemsInsertion %}
\t\t{% else %}
\t\t\t{% set next_formation = formations[loop.index0 + 1] %}
\t\t{% endif %}
\t\t{%if loop.length == 1 %}
\t\t\t{% set previous_formation = ItemsInsertion %}
\t\t\t{% set next_formation = ItemsInsertion %}
\t\t{% endif %}
\t\t{% set niveauxFormation = [\"-CAP-\", \"-BACP-\", \"-BAC2-\", \"-PREPA-\", \"-BAC3-\", \"-BAC45-\", \"-ING-\", \"-FPC-\", \"-BACTECH-\", \"-DIPCOMP-\"] %}
\t\t{% for niveauFormation in niveauxFormation %}
\t\t\t{% if niveauFormation in ItemsInsertion.identifiant %}
\t\t\t\t{% if previous_formation == ItemsInsertion or niveauFormation not in previous_formation.identifiant %}
\t\t\t\t\t<div class=\"niveau-formation\">
\t\t\t\t\t\t{% set title = ''%}
\t\t\t\t\t\t{% if niveauFormation == '-CAP-'%}
\t\t\t\t\t\t\t{% set title = 'Niveau CAP' %}
\t\t\t\t\t\t{% elseif niveauFormation == '-BACP-'%}
\t\t\t\t\t\t\t{% set title = 'Niveau BAC Pro' %}
\t\t\t\t\t\t{% elseif niveauFormation == '-BAC2-'%}
\t\t\t\t\t\t\t{% set title = 'Niveau Bac+2' %}
\t\t\t\t\t\t{% elseif niveauFormation == '-PREPA-'%}
\t\t\t\t\t\t\t{% set title = 'Classes Prépas' %}
\t\t\t\t\t\t{% elseif niveauFormation == '-BAC3-'%}
\t\t\t\t\t\t\t{% set title = 'Niveau Bac+3' %}
\t\t\t\t\t\t{% elseif niveauFormation == '-BAC45-'%}
\t\t\t\t\t\t\t{% set title = 'Niveau Bac+4/5' %}
\t\t\t\t\t\t{% elseif niveauFormation == '-ING-'%}
\t\t\t\t\t\t\t{% set title = 'Diplômes d\\'ingénieurs' %}
\t\t\t\t\t\t{% elseif niveauFormation == '-FPC-'%}
\t\t\t\t\t\t\t{% set title = 'Formation Professionnelle Continue' %}
\t\t\t\t\t\t{% elseif niveauFormation == '-BACTECH-'%}
\t\t\t\t\t\t\t{% set title = 'Bac Techno (Agricole)' %}
\t\t\t\t\t\t{% elseif niveauFormation == '-DIPCOMP-'%}
\t\t\t\t\t\t\t{% set title = 'Diplômes complémentaires' %}
\t\t\t\t\t\t{% endif %}
<h3>{{title}}</h3>
<!-- Afficher des compléments AVANT -->
{% if (
ItemsInsertion.niveau == 3 and
'Texte avant liste des diplômes' in ItemsInsertion.libelle and
'LYC-BACTEC' not in ItemsInsertion.identifiant
)
%}
<p class=\"texte-complementaire txt-avant-diplomes\">{{ ItemsInsertion.texte | raw }}</p>
{% endif %}
<ul class=\"list-unstyled card-two-columns-old l-174\">
{% endif %}
{% endif %}
{% endfor %}
{% if
'-LANG' not in ItemsInsertion.pere and
'-ANC_MT' not in ItemsInsertion.pere and
'-FORMA2021-' not in ItemsInsertion.pere and
'-SPEC-REG_MT' not in ItemsInsertion.pere and
'-LANG-REG_MT' not in ItemsInsertion.pere and
'LYC-BACTEC-' not in ItemsInsertion.identifiant
%}
{% if ItemsInsertion.niveau == 4 %}
<li class=\"l-188\">
<strong id=\"{{ ItemsInsertion.id }}\">
{{ ItemsInsertion | itemLibelle | raw }}
{% if ItemsInsertion.options is not empty %} - {{ ItemsInsertion | itemOptions }} {% endif %}
{% if ItemsInsertion.texte is not empty %} {{ ItemsInsertion.texte | raw }} {% endif %}
</strong>
{% set complementTexte = donneeComplementaire(dc, ItemsInsertion.identifiant, 'texte') %}
{# {% if complementTexte %}
<p class=\"texte\">{{ complementTexte | raw }}</p>
{% endif %} #}
{% set complementUrlLibelle = donneeComplementaire(dc, ItemsInsertion.identifiant, 'urlLibelle') %}
{% set complementUrl = donneeComplementaire(dc, ItemsInsertion.identifiant, 'url') %}
{% if complementTexte or complementUrlLibelle or complementUrl %}
<p class=\"texte-complementaire formation-niv-4\">{{ complementTexte | raw }}</p>
{% if complementUrl %}
{% if complementUrlLibelle == \"\" %}
{% set complementUrlLibelle = \"En savoir plus\" %}
{% endif %}
<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') }}\">
{{ complementUrlLibelle | raw }}
</a>
{% endif %}
{% endif %}
</li>
{% endif %}
{% endif %}
{% for niveauFormation in niveauxFormation %}
{% if niveauFormation in ItemsInsertion.identifiant %}
{% if next_formation == ItemsInsertion or niveauFormation not in next_formation.identifiant %}
</ul>
<!-- Afficher des compléments -->
{% if (
ItemsInsertion.niveau == 3 and
'Texte après liste des diplômes' in ItemsInsertion.libelle and
'LYC-BACTEC' not in ItemsInsertion.identifiant
)
%}
<p class=\"texte-complementaire txt-apres-diplomes\">{{ ItemsInsertion.texte | raw }}</p>
{% endif %}
</div>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{# ------ Bloc \"Bac 2021\" ------------------------------- #}
<ul class=\"bloc_2021\">
{% set i = 0 %}
{% for ItemsInsertion in formations %}
{% if ItemsInsertion.pere == 'LYC-FORMA2021' or ItemsInsertion.pere == 'LYC-FORMA2021-SPEC' or ItemsInsertion.pere == 'LYC-FORMA2021-GFACU' %}
{% if i == 0 %}<li><strong id=\"{{ ItemsInsertion.id }}\">Bac Général : </strong> <ul class=\"list-unstyled card-two-columns-old\">{%endif%}
<li class=\"{{ ItemsInsertion.identifiant in ['LYC-FORMA2021-SPEC', 'LYC-FORMA2021-GFACU'] ? 'title' : 'sub-title'}}\">{{ ItemsInsertion | itemLibelle | replace({'<br />': '', '<br/>': '', '<b>': ''}) | raw }}
{% if ItemsInsertion.texte %}
{{ ItemsInsertion.texte | raw }}
{% endif %}
</li>
{% set i = i +1 %}
{% endif %}
{% endfor %}
{% if i != 0 %}</ul>{%endif%}
{% if i != 0 %}</li>{%endif%}
</ul>
{# ------ Bloc \"Bac Général\" ------------------------------- #}
<ul class=\"general\">
{% set i = 0 %}
{% for ItemsInsertion in formations %}
{% if ItemsInsertion.pere == 'LYC-FORMA' %}
{% if i == 0 %}<li><strong id=\"{{ ItemsInsertion.id }}\">Bac Général : </strong>{%endif%}
{{ ItemsInsertion | itemLibelle }} {{ ItemsInsertion.texte | raw }}
{% set i = i +1 %}
{% endif %}
{% endfor %}
{% if i != 0 %}</li>{%endif%}
</ul>
{# ------ Bloc \"Bacs Technologiquesl\" ------------------------------- #}
<!-- Afficher des compléments AVANT -->
{% for ItemsInsertion in formations | filter ( ItemsInsertion =>
ItemsInsertion.niveau == 3 and
'Texte avant liste des diplômes' in ItemsInsertion.libelle and
'LYC-BACTEC' in ItemsInsertion.identifiant
)
%}
<p class=\"texte-complementaire txt-avant-diplomes\">{{ ItemsInsertion.texte | raw }}</p>
{% endfor %}
<ul class=\"technologique\">
{% set i = 0 %}
{% for ItemsInsertion in formations | filter ( ItemsInsertion =>
'Texte avant liste des diplômes' not in ItemsInsertion.libelle and
'Texte après liste des diplômes' not in ItemsInsertion.libelle
\t\t\t)
%}
{% if 'LYC-BACTEC' in ItemsInsertion.pere %}
{% if i == 0 %}<li><strong id=\"{{ ItemsInsertion.id }}\">Bacs Technologiques : </strong> <ul class=\"list-unstyled card-two-columns-old\">{%endif%}
<li class=\"{{ ItemsInsertion.identifiant == 'LYC-BACTEC-TFACU' or ItemsInsertion.pere != 'LYC-BACTEC-TFACU' ? 'title' : 'sub-title'}} li-290\">
{{ ItemsInsertion | itemLibelle | replace({'<br />': '', '<br/>': '', '<b>': ''}) | raw}} <em>{{ ItemsInsertion | itemOptions | raw }}</em> {{ ItemsInsertion.texte | raw }}
{# Textes complémentaires des formations #}
{# Visiblement ce bloc ne sert à rien, la v2 ci-dessous devrait le remplacer
SELECT * FROM aep.items_insertion where complement_texte is not null order by complement_updated_at desc;
ceci montre que les données complémentaires dans items_insertion n'ont pas été modifiée depuis 11/2019,
visiblement remplacées par la table donne_complementaire
#}
{% if ItemsInsertion.complementTexte or ItemsInsertion.complementUrlLibelle or ItemsInsertion.complementUrl %}
\t\t\t\t\t\t\t<p class=\"texte-complementaire\">{{ ItemsInsertion.complementTexte | raw }}</p>
\t\t\t\t\t\t\t{% if ItemsInsertion.complementUrl %}
\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') }}\">
\t\t\t\t\t\t\t\t\t{{ ItemsInsertion.complementUrlLibelle | raw }}
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{# Textes complémentaires -v2 #}
\t\t\t\t\t\t{% set complementTexte = donneeComplementaire(dc, ItemsInsertion.identifiant, 'texte') %}
\t\t\t\t\t\t{# {% if complementTexte %}
\t\t\t\t\t\t\t\t\t\t\t\t <p class=\"texte\">{{ complementTexte | raw }}</p>
\t\t\t\t\t\t\t\t\t\t\t\t {% endif %} #}
\t\t\t\t\t\t{% set complementUrlLibelle = donneeComplementaire(dc, ItemsInsertion.identifiant, 'urlLibelle') %}
\t\t\t\t\t\t{% set complementUrl = donneeComplementaire(dc, ItemsInsertion.identifiant, 'url') %}
\t\t\t\t\t\t{% if complementTexte or complementUrlLibelle or complementUrl %}
\t\t\t\t\t\t\t<p class=\"texte-complementaire formation-niv-4\">{{ complementTexte | raw }}</p>
\t\t\t\t\t\t\t{% if complementUrl %}
\t\t\t\t\t\t\t\t{% if complementUrlLibelle == \"\" %}
\t\t\t\t\t\t\t\t\t{% set complementUrlLibelle = \"En savoir plus\" %}
\t\t\t\t\t\t\t\t{% endif %}
\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') }}\">
\t\t\t\t\t\t\t\t\t{{ complementUrlLibelle | raw }}
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</li>
\t\t\t\t\t{% set i = i +1 %}
\t\t\t\t{% endif %}
\t\t\t{% endfor %}
\t\t\t{% if i != 0 %}
\t\t\t</ul>
\t\t\t{%endif%}
\t\t\t{% if i != 0 %}
\t\t\t</li>
\t\t\t{%endif%}
\t\t</ul>
\t\t<!-- Afficher des compléments -->
\t\t{% for ItemsInsertion in formations | filter ( ItemsInsertion => (
ItemsInsertion.niveau == 3 and
'Texte après liste des diplômes' in ItemsInsertion.libelle and
'LYC-BACTEC' in ItemsInsertion.identifiant )
)
%}
\t\t\t<p class=\"texte-complementaire txt-apres-diplomes\">{{ ItemsInsertion.texte | raw }}</p>
\t\t{% endfor %}
\t</div>
{% endif %}
{% if classes %}
\t<div class=\"fiche-module classes\">
\t\t<h2 id=\"classes\">Classes</h2>
\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t{% for ItemsInsertion in classes %}
\t\t\t\t<li>
\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t</li>
\t\t\t{% endfor %}
\t\t</ul>
\t</div>
{% endif %}
{% if specificites %}
\t<div class=\"fiche-module specificites\">
\t\t<h2 id=\"specificites\">Spécificités</h2>
\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t{% for ItemsInsertion in specificites %}
\t\t\t\t{% if loop.index == 1 %}
\t\t\t\t<li>
\t\t\t\t{% endif %}
\t\t\t\t{% if loop.index > 1 and ItemsInsertion.niveau==3 %}
\t\t\t\t</li>
\t\t\t\t<li>
\t\t\t\t{% endif %}
\t\t\t\t{{ ItemsInsertion | itemLibelle | ireplace({'<br />': '', '<br/>': '', '<br>': ''}) | raw }}
\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t{% if ItemsInsertion.niveau==4 %},
\t\t\t\t{% endif %}
\t\t\t{% endfor %}
\t\t</ul>
\t\t{% if moduleSpecificite %}
\t\t\t{% set texteSpecificite = donneeComplementaire(dc,'specificite', 'texte') %}
\t\t\t{% if texteSpecificite != \"\" %}
\t\t\t\t<p class=\"specificite-texte-complementaire\">{{texteSpecificite | raw}}</p>
\t\t\t{% endif %}
\t\t{% endif %}
</div>
{% endif %}
{% if accueil %}
\t<div class=\"fiche-module accueil\">
\t\t<h2 id=\"accueil\">Accueil / Accès</h2>
\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t{% for ItemsInsertion in accueil %}
\t\t\t\t{% if ItemsInsertion.niveau ==3 %}
\t\t\t\t\t<li>
\t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t\t\t{% for ItemsInsertionNiv4 in accueil %}
\t\t\t\t\t\t\t{% if ItemsInsertion.identifiant in ItemsInsertionNiv4.pere %}
\t\t\t\t\t\t\t{{ ItemsInsertionNiv4 | itemLibelle | raw }}
\t\t\t\t\t\t\t{{ ItemsInsertionNiv4.texte | raw }}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</li>
\t\t\t\t{% endif %}
\t\t\t{% endfor %}
\t\t</ul>
\t\t{% if moduleSpecificite %}
\t\t\t{% set texteAccueil = donneeComplementaire(dc,'accueil', 'texte') %}
\t\t\t{% if texteAccueil != \"\" %}
\t\t\t\t<p class=\"accueil-texte-complementaire\">{{texteAccueil | raw}}</p>
\t\t\t{% endif %}
\t\t{% endif %}
\t</div>
{% endif %}
{% if prices %}
\t<div class=\"fiche-module prices\">
\t\t<h2 id=\"prices\">Frais de scolarité</h2>
\t\t<ul class=\"list-unstyled card-one-columns\">
\t\t\t{% for ItemsInsertion in prices %}
\t\t\t\t<li>
\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t{{ ItemsInsertion.valeur | replace({'.': ','}) }}
\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t</li>
\t\t\t{% endfor %}
\t\t</ul>
\t</div>
{% endif %}
{% include 'fiche/_includes/jpos.html.twig'%}
{% if complement %}
\t{% for ItemsInsertion in complement %}
\t\t<div
\t\t\tclass=\"fiche-module complement\">
\t\t\t{# Ne pas affiche le titre s'il s'agit d'un texte Complémentaire #}
\t\t\t{% set h2 = ItemsInsertion | itemLibelle %}
\t\t\t{% if \"Texte Complémentaire\" not in h2 and h2 is not empty %}
\t\t\t\t<h2>{{ h2 | raw }}</h2>
\t\t\t{% endif %}
\t\t\t<p>
\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t</p>
\t\t</div>
\t{% endfor %}
{% endif %}
{# ------ INTERNAT -------------------------------------- #}
{% if type == 'internat' %}
\t{% if infos %}
\t\t<div class=\"fiche-module infos\">
\t\t\t<h2 id=\"info-pratique\">Informations pratiques</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t{% for ItemsInsertion in infos %}
\t\t\t\t\t<li>
\t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t\t</li>
\t\t\t\t{% endfor %}
\t\t\t</ul>
\t\t</div>
\t{% endif %}
\t{% if hebergement %}
\t\t<div class=\"fiche-module hebergement\">
\t\t\t<h2>Hébergement</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t{% for ItemsInsertion in hebergement %}
\t\t\t\t\t<li>
\t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t\t</li>
\t\t\t\t{% endfor %}
\t\t\t</ul>
\t\t</div>
\t{% endif %}
\t{% if equipement %}
\t\t<div class=\"fiche-module equipements\">
\t\t\t<h2 id=\"equipement\">Equipements complémentaires</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t{% for ItemsInsertion in equipement %}
\t\t\t\t\t<li>
\t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t\t</li>
\t\t\t\t{% endfor %}
\t\t\t</ul>
\t\t</div>
\t{% endif %}
\t{% if accompagnement %}
\t\t<div class=\"fiche-module accompagnement\">
\t\t\t<h2 id=\"accompagnement\">Accompagnement scolaire</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t{% for ItemsInsertion in accompagnement %}
\t\t\t\t\t<li>
\t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t\t</li>
\t\t\t\t{% endfor %}
\t\t\t</ul>
\t\t</div>
\t{% endif %}
\t{% if activites %}
\t\t<div class=\"fiche-module activites\">
\t\t\t<h2 id=\"perisco\">Activité(s) périscolaire(s)</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t{% for ItemsInsertion in activites %}
\t\t\t\t\t<li>
\t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t\t</li>
\t\t\t\t{% endfor %}
\t\t\t</ul>
\t\t</div>
\t{% endif %}
\t{% if tarifs %}
\t\t<div class=\"fiche-module tarifs\">
\t\t\t<h2>Tarifs</h2>
\t\t\t<ul class=\"list-unstyled card-two-columns-old\">
\t\t\t\t{% for ItemsInsertion in tarifs %}
\t\t\t\t\t<li>
\t\t\t\t\t\t{{ ItemsInsertion | itemLibelle | raw }}
\t\t\t\t\t\t{{ ItemsInsertion.texte | raw }}
\t\t\t\t\t</li>
\t\t\t\t{% endfor %}
\t\t\t</ul>
\t\t</div>
\t{% endif %}
{% endif %}
{% include 'fiche/_includes/documents.html.twig'%}
{% include 'fiche/_includes/actualites.html.twig'%}
", "fiche/_includes/insertion.html.twig", "/app/templates/fiche/_includes/insertion.html.twig");
}
}