private\formations\formation\Formation.twig line 1

  1.     <div class="container formation p-0">
  2.         <div class="header">
  3.             <a href="/formations">LISTE DE NOS FORMATIONS</a>
  4.             <img src="/images/dot_red.svg" width="10">
  5.             <a href="/formations_partenaires">FORMATIONS PARTENAIRES</a>
  6.             <img src="/images/dot_red.svg" width="10">
  7.             {% set isFirstIteration = true %}
  8.             {% for pagesFormation in pagesFormations %}
  9.                 {% if isFirstIteration == false %}
  10.                     <img src="/images/dot_red.svg" width="10">
  11.                 {% endif %}
  12.                 <a class="uppercase" href={% if pagesFormation.pages__lien_externe %} "{{ pagesFormation.pages__lien_externe }}" target="_blank" {% else %} "{{ pagesFormation.pages__url }}" {% endif %}>{{ pagesFormation.pages__name }}</a>
  13.                 {% set isFirstIteration = false %}
  14.             {% endfor %}
  15.         </div>
  16.     
  17.         <div class="position-relative">
  18.             <div class="textes-gauche"></div>
  19.             <div class="content row">
  20.                 <div class="left col col-12 col-lg-8">
  21.                     <div class="titre">
  22.                         <h1>{{formation.formations__intitule|raw}}</h1>
  23.                     </div>
  24.                     <div class="diaporama mb-4">
  25.                         {% for visuel in visuels %}
  26.                             <div class="position-relative">
  27.                                 {% if visuel.copyright %}
  28.                                     <div class="credit-photo">
  29.                                         <span class="text-light">© {{ visuel.copyright }}</span>
  30.                                     </div>
  31.                                 {% endif %}
  32.                                 {# si l'extension de l'image est un jpg, on ajoute une classe grayscale qui permet de la mettre en noir et blanc #}
  33.                                 {% if visuel.extension == 'jpg' %}
  34.                                     <div class="sub-img bgcover grayscale" style="background-image:url('{{visuel.url}}');"></div>
  35.                                 {% else %}
  36.                                     <div class="sub-img bgcover" style="background-image:url('{{visuel.url}}');"></div>
  37.                                 {% endif %}
  38.                             </div>
  39.                         {% endfor %}
  40.                     </div>
  41.                     {% if formation.formations__introduction %}
  42.                         <div class="dendreo">
  43.                             <div class="sous-titre">
  44.                                 <h2>Présentation</h2>
  45.                             </div>
  46.                             <div>
  47.                                 <span>
  48.                                     {{ formation.formations__introduction|raw }}
  49.                                 </span>
  50.                             </div>
  51.                         </div>
  52.                     {% endif %}
  53.                     {% if formation.formations__objectif_pedagogique %}
  54.                         <div class="sous-titre">
  55.                             <h2>Objectifs principaux</h2>
  56.                         </div>
  57.                         <div class="dendreo mb-3">
  58.                             <span>{{ formation.formations__objectif_pedagogique|raw }}</span>
  59.                         </div>
  60.                     {% endif %}
  61.                     {% include '/formations/formation/infos_pratiques.twig' %}
  62.                     <div class="sous-titre">
  63.                         <h2>Le programme de cette formation s'articule autour des modules de compétences suivants</h2>
  64.                     </div>
  65.                     <div class="dendreo">{{formation.formations__description|raw}}</div>
  66.                     <div class="mt-4">
  67.                         <p class="text-end audit fst-italic">site mis à jour le {{ formation.formations__date_edit|date("d-m-Y") }}</p>
  68.                     </div>
  69.                     <div class="infos accordion mb-4" id="accordionExample">
  70.                         <div class="accordion-item">
  71.                             <h2 class="accordion-header" id="headingOne">
  72.                                 <button class="public accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
  73.                                     Public cible et pré-requis
  74.                                 </button>
  75.                             </h2>
  76.                             <div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
  77.                                 <div class="accordion-body">
  78.                                     {% if formation.formations__public_vise or formation.formations__pre_requis %}
  79.                                         {% if formation.formations__public_vise %}
  80.                                             <div class="dendreo mb-4">
  81.                                                 <h3 class="accordion-subtitle"><b>Public cible :</b></h3>
  82.                                                 <span>{{formation.formations__public_vise|raw}}</span>
  83.                                             </div>
  84.                                         {% endif %}
  85.                                         {% if formation.formations__pre_requis %}
  86.                                             <div class="dendreo">
  87.                                                 <h3 class="accordion-subtitle"><b>Pré-requis :</b></h3>
  88.                                                 <span>{{formation.formations__pre_requis|raw}}</span>
  89.                                             </div>
  90.                                         {% endif %}
  91.                                     {% else %}
  92.                                         <span>Contactez-nous pour plus d'informations</span>
  93.                                     {% endif %}
  94.                                 </div>
  95.                             </div>
  96.                         </div>
  97.                         <div class="accordion-item">
  98.                             <h2 class="accordion-header" id="headingTwo">
  99.                                 <button class="modalites accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
  100.                                     Modalités pédagogiques et évaluation
  101.                                 </button>
  102.                             </h2>
  103.                             <div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample">
  104.                                 <div
  105.                                     class="accordion-body">
  106.                                     {% if formation.formations__modalites_pedagogiques or formation.formations__modalites_devaluation or formation.formations__moyens_supports_pedagogiques %}
  107.                                         {# modalité pédagogique #}
  108.                                         {% if formation.formations__modalites_pedagogiques %}
  109.                                             <div class="dendreo mb-4">
  110.                                                 <h3 class="accordion-subtitle"><b>Modalité pédagogique :</b></h3>
  111.                                                 <span>{{ formation.formations__modalites_pedagogiques|raw }}</span>
  112.                                             </div>
  113.                                         {% endif %}
  114.                                         {# modalité d'évolution et de suivi #}
  115.                                         {% if formation.formations__modalites_devaluation %}
  116.                                             <div class="dendreo mb-4">
  117.                                                 <h3 class="accordion-subtitle"><b>Modalité d'évaluation et de suivi :</b></h3>
  118.                                                 <span>{{ formation.formations__modalites_devaluation|raw }}</span>
  119.                                             </div>
  120.                                         {% endif %}
  121.                                         {# moyen support pédagogique #}
  122.                                         {% if formation.formations__moyens_supports_pedagogiques %}
  123.                                             <div class="dendreo">
  124.                                                 <h3 class="accordion-subtitle"><b>Moyens et supports pédagogiques :</b></h3>
  125.                                                 <span>{{ formation.formations__moyens_supports_pedagogiques|raw }}</span>
  126.                                             </div>
  127.                                         {% endif %}
  128.                                     {% else %}
  129.                                         <span>Contactez-nous pour plus d'informations</span>
  130.                                     {% endif %}
  131.                                 </div>
  132.                             </div>
  133.                         </div>
  134.                         <div class="accordion-item">
  135.                             <h2 class="accordion-header" id="headingThree">
  136.                                 <button class="modalites accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
  137.                                     Modalités d'accès
  138.                                 </button>
  139.                             </h2>
  140.                             <div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#accordionExample">
  141.                                 <div
  142.                                     class="accordion-body">
  143.                                     {% if formation.formations__infos_admission or formation.formations__accessibilite %}
  144.                                         {# Information sur l'admission #}
  145.                                         {% if formation.formations__infos_admission %}
  146.                                             <div class="dendreo mb-4">
  147.                                                 <h3 class="accordion-subtitle"><b>Information sur l'admission :</b></h3>
  148.                                                 <span>{{ formation.formations__infos_admission|raw }}</span>
  149.                                             </div>
  150.                                         {% endif %}
  151.                                         {# Information sur l'accessibilité #}
  152.                                         {% if formation.formations__accessibilite %}
  153.                                             <div class="dendreo">
  154.                                                 <h3 class="accordion-subtitle"><b>Information sur l'accessibilité :</b></h3>
  155.                                                 <span>{{ formation.formations__accessibilite|raw }}</span>
  156.                                             </div>
  157.                                         {% endif %}
  158.                                     {% else %}
  159.                                         <span>Contactez-nous pour plus d'informations</span>
  160.                                     {% endif %}
  161.                                 </div>
  162.                             </div>
  163.                         </div>
  164.                         <div class="accordion-item">
  165.                             <h2 class="accordion-header" id="heading4">
  166.                                 <button class="intervenantes accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse4" aria-expanded="false" aria-controls="collapse4">
  167.                                     Intervenant·es
  168.                                 </button>
  169.                             </h2>
  170.                             <div id="collapse4" class="accordion-collapse collapse" aria-labelledby="heading4" data-bs-parent="#accordionExample">
  171.                                 <div class="accordion-body">
  172.                                     {% if formation.formations__profil_formateurs %}
  173.                                         <div class="dendreo">
  174.                                             {{formation.formations__profil_formateurs|raw}}                                    
  175.                                         </div>
  176.                                     {% else %}
  177.                                         <span>Contactez-nous pour plus d'informations</span>
  178.                                     {% endif %}
  179.                                 </div>
  180.                             </div>
  181.                         </div>
  182.                         <div class="accordion-item">
  183.                             <h2 class="accordion-header" id="heading5">
  184.                                 <button class="tarifs accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse5" aria-expanded="false" aria-controls="collapse5">
  185.                                     Tarifs
  186.                                 </button>
  187.                             </h2>
  188.                             <div
  189.                                 id="collapse5" class="accordion-collapse collapse" aria-labelledby="heading5" data-bs-parent="#accordionExample">
  190.                                 {# {{formation.formations__id_externe|raw}} #}
  191.                                 <div class="accordion-body">
  192.                                     {% if formation.formations__tarif %}
  193.                                         <span><b>{{ formation.formations__tarif|raw }} € (HT)</b></span>
  194.                                         <br>
  195.                                         <br>
  196.                                     {% endif %}
  197.                                     <span>Si vous êtes salarié·e (y compris intermittent·e du spectacle), votre organisme de financement de la formation professionnelle (AFDAS, UNIFORMATION, etc.) peut prendre en charge le coût global à travers différents programmes (Plan de Formation de l’Entreprise, Plan de Formation des Intermittents, etc.).
  198.                                     Consultez notre page « Financer sa formation » pour plus d’informations : <a class="text-primary text-decoration-underline" href="https://illusion-macadam.coop/formation/financersaformation">https://illusion-macadam.coop/formation/financersaformation</a>
  199.                                     . Les dispositifs sont nombreux et complexes. Contactez-nous afin que l’on étudie votre situation particulière et que l’on vous indique les démarches à effectuer.</span>
  200.                                 </div>
  201.                             </div>
  202.                         </div>
  203.                     </div>
  204.                 </div>
  205.                 <div class="right col col-12 col-lg-4 mt-0 mt-lg-0 mt-xl-0 mt-xxl-0">
  206.                     <div id="right_side">
  207.                         {% include '/formations/formation/infos_pratiques.twig' %}
  208.                         {% if logos %}
  209.                             <div class="autres titre mb-3">Partenaires</div>
  210.                             <div id="logo-container" class="d-flex flex-wrap justify-content-center gap-2 mb-4 mb-lg-0">
  211.                                 {% for logo in logos %}
  212.                                     <div class="logo-img bgcontain" style='background-image:url("{{ logo.url }}")'></div>
  213.                                 {% endfor %}
  214.                             </div>
  215.                         {% endif %}
  216.                         {% if formation.formations__moyenne_satisfaction %}
  217.                             <div class="autres titre mb-2">Taux de satisfaction</div>
  218.                             <div class="container mt-2 mb-4 mb-lg-0">
  219.                                 <div class="row row-cols-2">
  220.                                     {% for stat in stats %}
  221.                                         <div class="col satisfaction pt-4">
  222.                                             <div class="titre">{{ stat[0] }} %</div>
  223.                                             <span>{{ stat[1] }}</span>
  224.                                         </div>
  225.                                     {% endfor %}
  226.                                 </div>
  227.                             </div>
  228.                         {% endif %}
  229.                         
  230.                         <div class="autres titre mb-4">Découvrez aussi</div>
  231.                         {% if randomFormation.formations__url %}
  232.                             <a href="/formations/{{ randomFormation.formations__url }}">
  233.                         {% else %}
  234.                             <a href="/formations/detail?id={{ randomFormation.formations__id_action_de_formation }}">
  235.                         {% endif %}
  236.                             <div class=" icard forma bgcover">
  237.                                 <div class="titre">{{randomFormation.formations__intitule}}</div>
  238.                                     {% set backgrounds = [
  239.                                         { 'image': '/images/crete_bleue.svg', 'color': 'bleu' },
  240.                                         { 'image': '/images/fleur_jaune.svg', 'color': 'jaune' },
  241.                                         { 'image': '/images/etoile_violette.svg', 'color': 'violet' },
  242.                                         { 'image': '/images/pois_gris.svg', 'color': 'gris' },
  243.                                     ] %}
  244.                                     {% set randomBackground = random(backgrounds)  %}
  245.                                     {% set image = randomBackground.image %}
  246.                                     {% set color = randomBackground.color %}
  247.                                     <div class="visuel bgcover {{ color }}" style="background-image: url('{{ image }}')"></div>
  248.                             </div>
  249.                         </a>
  250.                     </div>
  251.                 </div>
  252.             </div>
  253.         </div>