templates/default/detailsActualites.html.twig line 1

Open in your IDE?
  1. {# BASE LOAD #}
  2. {% extends 'base.html.twig' %}
  3. {# TITLE TOP PAGE #}
  4. {% block title %}CPI | {% if app.request.locale == 'fr' %}{{actu.titreFr}}{% else %}{{actu.titreEn}}{% endif %}{% endblock %}
  5. {# CSS #}
  6. {% block stylesheet %}
  7.     <meta property="og:title" content="{{actu.titreFr}}">
  8.     <meta property="og:image" content="{{asset('uploads/actualites/'~actu.image)}}">
  9.     <meta property="og:image:secure_url" content="{{asset('uploads/actualites/'~actu.image)}}">
  10.     <meta property="og:image:type" content="image/png">
  11.     <meta property="og:image:width" content="1440">
  12.     <meta property="og:image:height" content="1080">
  13.     <meta property="og:type" content="article">
  14.     <link rel="stylesheet" href="{{ asset('css/categorie_news.css')}}">
  15.     <link rel="stylesheet" href="{{ asset('css/cms.css')}}">
  16.     <link rel="stylesheet" href="{{asset('slick/slick.css')}}">
  17.     <link rel="stylesheet" href="{{asset('slick/slick-theme.css')}}">
  18. {% endblock %}
  19. {# BODY HOME PAGE #}
  20. {% block body %}
  21. {% if app.user %}
  22.     {% include 'cms.html.twig' %}
  23. {% endif %}
  24. <style>
  25. @media screen and (max-width: 1200px){
  26.     .opensans_semibold{
  27.         font-size:18px!important;
  28.     }
  29. }
  30. </style>
  31.  <main>
  32.             <div class="accueil">
  33.                 <div class="container">
  34.               
  35.                     <div class="row">
  36.                         <div class="col-10 offset-1">
  37.                           <div class="row" style="padding-top:120px">
  38.                           <div class="menu py-5">
  39.                                         {% if actu.categoriesActualites != null %}
  40.                                         <p>{% if app.request.locale == 'fr' %}{{actu.categoriesActualites.titreFr}}{% else %}{{actu.categoriesActualites.titreEn}}{% endif %}</p>
  41.                                         {% else %}
  42.                                         <p>{% if app.request.locale == 'fr' %}Sans catégorie{% else %}No category{% endif %}</p>
  43.                                         {% endif %}
  44.                                     </div>
  45.                           </div>
  46.                             <div class="row">
  47.                                 <div class="col-lg-9" style="">
  48.                                     
  49.                                     <h1 class="mb-4 opensans_bold_50" style="font-size:50px">{% if app.request.locale == 'fr' %}{{actu.titreFr}}{% else %}{{actu.titreEn}}{% endif %}</h1>
  50.                                     <hr>
  51.                                     <div class="my-3 opensans_semibold" style="color:#0000FF !important; font-size:26px ">{% if app.request.locale == 'fr' %}{{actu.introFr|raw}}{% else %}{{actu.introEn|raw}}{% endif %}</div>
  52.                                     <div class="row py-2 align-items-center">
  53.                                         <div class="col">
  54.                                             <div class="date">
  55.                                                 <i class="fas fa-clock"></i>
  56.                                                 <p>
  57.                                                 {{actu.date|date('d')}}
  58.                                                         {% if app.request.locale == 'fr' %}
  59.                                                             {% if actu.date|date('m') == '01' %}JANVIER{% endif %}
  60.                                                             {% if actu.date|date('m') == '02' %}FEVRIER{% endif %}
  61.                                                             {% if actu.date|date('m') == '03' %}MARS{% endif %}
  62.                                                             {% if actu.date|date('m') == '04' %}AVRIL{% endif %}
  63.                                                             {% if actu.date|date('m') == '05' %}MAI{% endif %}
  64.                                                             {% if actu.date|date('m') == '06' %}JUIN{% endif %}
  65.                                                             {% if actu.date|date('m') == '07' %}JUILLET{% endif %}
  66.                                                             {% if actu.date|date('m') == '08' %}AOUT{% endif %}
  67.                                                             {% if actu.date|date('m') == '09' %}SEPTEMBRE{% endif %}
  68.                                                             {% if actu.date|date('m') == '10' %}OCTOBRE{% endif %}
  69.                                                             {% if actu.date|date('m') == '11' %}NOVEMBRE{% endif %}
  70.                                                             {% if actu.date|date('m') == '12' %}DECEMBRE{% endif %}
  71.                                                         {% else %}
  72.                                                             {% if actu.date|date('m') == '01' %}JANUARY{% endif %}
  73.                                                             {% if actu.date|date('m') == '02' %}FEBRUARY{% endif %}
  74.                                                             {% if actu.date|date('m') == '03' %}MARCH{% endif %}
  75.                                                             {% if actu.date|date('m') == '04' %}APRIL{% endif %}
  76.                                                             {% if actu.date|date('m') == '05' %}MAY{% endif %}
  77.                                                             {% if actu.date|date('m') == '06' %}JUNE{% endif %}
  78.                                                             {% if actu.date|date('m') == '07' %}JULY{% endif %}
  79.                                                             {% if actu.date|date('m') == '08' %}AUGUST{% endif %}
  80.                                                             {% if actu.date|date('m') == '09' %}SEPTEMBER{% endif %}
  81.                                                             {% if actu.date|date('m') == '10' %}OCTOBER{% endif %}
  82.                                                             {% if actu.date|date('m') == '11' %}NOVEMBER{% endif %}
  83.                                                             {% if actu.date|date('m') == '12' %}DECEMBER{% endif %}
  84.                                                         {% endif %}
  85.                                                             {{actu.date|date('Y')}}
  86.                                                 </p>
  87.                                             </div>
  88.                                         </div>
  89.                                         <div class="col">
  90.                                             <div class="d-flex justify-content-end share-container">
  91.                                                 <a href="https://www.linkedin.com/shareArticle?url={{ app.request.uri }}" target="_blank"><img src="{{ asset('img/categorie_news/linkedIn.png') }}" alt="LinkedIn"></a>
  92.                                                 <a href="mailto:?subject=Votre Sujet&body={{ app.request.uri }}"><img src="{{asset('img/categorie_news/mail.png')}}" alt="insta" style="margin-left:5px"></a>
  93.                                             </div>
  94.                                         </div>
  95.                                     </div>
  96.                                      
  97.                                     <div class="row">
  98.                                     <div class="col">
  99.                                      <img class="w-100" src="
  100.                                         {% if actu.image == 'ok' %}
  101.                                             {{asset('uploads/actualites/cpi-actu-defaut.jpg')}}
  102.                                         {% else %}
  103.                                             {{asset('uploads/actualites/'~actu.image)}}
  104.                                         {% endif %}
  105.                                     " style="border-radius:30px;margin-top:20px;" alt=""> 
  106.                                
  107.                                     </div>
  108.                                        
  109.                                        
  110.                                             <p class="my-4 opensans_light_18" >{% if app.request.locale == 'fr' %}{{actu.texteFr|raw}}{% else %}{{actu.texteEn|raw}}{% endif %}</p>
  111.   <div class="traitBleuNextActu col-12"></div>
  112.                                     <!-- AJOUT DU CMS -->
  113.                                     <main>
  114. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
  115. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  GESTION DES SECTION ///\\\ ///\\\ ///\\\ ///\\\ ///\\\   -->
  116. {% set i = 0 %}
  117. {% for section in sections %}
  118. {% set i = i +1 %}
  119.           
  120. <section id="section" style="
  121.     
  122.     {% if i > 1 %}
  123.         margin-top:-54px
  124.     {% endif %} 
  125. ">
  126. <style>
  127. .accordion-body li{
  128.     color:white;
  129. }
  130. .accordion-body li p{
  131.     margin-bottom:0
  132. }
  133. </style>
  134. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\   -->
  135. {% set y = 0 %}
  136. {% for res in section.lignes %}
  137. {% set y = y+1 %}
  138.     <div  id="{% if i == 1 %}sectionMain{% else %}sectionReste{% endif %}" data-aos="fade-up" data-aos-duration="1000" style="
  139.     
  140.     {% if i > 1 %}
  141.     padding-top:112px; padding-bottom:112px;
  142.     {% else %}
  143.     {% if y > 1 %}
  144.     padding-top:0; padding-bottom:112px;
  145.     {% endif %}
  146.     
  147.     {% endif %}">
  148.         <div class="container text-light pb-3"> 
  149.             <div class="row pt-5 justify-content-center justify-content-md-start">
  150.              
  151.                 {% for res2 in res.blocs %}
  152.                     <div id="bloc{{res2.id}}" data-aos="fade-up" data-aos-duration="1000" class="col-lg-{{res2.type}}" {% if app.user %} style="border:dashed 1px grey; border-radius:10px; margin-bottom:10px"{% endif %}>
  153.                        
  154.                                      {% if app.user %}
  155.                             <a href="{{path('app_deleteLigne',{'id':res.id,'pages':actu.id} )}}" onclick="return confirm('Êtes-vous sûr ?')">
  156.                                 <div class="d-flex justify-content-end">
  157.                                     <div class="d-flex justify-content-center align-items-center cubeIcon2">
  158.                                         <i class="fa-solid fa-trash"></i>
  159.                                     </div>
  160.                                 </div>
  161.                             </a>
  162.                         {% endif %}
  163.                         {% if res2.contenuses is not empty %}
  164.                             {% if res2.contenuses.0.typesContenus.id != 8 %}
  165.                             {% endif %}
  166.                         {% endif %}
  167. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\   -->                   
  168. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\   AFFCHER CONTENUS   ///\\\ ///\\\ ///\\\ ///\\\ ///\\\   -->
  169. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\   -->
  170.                         {% if res2.contenuses is not empty %}
  171.                              <!-- ///\\\ ///\\\ TEXTE ///\\\ ///\\\  -->
  172.                             {% if res2.contenuses.0.typesContenus.id == 1 %}
  173.                                 {% if app.request.locale == 'en' %}{{res2.contenuses.0.TexteEn|raw}}{% else %}{{res2.contenuses.0.TexteFr|raw}}{% endif %}
  174.                                 
  175.                                 {% if res2.contenuses.0.document is not empty %}
  176.                                 <a href="{{res2.contenuses.0.document}}" target="_blank" style="text-decoration:none;">
  177.                                             <button type="button btn-modal" class="justify-content-center align-items-center text-center" 
  178.                                                 style="
  179.                                                   background-color:{{res2.contenuses.0.background}}!important; 
  180.                                                     border:solid 3px {{res2.contenuses.0.couleur1}}!important;
  181.                                                     border-radius: 30px!important;
  182.                                                     color: rgb(0, 206, 255);
  183.                                                     font-weight: bold;
  184.                                                     background-color: #0c24b3;
  185.                                                     cursor: pointer;
  186.                                                     padding-top: 12px;
  187.                                                     padding-left: 50px;
  188.                                                     padding-right: 50px;
  189.                                                     margin-top:20px
  190.                                                  
  191.                                                     
  192.                                             ">
  193.                                             {% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}</button>
  194.                                         </a>
  195.                                 {% endif %}
  196.                             {% endif %}
  197.                             {% if i == 1 %}
  198.                                 {% if loop.first %}
  199.                                     <div class="traitBlanc"></div>
  200.                                 {% endif %}
  201.                             {% endif %}
  202.                             <!-- ///\\\ ///\\\ FIN TEXTE ///\\\ ///\\\  -->
  203.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  204.                             <!-- ///\\\ ///\\\ IMAGE ///\\\ ///\\\  -->
  205.                             {% if res2.contenuses is not empty %}
  206.                                 {% if res2.contenuses.0.typesContenus.id == 2 %}
  207.                                     <div  class="col-12 d-flex d-lg-block justify-content-center mt-5 mt-lg-0">
  208.                                         <img data-aos="fade-up" data-aos-duration="1000" class="img-fluid imgRadius" src="{{asset('uploads/contenus/'~res2.contenuses.0.image)}}" alt="{% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}">
  209.                                     </div>
  210.                                 {% endif %}
  211.                             {% endif %}
  212.                             <!-- ///\\\ ///\\\ FIN IMAGE ///\\\ ///\\\  -->
  213.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  214.                             <!-- ///\\\ ///\\\ VIDEOS ///\\\ ///\\\  -->
  215.                             {% if res2.contenuses is not empty %}
  216.                                 {% if res2.contenuses.0.typesContenus.id == 3 %}
  217.                                     <div data-aos="fade-up" data-aos-duration="1000" class="col-12 justify-content-center">
  218.                                         <div class="image">             
  219.                                             <iframe class="img-fluid" style="height: 165px !important; width: 100% !important; border-radius: 15px!important;" src="{{res2.contenuses.0.video}}" title="YouTube video {% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
  220.                                         </div>
  221.                                         <div class="texte">
  222.                                             <p style="font-weight:bold">
  223.                                                 {% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}
  224.                                             </p>
  225.                                         </div>
  226.                                     </div>            
  227.                                 {% endif %}
  228.                             {% endif %}
  229.                             <!-- ///\\\ ///\\\ FIN VIDEO ///\\\ ///\\\  -->
  230.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  231.                             <!-- ///\\\ ///\\\ BOX PICTO  ///\\\ ///\\\  -->
  232.                             {% if res2.contenuses is not empty %}
  233.                                 {% if res2.contenuses.0.typesContenus.id == 4 %}             
  234.                                     <div data-aos="fade-up" data-aos-duration="1000" class="carte">
  235.                                         <div class="image d-flex justify-content-center">
  236.                                             <img src="{{asset('uploads/contenus/'~res2.contenuses.0.image)}}" alt="{% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}">
  237.                                         </div>
  238.                                         <div class="corps-carte">
  239.                                             <div class="tete-carte" style="background-color:{{res2.contenuses.0.background}}">
  240.                                                 <p>{% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}</p>
  241.                                             </div>
  242.                                             <div class="texte-carte" style="min-height:204px; background-color:{{res2.contenuses.0.couleur1}}">
  243.                                                 <div class="texte-1">
  244.                                                     {% if app.request.locale == 'en' %}{{res2.contenuses.0.TexteEn|raw}}{% else %}{{res2.contenuses.0.TexteFr|raw}}{% endif %}
  245.                                                 </div>
  246.                                             </div>   
  247.                                         </div>
  248.                                     </div>
  249.                                 {% endif %}
  250.                             {% endif %}
  251.                             
  252.                             <!-- ///\\\ ///\\\ FIN BOX PICTO ///\\\ ///\\\  -->
  253.                                    
  254.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  255.                             <!-- ///\\\ ///\\\ AVANTAGES  ///\\\ ///\\\  -->
  256.                             {% if res2.contenuses is not empty %}
  257.                                 {% if res2.contenuses.0.typesContenus.id == 7 %}
  258.                                     <div data-aos="fade-up" data-aos-duration="1000" class="avantages">
  259.                                         <div class="carteA bg-bleu" style="background-color:{{res2.contenuses.0.background}}">
  260.                                             <div class="tete-carte d-flex flex-column flex-md-row">
  261.                                                 {% if res2.contenuses.0.image != '' %}
  262.                                                     <img class="img-fluid" src="{{asset('uploads/contenus/'~res2.contenuses.0.image)}}" alt="">
  263.                                                 {% endif %}
  264.                                                 <span style="font-weight:bold">{% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}</span>
  265.                                             </div>
  266.                                             <div class="texte-carte">
  267.                                                 {% if app.request.locale == 'en' %}{{res2.contenuses.0.TexteEn|raw}}{% else %}{{res2.contenuses.0.TexteFr|raw}}{% endif %}
  268.                                             </div>
  269.                                         </div>
  270.                                     </div>
  271.                                 {% endif %}
  272.                             {% endif %}
  273.                             <!-- ///\\\ ///\\\ FIN AVANTAGES ///\\\ ///\\\  -->
  274.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  275.                             <!-- ///\\\ ///\\\ ACCORDEON  ///\\\ ///\\\  -->
  276.                             {% if res2.contenuses.0.typesContenus.id == 8 %}
  277.                                 <div data-aos="fade-up" data-aos-duration="1000" class="texteDeroulant text-light">
  278.                                     <div class="accordion" id="accordionExample">
  279.                                         {% set ac = 0 %}
  280.                                         {% for res3 in res2.contenuses.0.accordeons %}
  281.                                             {% set ac = ac+1 %}
  282.                                             <div class="accordion-item" style="background-color:{{res3.background}}!important;">
  283.                                                 <h2 class="accordion-header" id="heading{{res3.id}}">
  284.                                                     <button class="button1-accordion accordion-button" style="background-color:{{res3.background}}!important;" type="button" data-bs-toggle="collapse" data-bs-target="#collapse{{res3.id}}" aria-expanded="true" aria-controls="collapse{{res3.id}}">
  285.                                                     <i class="fa {{ ac == 1 ? 'fa-plus-circle' : 'fa-plus-circle' }}" style="margin-right:10px;font: normal!important;" aria-hidden="true"></i>{% if app.request.locale == 'en' %}{{res3.TitreEn|raw}}{% else %}{{res3.TitreFr|raw}}{% endif %}
  286.                                                     </button>
  287.                                                 </h2>
  288.                                                         
  289.                                                 <div id="collapseOne" class="accordion-collapse collapse {% if ac == 1 %}{% endif %}" aria-labelledby="heading{{res3.id}}" data-bs-parent="#accordionExample">
  290.                                                     <div class="accordion-body">
  291.                                                         <div class="accordion-hr"></div>
  292.                                                         {% if app.request.locale == 'en' %}{{res3.TexteEn|raw}}{% else %}{{res3.TexteFr|raw}}{% endif %}   
  293.                                                     </div>
  294.                                                 </div>
  295.                                             </div>
  296.                                         {% endfor %}
  297.                                     </div>                                                        
  298.                                 </div>
  299.                                 <script>
  300.                                     $(document).ready(function () {
  301.                                         $('.accordion-button').click(function () {
  302.                                             $(this).find('i').toggleClass('fa-plus-circle fa-minus-circle');
  303.                                             $('.accordion-button').not(this).find('i').removeClass('fa-minus-circle').addClass('fa-plus-circle');
  304.                                         });
  305.                                     });
  306.                                </script>
  307.  
  308.                                 {% if app.user %}           
  309.                                     <br>
  310.                                     <div class="d-flex justify-content-center">
  311.                                         <a href="{{path('app_accordeons_index',{'contenu':res2.contenuses.0.id})}}"><button type="button"  style="margin-bottom:5px" class="btn btn-info"  >Gérer les accordéons</button></a>
  312.                                     </div>
  313.                                 {% endif %}
  314.               
  315.                             {% endif %}
  316.                             <!-- ///\\\ ///\\\ FIN ACCORDEON  ///\\\ ///\\\  -->
  317.                         {% endif %}
  318.                             
  319.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  320.                         {% if res2.contenuses is not empty %}
  321.                             <!-- ///\\\ ///\\\ BOX PICTO CAROUSEL ///\\\ ///\\\  -->
  322.                             {% if res2.contenuses.0.typesContenus.id == 10 %}
  323.                                 <div data-aos="fade-up" data-aos-duration="1000" class="container d-flex paddingPerso2" >
  324.                                     <div class="slider-demo-valeur">
  325.                                         {% for carou in  res2.contenuses.0.carousels %}
  326.                                             <div data-aos="fade-up" data-aos-duration="1000" class="carte ">
  327.                                                 <div class="col-12">
  328.                                                     <div class="image d-flex justify-content-center">
  329.                                                         <img src="{{asset('uploads/carousels/'~carou.image)}}" alt="{% if app.request.locale == 'en' %}{{carou.titreEn}}{% else %}{{carou.titreFr}}{% endif %}">
  330.                                                     </div>
  331.                                                     <div class="corps-carte">
  332.                                                         <div class="tete-carte">
  333.                                                             <p>{% if app.request.locale == 'en' %}{{carou.titreEn|raw}}{% else %}{{carou.titreFr|raw}}{% endif %} </p>
  334.                                                         </div>
  335.                                                         <div class="texte-carte">
  336.                                                             <div class="texte-1">
  337.                                                                 {% if app.request.locale == 'en' %}{{carou.texteEn|raw}}{% else %}{{carou.texteFr|raw}}{% endif %} 
  338.                                                             </div>
  339.                                                         </div>
  340.                                                     </div>
  341.                                                 </div>
  342.                                             </div>
  343.                                         {% endfor %}
  344.                                     </div>
  345.                                 </div>
  346.                             {% endif %}
  347.                                 
  348.                             {% if app.user %}
  349.                                 {% if res2.contenuses.0.typesContenus.id == 10 %}            
  350.                                     <br>
  351.                                     <div data-aos="fade-up" data-aos-duration="1000" class="d-flex justify-content-center">
  352.                                         <a href="{{path('app_carousels_index',{'contenu':res2.contenuses.0.id})}}"><button type="button"  style="margin-bottom:5px" class="btn btn-info"  >Gérer les carousels</button></a>
  353.                                     </div>
  354.                                 {% endif %}
  355.                             {% endif %}
  356.                             <!-- ///\\\ ///\\\ FIN BOXPICTO CAROUSEL ///\\\ ///\\\  -->
  357.                         {% endif %}
  358.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  359.                         {% if res2.contenuses is not empty %}
  360.                             <!-- ///\\\ ///\\\ BOX PICTO CAROUSEL ///\\\ ///\\\  -->
  361.                             {% if res2.contenuses.0.typesContenus.id == 11  %}
  362.                                 <div  class="row justify-content-center justify-content-md-start" >
  363.                                     <div class="col-12">
  364.                                         <div class="row pb-4">
  365.                                             <div class="titre ">
  366.                                                 <p class="opensans_bold_red_15">TEMOIGNAGES</p>
  367.                                             </div>
  368.                                         </div>  
  369.                                     </div> 
  370.                                 </div>
  371.                                 {% set tem = -1 %}
  372.                                 <div class="row text-light" >
  373.                                     <div class="col-12">
  374.                                         <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
  375.                                             <div class="carousel-indicators">
  376.                                                 {% for res in temoignages %}
  377.                                                     {% set tem = tem + 1 %}
  378.                                                     <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="{{tem}}" {% if tem == 0 %}class="active" aria-current="true"{% endif %} aria-label="Slide {{tem}}"></button>
  379.                                                 {% endfor %}
  380.                                             </div>
  381.                                             {% set tem2 = -1 %}
  382.                                             <div class="carousel-inner">
  383.                                                 {% for res in temoignages %}
  384.                                                     {% set tem2 = tem2 + 1 %}
  385.                                                     <div class="carousel-item {% if tem2 == 0 %}active{% endif %}">
  386.                                                         <div class="row text-light">
  387.                                                             <h2 class="">{{res.titre}}</hé>
  388.                                                         </div>
  389.                                                         <br>
  390.                                                         <p class="citation ">{{res.texte}}</p>
  391.                                                         <br>
  392.                                                         <p style="color:red; font-weight: bold; ">{{res.auteur}}</p>  
  393.                                                     </div>
  394.                                                 {% endfor %}
  395.                                             </div>
  396.                                             <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
  397.                                                 <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  398.                                                 <span class="visually-hidden">Previous</span>
  399.                                             </button>
  400.                                             <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
  401.                                                 <span class="carousel-control-next-icon" aria-hidden="true"></span>
  402.                                                 <span class="visually-hidden">Next</span>
  403.                                             </button>
  404.                                         </div>
  405.                                     </div>
  406.                                 </div>
  407.                                 {% if app.user %}
  408.                                     {% if res2.contenuses.0.typesContenus.id == 11 %}        
  409.                                         <br>
  410.                                         <div class="d-flex justify-content-center">
  411.                                             <a href="{{path('app_temoignages_index')}}"><button type="button"  style="margin-bottom:5px" class="btn btn-info"  >Gérer les témoignages</button></a>
  412.                                         </div>
  413.                                     {% endif %}
  414.                                 {% endif %}
  415.                             {% endif %}
  416.                             <!-- ///\\\ ///\\\ FIN BOX PICTO CAROUSEL ///\\\ ///\\\  -->
  417.                         {% endif %}
  418.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  419.                         {% if res2.contenuses is not empty %}
  420.                             <!-- ///\\\ ///\\\ CAROUSEL ///\\\ ///\\\  -->
  421.                                 {% if res2.contenuses.0.typesContenus.id == 9 %}
  422.                                     <div class="formation">
  423.                                         <div class="container-carousel-true">
  424.                                             <div class="slider-demo-galerie " style="padding-bottom:120px;">
  425.                                                 {% for carou in  res2.contenuses.0.carousels %}
  426.                                                     <div class="carteFormation" style="">                                       
  427.                                                         <img src="{{asset('uploads/carousels/'~carou.image)}}" alt="{% if app.request.locale == 'en' %}{{carou.titreEn}}{% else %}{{carou.titreFr}}{% endif %}">
  428.                                                         {% if carou.titreEn != '' or carou.titreFr != '' %}
  429.                                                             <div class="image-overlay1">
  430.                                                                 <p class="sous-title-manufa">{% if app.request.locale == 'en' %}{{carou.titreEn|raw}}{% else %}{{carou.titreFr|raw}}{% endif %}</p>
  431.                                                             </div>
  432.                                                         {% endif %}
  433.                                                         {% if carou.texteEn != '' or carou.texteFr != '' %}
  434.                                                             {% if app.request.locale == 'en' %}{{carou.texteEn|raw}}{% else %}{{carou.texteFr|raw}}{% endif %}
  435.                                                         {% endif %}
  436.                                                     </div>
  437.                                                 {% endfor %}
  438.                                             </div>
  439.                                         </div>
  440.                                     </div>
  441.                                 {% endif %}
  442.                                 
  443.                                 {% if app.user %}
  444.                                     {% if res2.contenuses.0.typesContenus.id == 9 %}              
  445.                                         <br>
  446.                                         <div class="d-flex justify-content-center">
  447.                                             <a href="{{path('app_carousels_index',{'contenu':res2.contenuses.0.id})}}"><button type="button"  style="margin-bottom:5px" class="btn btn-info"  >Gérer les carousels</button></a>
  448.                                         </div>
  449.                                     {% endif %}
  450.                                 {% endif %}
  451.                                       
  452.                             <!-- ///\\\ ///\\\ FIN CAROUSEL ///\\\ ///\\\  -->
  453.                         {% endif %}
  454.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  455.                         {% if res2.contenuses is not empty %}
  456.                             <!-- ///\\\ ///\\\ CHIFFRES CLES ///\\\ ///\\\  -->
  457.                                  {% if res2.contenuses.0.typesContenus.id == 5  %}
  458.                                     <div class="cartes-3" style="background:{{res2.contenuses.0.background}}; border-radius: 30px;">
  459.                                         <div class="carte">
  460.                                             {% if res2.contenuses.0.image is not empty %}
  461.                                                 <img src="{{asset('uploads/contenus/'~res2.contenuses.0.image)}}" alt="" style="width:100%;height:100%;border-radius:25px;">
  462.                                             {% else %}
  463.                                                 <div class="titre">
  464.                                                     <p>{% if app.request.locale == 'en' %}{{res2.contenuses.0.titreEn|raw}}{% else %}{{res2.contenuses.0.titreFr|raw}}{% endif %} </p>
  465.                                                 </div>
  466.                                                 <div class="texte">
  467.                                                     {% if app.request.locale == 'en' %}{{res2.contenuses.0.texteEn|raw}}{% else %}{{res2.contenuses.0.texteFr|raw}}{% endif %} 
  468.                                                 </div>
  469.                                             {% endif %}
  470.                                         </div>
  471.                                     </div>
  472.                                 {% endif %}
  473.                             <!-- ///\\\ ///\\\ FIN CHIFFRES CLES ///\\\ ///\\\  -->
  474.                         {% endif %}
  475.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  476.         
  477.                         
  478.                         {% if res2.contenuses is not empty %}
  479.                             <!-- ///\\\ ///\\\ CHIFFRES CLES 2 ///\\\ ///\\\  -->
  480.                                 {% if res2.contenuses.0.typesContenus.id == 6  %}
  481.                                     <div class="accueil4">
  482.                                         <div {% if res2.contenuses.0.titreFr|length > 4 %}id="soixante-dix"{% endif %} class="carte">
  483.                                             <div class="tete-carte" style="background-color:{{res2.contenuses.0.background}}">
  484.                                                 <div class="chiffre justify-content-center" style="background-color:{{res2.contenuses.0.background}}">
  485.                                                     {% if app.request.locale == 'en' %}{{res2.contenuses.0.titreEn|raw}}{% else %}{{res2.contenuses.0.titreFr|raw}}{% endif %} 
  486.                                                 </div>
  487.                                             </div>
  488.                                             <div class="texte">
  489.                                                 {% if app.request.locale == 'en' %}{{res2.contenuses.0.texteEn|raw}}{% else %}{{res2.contenuses.0.texteFr|raw}}{% endif %} 
  490.                                             </div>
  491.                                         </div>
  492.                                     </div>
  493.                                 {% endif %}
  494.                             <!-- ///\\\ ///\\\ FIN CHIFFRES CLES 2 ///\\\ ///\\\  -->
  495.                         {% endif %}
  496.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  497.                         {% if res2.contenuses is not empty %}
  498.                             <!-- ///\\\ ///\\\ BOX PICTO + LIEN ///\\\ ///\\\  -->
  499.                                 {% if res2.contenuses.0.typesContenus.id == 13 %}
  500.                                     <div data-aos="fade-up" data-aos-duration="1000" class="carte">
  501.                                         <div class="image d-flex justify-content-center">
  502.                                             <img src="{{asset('uploads/contenus/'~res2.contenuses.0.image)}}" alt="{% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}">
  503.                                         </div>
  504.                                         <div class="corps-carte">
  505.                                             <div class="tete-carte" style="background-color:{{res2.contenuses.0.background}}">
  506.                                                 <p>{% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}</p>
  507.                                             </div>
  508.                                             <div class="texte-carte" style="min-height:204px; background-color:{{res2.contenuses.0.couleur1}}">
  509.                                                 <div class="texte-1">
  510.                                                     {% if app.request.locale == 'en' %}{{res2.contenuses.0.TexteEn|raw}}{% else %}{{res2.contenuses.0.TexteFr|raw}}{% endif %}
  511.                                                 </div>
  512.                                             </div>    
  513.                                         /div>
  514.                                     </div>
  515.                                 {% endif %}
  516.                             <!-- ///\\\ ///\\\ FIN BOX PICTO + LIEN ///\\\ ///\\\  -->
  517.        
  518.                         {% endif %}
  519.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  520.                         {% if res2.contenuses is not empty %}
  521.                             <!-- ///\\\ ///\\\ BOUTTON ///\\\ ///\\\  -->    
  522.                                 {% if res2.contenuses.0.typesContenus.id == 12 %}                  
  523.                                     <a href="{{res2.contenuses.0.document}}" target="_blank" style="text-decoration:none;">
  524.                                         <button type="button btn-modal" class="" 
  525.                                             style="
  526.                                                 background-color:{{res2.contenuses.0.background}}; 
  527.                                                 border:solid 3px {{res2.contenuses.0.couleur1}};
  528.                                                 border-radius: 30px!important;
  529.                                                 padding-right: 2%!important;
  530.                                                 padding-left: 2%!important;
  531.                                                 padding-top: 3%!important;   
  532.                                                 width: 400px;
  533.                                                 float:right;
  534.                                         ">
  535.                                         {% if app.request.locale == 'en' %}{{res2.contenuses.0.TexteEn|raw}}{% else %}{{res2.contenuses.0.TexteFr|raw}}{% endif %}</button>
  536.                                     </a>
  537.                                 {% endif %}
  538.                                 <!-- ///\\\ ///\\\ FIN BOUTTON ///\\\ ///\\\  --> 
  539.                         {% endif %}
  540.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  541.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  542.                             <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  543.                         <!-- ///\\\ ///\\\ BOUTON MODIFIER CMS ///\\\ ///\\\  --> 
  544.                         {% if res2.contenuses is not empty %}
  545.                             {% if res2.contenuses.0.typesContenus.id != 8 and res2.contenuses.0.typesContenus.id != 10 and res2.contenuses.0.typesContenus.id != 9 %}
  546.                                 {% if app.user %}
  547.                                     <div class="d-flex justify-content-center mb-3">
  548.                                         <a href="{{path('app_editContent',{'id':res2.contenuses.0.id,'type':res2.contenuses.0.typesContenus.libelle})}}">
  549.                                             <div class="d-flex justify-content-center align-items-center cubeIcon">
  550.                                                 <i class="fa-solid fa-pen"></i>
  551.                                             </div>
  552.                                         </a>
  553.                                         <a href="{{path('app_deleteContent',{'id':res2.contenuses.0.id})}}" onclick="return confirm('Êtes-vous sûr ?')">
  554.                                             <div class="d-flex justify-content-center align-items-center cubeIcon2">
  555.                                                 <i class="fa-solid fa-trash"></i>
  556.                                             </div>
  557.                                         </a>
  558.                                     </div>
  559.                                 {% endif %}
  560.                             {% endif %}
  561.                         {% endif %}
  562. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\   -->                   
  563. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\    MODAL CONTENUS    ///\\\ ///\\\ ///\\\ ///\\\ ///\\\   -->
  564. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  565. {% if app.user %}
  566.     {% if res2.contenuses is  empty %}
  567.         <button type="button" style="margin-bottom:5px" class="btn btn-warning" data-bs-toggle="modal" data-bs-target="#addContenu{{res2.id}}" >Ajouter un contenu</button>
  568.     {% endif %}
  569. <!-- ///\\\ ///\\\ MODAL CONTENUS ///\\\ ///\\\  --> 
  570.     <div class="modal fade" id="addContenu{{res2.id}}" tabindex="-1" aria-labelledby="addContenu" aria-hidden="true">
  571.         <div class="modal-dialog">
  572.             <div class="modal-content">
  573.                 <div class="modal-body">
  574.                     <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  575.                     <div class="container-modal d-flex flex-column">
  576.                         <h2>Ajouter un contenu</h2>
  577.                         <p>Les «blocs» peuvent contenir chacun un «Contenu» dédiés à du texte, une image, un lien youtube, …</p>
  578.                     </div>
  579.                     
  580.                     <div class="container-contenu d-flex flex-wrap  justify-content-start">
  581.                         <a href="{{path('app_addContent',{'bloc':res2.id,'type':'texte'})}}">
  582.                             <div class="container-picto container-picto-texte">
  583.                                 <div class="simu-grid-picto d-flex justify-content-center align-items-center">
  584.                                     <img src="{{asset('img/cms/cpi-textes.svg')}}" alt="">
  585.                                 </div>
  586.                                 <p class="colonneText text-center">Texte</p>
  587.                             </div>
  588.                         </a>
  589.                         <a href="{{path('app_addContent',{'bloc':res2.id,'type':'image'})}}">
  590.                             <div class="container-picto container-picto-texte">
  591.                                 <div class="simu-grid-picto d-flex justify-content-center align-items-center">
  592.                                     <img src="{{asset('img/cms/cpi-images.svg')}}" alt="">
  593.                                 </div>
  594.                                 <p class="colonneText text-center">Image</p>
  595.                             </div>
  596.                         </a>
  597.                         <a href="{{path('app_addContent',{'bloc':res2.id,'type':'video'})}}">
  598.                             <div class="container-picto container-picto-texte">
  599.                                 <div class="simu-grid-picto d-flex justify-content-center align-items-center">
  600.                                     <img src="{{asset('img/cms/cpi-videos.svg')}}" alt="">
  601.                                 </div>
  602.                                 <p class="colonneText text-center">Vidéo</p>
  603.                             </div>
  604.                         </a>
  605.                        
  606.                        
  607.                       
  608.                        
  609.                         <a href="{{path('app_addContent',{'bloc':res2.id,'type':'temoignage'})}}">
  610.                             <div class="container-picto container-picto-texte">
  611.                                 <div class="simu-grid-picto d-flex justify-content-center align-items-center">
  612.                                     <img src="{{asset('img/cms/cpi-temoignage.svg')}}" alt="">
  613.                                 </div>
  614.                                 <p class="colonneText text-center">Témoignage</p>
  615.                             </div>
  616.                         </a>
  617.                         <a href="{{path('app_addContent',{'bloc':res2.id,'type':'button'})}}">
  618.                             <div class="container-picto container-picto-texte">
  619.                                 <div class="simu-grid-picto d-flex justify-content-center align-items-center">
  620.                                     <img src="{{asset('img/cms/cpi-btn.svg')}}" alt="" style="width:57px">
  621.                                 </div>
  622.                                 <p class="colonneText text-center">Bouton</p>
  623.                             </div>
  624.                         </a> 
  625.                            
  626.                     </div>
  627.                     <div class="modal-submit d-flex justify-content-end align-items-end">
  628.                         <button type="submit" class=" btnAdd btnAdd2">Ajouter</button>
  629.                     </div>
  630.                 </div>
  631.             </div>
  632.         </div> 
  633.     </div>   
  634. <!-- ///\\\ ///\\\ FIN MODAL CONTENUS ///\\\ ///\\\  -->                                                                        
  635. <!-- ///\\\ ///\\\ MODAL CONTENUS 2 ///\\\ ///\\\  -->                             
  636.     <div class="modal fade" id="addContenu{{res2.id}}" tabindex="-1" aria-labelledby="addContenu" aria-hidden="true">
  637.         <div class="modal-dialog">
  638.             <div class="modal-content">
  639.                 <div class="modal-body">
  640.                     <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  641.                     <div class="container-modal d-flex flex-column">
  642.                         <h2>Ajouter un contenu</h2>
  643.                         <p>Les «blocs» sont des éléments de « Section » répartis en colonnes contenant chacun un «Contenu» dédiés à du texte, une image ou un lien youtube.</p>
  644.                     </div>
  645.                     
  646.                     <div class="container-grid-choix d-flex flex-wrap justify-content-around ">
  647.                         <a href="{{path('app_addContent',{'bloc':res2.id,'type':'texte'})}}">
  648.                             <div class="container-choix">
  649.                                 <div class="simu-grid d-flex justify-content-center align-items-center">
  650.                                     <div class="simu-col simu-col-12 d-flex justify-content-center align-items-center">
  651.                                         <p>12</p>
  652.                                     </div>
  653.                                 </div>
  654.                                 <p class="colonneText text-center">Texte</p>
  655.                             </div>
  656.                         </a>
  657.                     <a href="{{path('app_addBloc',{'ligne':res.id,'type':66})}}">
  658.                         <div class="container-choix">
  659.                             <div class="simu-grid d-flex justify-content-around align-items-center">
  660.                                 <div class="simu-col simu-col-6 d-flex justify-content-center align-items-center">
  661.                                     <p>6</p>
  662.                                 </div>
  663.                                 <div class="simu-col simu-col-6 d-flex justify-content-center align-items-center">
  664.                                     <p>6</p>
  665.                                 </div>
  666.                             </div>  
  667.                             <p class="colonneText text-center">3 colonne</p>
  668.                         </div>
  669.                     </a>
  670.                     <a href="{{path('app_addBloc',{'ligne':res.id,'type':444})}}">
  671.                         <div class="container-choix">
  672.                             <div class="simu-grid d-flex justify-content-around align-items-center">
  673.                                 <div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
  674.                                     <p>4</p>
  675.                                 </div>
  676.                                 <div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
  677.                                     <p>4</p>
  678.                                 </div>
  679.                                 <div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
  680.                                     <p>4</p>
  681.                                 </div>
  682.                             </div>
  683.                             <p class="colonneText text-center">2 colonne</p>
  684.                         </div>
  685.                     </a>
  686.                     <a href="{{path('app_addBloc',{'ligne':res.id,'type':84})}}">
  687.                         <div class="container-choix">
  688.                             <div class="simu-grid d-flex justify-content-around align-items-center">
  689.                                 <div class="simu-col simu-col-8 d-flex justify-content-center align-items-center">
  690.                                     <p>8</p>
  691.                                 </div>
  692.                                 <div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
  693.                                     <p>4</p>
  694.                                 </div>
  695.                             </div>
  696.                             <p class="colonneText text-center">2 colonne</p>
  697.                         </div>
  698.                     </a>
  699.                     <a href="{{path('app_addBloc',{'ligne':res.id,'type':48})}}">
  700.                         <div class="container-choix">
  701.                             <div class="simu-grid d-flex justify-content-around align-items-center">
  702.                                 <div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
  703.                                     <p>4</p>
  704.                                 </div>
  705.                                 <div class="simu-col simu-col-8 d-flex justify-content-center align-items-center">
  706.                                     <p>8</p>
  707.                                 </div>                    
  708.                             </div>
  709.                             <p class="colonneText text-center">2 colonne</p>
  710.                         </div>
  711.                     </a>
  712.                 </div>
  713.                 <div class="modal-submit d-flex justify-content-end align-items-end">
  714.                     <button type="submit" class=" btnAdd btnAdd2">Ajouter</button>
  715.                 </div>
  716.             </div>
  717.         </div>
  718.     </div> 
  719. </div>
  720. {% endif %}
  721. <!-- ///\\\ ///\\\ FIN MODAL CONTENUS 2 ///\\\ ///\\\  -->  
  722. </div>
  723. {% endfor %}                       
  724. </div>
  725. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->                   
  726. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\    MODAL BLOCK       ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  727. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  728.                       
  729. {% if app.user %}
  730.     <div style="d-flex justify-content-center padding-top:20px">
  731.         <button type="button" class="btn btn-warning" data-bs-toggle="modal" data-bs-target="#addBloc{{res.id}}" >Ajouter un bloc</button>
  732.             <div class="modal fade" id="addBloc{{res.id}}" tabindex="-1" aria-labelledby="addBloc" aria-hidden="true">
  733.                 <div class="modal-dialog">
  734.                     <div class="modal-content">
  735.                         <div class="modal-body">
  736.                             <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  737.                             <div class="container-modal d-flex flex-column">
  738.                                 <h2>Ajouter un bloc</h2>
  739.                                 <p>Les «blocs» sont des éléments de « Section » répartis en colonnes contenant chacun un «Contenu» dédiés à du texte, une image ou un lien youtube.</p>
  740.                             </div>
  741.                             
  742.                             <div class="container-grid-choix d-flex flex-wrap justify-content-around ">
  743.                                 <a href="{{path('app_addBloc',{'ligne':res.id,'type':12})}}">
  744.                                     <div class="container-choix">
  745.                                         <div class="simu-grid d-flex justify-content-center align-items-center">
  746.                                             <div class="simu-col simu-col-12 d-flex justify-content-center align-items-center">
  747.                                                 <p>12</p>
  748.                                             </div>
  749.                                         </div>
  750.                                         <p class="colonneText text-center">1 colonne</p>
  751.                                     </div>
  752.                                 </a>
  753.                                 <a href="{{path('app_addBloc',{'ligne':res.id,'type':66})}}">
  754.                                     <div class="container-choix">
  755.                                         <div class="simu-grid d-flex justify-content-around align-items-center">
  756.                                             <div class="simu-col simu-col-6 d-flex justify-content-center align-items-center">
  757.                                                 <p>6</p>
  758.                                             </div>
  759.                                             <div class="simu-col simu-col-6 d-flex justify-content-center align-items-center">
  760.                                                 <p>6</p>
  761.                                             </div>
  762.                                         </div>
  763.                                         <p class="colonneText text-center">2 colonnes</p>
  764.                                     </div>
  765.                                 </a>
  766.                                
  767.                                
  768.                                
  769.                               
  770.                             </div>
  771.                             <div class="modal-submit d-flex justify-content-end align-items-end">
  772.                                 <button type="submit" class=" btnAdd btnAdd2">Ajouter</button>
  773.                             </div>
  774.                         </div>
  775.                     </div>
  776.                 </div> 
  777.             </div>
  778. {% endif %}                 
  779.     </div>
  780. </div>
  781. {% endfor %}
  782. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->                   
  783. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\    MODAL SECTION     ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  784. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  785. <!-- ///\\\ ///\\\  UPDATE SECTION ///\\\ ///\\\  -->  
  786. {% if app.user %}
  787.     <div class="d-flex justify-content-center mb-3">
  788.         <a href="{{path('app_updateSectionActu',{'id':section.id,'pages':actu.id})}}" style="color:white; text-decoration:none">
  789.             <div class="d-flex justify-content-center align-items-center cubeIcon" style="width:200px">
  790.                 <i class="fa-solid fa-pen" style="padding-right:10px"></i> Modifier la section
  791.             </div>
  792.         </a>
  793.         <a href="{{path('app_deleteSection',{'id':section.id,'pages':actu.id})}}" onclick="return confirm('Êtes-vous sûr ?')" style="color:white; text-decoration:none">
  794.             <div class="d-flex justify-content-center align-items-center cubeIcon2" style="width:200px">
  795.                 <i class="fa-solid fa-trash" style="padding-right:10px"></i> Supprimer la section
  796.             </div>
  797.         </a>
  798.     </div>
  799. {% endif %}
  800. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->  
  801. <!-- ///\\\ ///\\\  FIN SECTION + FORME BLEU SOUS SECTION DANS LE DOM ///\\\ ///\\\  --> 
  802. </section>
  803. <div class="container">
  804.     <div class="formeBleu">
  805.         <div class="row justify-content-center d-flex">
  806.             {% if section.rond != '' %}
  807.                 <img src="{{asset('uploads/sections/'~section.rond)}}" class="img-fluid d-none d-lg-block">                        
  808.             {% endif %}
  809.         </div>
  810.     </div>
  811. </div>
  812. {% endfor %}
  813. <!-- ///\\\ ///\\\  AJOUT SECTION DANS LE DOM ///\\\ ///\\\  --> 
  814. {% if app.user %}
  815.     <div style="{% if sections|length > 0 %}padding-top:20px{% else %}padding-top:20px{% endif %}" align="center">
  816.         <!-- Button trigger modal -->
  817.         <hr style="border-top:dashed #000;">
  818.         <a data-bs-toggle="modal" data-bs-target="#addSection"
  819.             style="
  820.                 font-size: 25px;
  821.                 font-weight: bold;
  822.                 color: #bfbfbf; cursor:pointer"
  823.             >
  824.             + Ajouter une section</a>
  825.             <hr  style="border-top:dashed #000;">
  826.     </div>
  827. <script>
  828.     function saveColor(value) {
  829.         $('#couleurSection').val(value);
  830.     }
  831. </script>
  832. <!-- ///\\\ ///\\\  MODAL AJOUT SECTION ///\\\ ///\\\  -->  
  833. <div class="modal fade" id="addSection" tabindex="-1" aria-labelledby="addSection" aria-hidden="true">
  834.     <div class="modal-dialog">
  835.         <div class="modal-content">
  836.             <div class="modal-body">
  837.                 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  838.                 <div class="container-modal d-flex flex-column">
  839.                     <h2>Ajouter une section</h2>
  840.                     <p>Les pages dont composées «Sections» contenant chacune des « Blocs » de « Contenus » répartis en colonnes</p>
  841.                 </div>
  842.                 <form action="{{path('app_addSection')}}" method="post" enctype="multipart/form-data">
  843.                     <input type="hidden" name="actualite" value="{{actu.id}}">
  844.                    
  845.                  
  846.                     <div class="container-contenus-modal">
  847.                         <h3>Ordre affichage</h3>
  848.                         <input type="number" name="ordreSection" id="ordreSection" value="{{ordreMax}}">
  849.                     </div>
  850.                     <div class="container-contenus-modal">
  851.                         
  852.                         <input type="hidden" name="couleurSection" id="couleurSection" value="#fff">
  853.                         
  854.                     </div>
  855.                     <div class="modal-submit d-flex justify-content-center">
  856.                         <button type="submit" class=" btnAdd">Ajouter</button>
  857.                     </div>    
  858.                 </form>
  859.             </div>
  860.         </div>
  861.     </div> 
  862. </div>
  863. {% endif %}
  864. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->                   
  865. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\    SCRIPT PCONTENT   ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  866. <!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\  -->
  867. <!-- ///\\\ ///\\\  SCRIPT ACCORDEON ///\\\ ///\\\  -->  
  868. <script>
  869.     let accordionHeaders = document.querySelectorAll('.accordion-header');
  870.     accordionHeaders.forEach(header => {
  871.         let button = header.querySelector('.texteDeroulant button');
  872.         button.addEventListener('click', function () {
  873.             let parentAccordion = header.closest('.accordion');
  874.             let buttons = parentAccordion.querySelectorAll('.texteDeroulant button');
  875.             let content = header.nextElementSibling; // The content section to show/hide
  876.             // Check if the content section is already open
  877.             if (content.classList.contains('show')) {
  878.                 // Close the content section
  879.                 content.classList.remove('show');
  880.                 content.classList.add('collapse');
  881.             } else {
  882.                 // Close all other open sections (if any) and open this content section
  883.                 buttons.forEach(btn => {
  884.                     let contentToClose = btn.parentElement.nextElementSibling;
  885.                     if (contentToClose.classList.contains('show')) {
  886.                         contentToClose.classList.remove('show');
  887.                         contentToClose.classList.add('collapse');
  888.                     }
  889.                 });
  890.                 // Open the content section
  891.                 content.classList.remove('collapse');
  892.                 content.classList.add('show');
  893.             }
  894.             // Toggle the button color
  895.             if (button.style.color !== 'red') {
  896.                 buttons.forEach(btn => {
  897.                     btn.style.color = 'white';
  898.                 });
  899.                 button.style.color = 'red';
  900.             } else {
  901.                 button.style.color = 'white';
  902.             }
  903.         });
  904.     });
  905.     let buttonsForIcon = document.querySelectorAll('.texteDeroulant button');
  906.     let icons = document.querySelectorAll('.jsIcon');
  907.     let previousIcon = null;
  908.     buttonsForIcon.forEach((button, index) => {
  909.         let icon = icons[index];
  910.         button.addEventListener('click', function () {
  911.             if (previousIcon !== null && previousIcon !== icon) {
  912.                 // Restore the previous icon to fa-plus-circle
  913.                 previousIcon.classList.remove('fa-minus-circle');
  914.                 previousIcon.classList.add('fa-plus-circle');
  915.             }
  916.             if (icon.classList.contains('fa-plus-circle')) {
  917.                 icon.classList.remove('fa-plus-circle');
  918.                 icon.classList.add('fa-minus-circle');
  919.             } else {
  920.                 icon.classList.remove('fa-minus-circle');
  921.                 icon.classList.add('fa-plus-circle');
  922.             }
  923.             previousIcon = icon;
  924.         });
  925.     });
  926. </script>
  927. </section>
  928. </main>
  929.          
  930.          
  931.         
  932.          
  933.            <script type="text/javascript">
  934.             $(document).ready(function(){
  935.                 $('.slider-demo-valeur').slick({
  936.                     arrows: true,
  937.                     infinite:true,
  938.                     prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
  939.                     nextArrow: '<button type="button" data-role="none" class="slick-next">Next</button>',
  940.                     slidesToShow:4,
  941.                     slidesToScroll:4,
  942.                     responsive:[{
  943.                         breakpoint:1400,
  944.                         settings:{
  945.                             slidesToShow:3,  
  946.                             slidesToScroll:3,            
  947.                         }
  948.                     },{
  949.                         breakpoint:1200,
  950.                         settings:{
  951.                             slidesToShow:2,
  952.                             slidesToScroll:2, 
  953.                         }
  954.                     },
  955.                     {
  956.                         breakpoint:769,
  957.                         settings:{
  958.                             slidesToShow:1,
  959.                             slidesToScroll:1, 
  960.                         }
  961.                     }],
  962.                 });
  963.             });
  964.         </script>
  965.         <script>
  966.             function changeLanguage(selectedButton, modalId) {
  967.                 let modal = document.getElementById(modalId);
  968.                 let buttons = modal.querySelectorAll(".button-langue");
  969.                 let inputField = modal.querySelector(".sectionTitle");
  970.                 
  971.                 buttons.forEach((button) => {
  972.                     if (button === selectedButton) {
  973.                         button.classList.add("button-langue-active");
  974.                         button.classList.remove("button-langue-noactive");
  975.         
  976.                         // Set the input field value based on the active language
  977.                         switch (button.textContent) {
  978.                             case "FR":
  979.                                 inputField.value = "Titre de la section FR";
  980.                                 break;
  981.                             case "EN":
  982.                                 inputField.value = "Section Title EN";
  983.                                 break;
  984.                             case "DE":
  985.                                 inputField.value = "Abschnittstitel DE";
  986.                                 break;
  987.                             // Add cases for other languages if needed
  988.                             default:
  989.                                 inputField.value = "";
  990.                         }
  991.                     } else {
  992.                         button.classList.remove("button-langue-active");
  993.                         button.classList.add("button-langue-noactive");
  994.                     }
  995.                 });
  996.             }
  997.         
  998.             function changeColor(selectedColorButton, modalId) {
  999.                 let modal = document.getElementById(modalId);
  1000.                 const colorButtons = modal.querySelectorAll(".button-couleur");
  1001.                 colorButtons.forEach((colorButton) => {
  1002.                     if (colorButton === selectedColorButton) {
  1003.                         colorButton.classList.add("button-color-active");
  1004.                         colorButton.classList.remove("button-color-noactive");
  1005.                     } else {
  1006.                         colorButton.classList.remove("button-color-active");
  1007.                         colorButton.classList.add("button-color-noactive");
  1008.                     }
  1009.                 });
  1010.             }
  1011.         
  1012.             function clearDefaultText(inputField) {
  1013.                 // Clear the default value if it matches the default text
  1014.                 if (inputField.value === inputField.defaultValue) {
  1015.                     inputField.value = '';
  1016.                 }
  1017.             }
  1018.         
  1019.             function restoreDefaultText(inputField) {
  1020.                 // Restore the default value if the input is empty
  1021.                 if (inputField.value === '') {
  1022.                     inputField.value = inputField.defaultValue;
  1023.                 }
  1024.             }
  1025. </script>
  1026.         
  1027.   
  1028.        
  1029. <!-- ///\\\ ///\\\  IMPORT ///\\\ ///\\\  -->  
  1030. <script src="https://code.jquery.com/jquery-3.7.0.js" integrity="sha256-JlqSTELeR4TLqP0OG9dxM7yDPqX1ox/HfgiSLBj8+kM=" crossorigin="anonymous"></script>
  1031. <script src="{{asset('js/jquery-latest.min.js')}}"></script>
  1032. <script src="{{asset('slick/slick.js')}}"></script>
  1033. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
  1034. <script type="text/javascript">
  1035.     $(document).ready(function() {
  1036.         $('.slider-demo-galerie').slick({
  1037.             arrows: true,
  1038.             infinite:true,
  1039.             autoplay: true, // Ajout de l'option autoplay
  1040.             autoplaySpeed: 4000, // Durée de chaque diapositive en millisecondes
  1041.             slidesToShow:4,
  1042.             slidesToScroll:4,
  1043.             prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
  1044.             nextArrow: '<button type="button" data-role="none" class="slick-next">Next</button>',
  1045.             responsive:[{
  1046.                 breakpoint:1400,
  1047.                 settings: {
  1048.                     slidesToShow:3,  
  1049.                     slidesToScroll:3,            
  1050.                 }
  1051.                 },{
  1052.                     
  1053.                 breakpoint:1200,
  1054.                 settings:{
  1055.                     slidesToShow:2,
  1056.                     slidesToScroll:2, 
  1057.                 }
  1058.                 },
  1059.                 {
  1060.                 breakpoint:769,
  1061.                 settings:{
  1062.                     slidesToShow:1,
  1063.                     slidesToScroll:1, 
  1064.                 }
  1065.             }],
  1066.         });
  1067.        
  1068.         $('.slider-demo-actu').slick({
  1069.             arrows: true,
  1070.             infinite: true,
  1071.             prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
  1072.             nextArrow: '<button type="button" data-role="none" class="slick-next">Next</button>',
  1073.             slidesToShow: 4,
  1074.             slidesToScroll: 4,
  1075.                 responsive:[{
  1076.                     breakpoint:1400,
  1077.                     settings:{
  1078.                         slidesToShow:3,  
  1079.                         slidesToScroll:3,            
  1080.                     }
  1081.                 },{
  1082.                     breakpoint:1200,
  1083.                     settings:{
  1084.                         slidesToShow:2,
  1085.                         slidesToScroll:2, 
  1086.                     }
  1087.                 },
  1088.                 {
  1089.                     breakpoint:769,
  1090.                     settings:{
  1091.                         slidesToShow:1,
  1092.                         slidesToScroll:1, 
  1093.                     }
  1094.                 }],
  1095.             });
  1096.         });
  1097.     </script>
  1098.                                     <!-- FIN CMS -->
  1099.                                            
  1100.                                     </div>
  1101.  <section class="nextandprevsection-responsive">
  1102.                                         <div class="container" style="margin-bottom:40px">
  1103.                                             <div class="row">
  1104.                                             <div class="col-xl-1"></div>
  1105.                                                 <div class="col-xl-10 col-12">
  1106.                                                 
  1107.                                                     <div class="col-12 container-next-prev d-flex justify-content-between">
  1108.                                                         <div class="col-6">
  1109.                                                         
  1110.                                                             {% if previousActu %}
  1111.                                                             {% if app.request.locale == 'fr' %}
  1112.                                                                 {% set titreNew = previousActu.titreFr|replace({' ':'_'}) %}
  1113.                                                             {% else %}
  1114.                                                                 {% set titreNew = previousActu.titreEn|replace({' ':'_'}) %}
  1115.                                                             {% endif %}
  1116.                                                             <a class="d-flex" href="{{ path('actualitesD', { 'id': previousActu.id, 'titre':titreNew,'locale':app.request.locale }) }}">
  1117.                                                                 <img class="img1" src="{{asset('uploads/actualites/'~previousActu.image)}}" alt="">
  1118.                                                                 <div class="d-flex flex-column text-next-prev text-prev">
  1119.                                                                     <p>{% if app.request.locale == 'fr' %}ARTICLE PRÉCÉDENT{% else %}PREVIOUS ARTICLE{% endif %}</p>
  1120.                                                                     <p>{% if app.request.locale == 'fr' %}{{ previousActu.titreFr }}{% else %}{{ previousActu.titreEn }}{% endif %}</p>
  1121.                                                                 </div>
  1122.                                                             </a>
  1123.                                                             {% endif %}
  1124.                                                         </div>
  1125.                                                         <div class="col-6">
  1126.                                                         
  1127.                                                             {% if nextActu %}
  1128.                                                             {% if app.request.locale == 'fr' %}
  1129.                                                                 {% set titreNew = nextActu.titreFr|replace({' ':'_'}) %}
  1130.                                                             {% else %}
  1131.                                                                 {% set titreNew = nextActu.titreEn|replace({' ':'_'}) %}
  1132.                                                             {% endif %}
  1133.                                                             <a class="d-flex flex-row-reverse" href="{{ path('actualitesD', { 'id': nextActu.id, 'titre':titreNew,'locale':app.request.locale }) }}">
  1134.                                                                 <img class="img2" src="{{asset('uploads/actualites/'~nextActu.image)}}" alt="">
  1135.                                                                 <div class="d-flex flex-column text-next-prev text-next text-end">
  1136.                                                                     <p>{% if app.request.locale == 'fr' %}ARTICLE SUIVANT{% else %}NEXT ARTICLE{% endif %}</p>
  1137.                                                                     <p>{% if app.request.locale == 'fr' %}{{ nextActu.titreFr }}{% else %}{{ nextActu.titreEn }}{% endif %}</p>
  1138.                                                                 </div>
  1139.                                                                 
  1140.                                                             </a>
  1141.                                                             {% endif %}
  1142.                                                         </div>
  1143.                                                     </div>
  1144.                                                 </div>
  1145.                                             </div>
  1146.                                             <div class="col-xl-1"></div>
  1147.                                         </div>
  1148.                                     </section>
  1149.                                     <div class="row">
  1150.                                            
  1151.                                         <div class="row d-flex justify-content-between mb-5" >
  1152.                                             <div class="pages" style="display:none">
  1153.                                                 <div class="col-6">
  1154.                                                     <a href="#">
  1155.                                                         <div class="page gauche">
  1156.                                                             <img class="img-fluid" src="img/categorie_news/preced.png" alt="">
  1157.                                                             <div class="texte">
  1158.                                                                 <div class="texte-1">
  1159.                                                                     <p>{% if app.request.locale == 'fr' %}ARTICLE PRÉCÉDENT{% else %}PREVIOUS ARTICLE{% endif %}</p>
  1160.                                                                 </div>
  1161.                                                                 <div class="texte-2">
  1162.                                                                     <p>Lorem ipsum dolor sit amet consectetur.</p>
  1163.                                                                 </div>
  1164.                                                             </div>
  1165.                                                         </div>
  1166.                                                     </a>
  1167.                                                     
  1168.                                                 </div>
  1169.                                                 <div class="col-6">
  1170.                                                     <a href="#">
  1171.                                                         <div class="page droite">
  1172.                                                             <div class="texte">
  1173.                                                                 <div class="texte-1">
  1174.                                                                     <p>{% if app.request.locale == 'fr' %}ARTICLE SUIVANT{% else %}NEXT ARTICLE{% endif %}</p>
  1175.                                                                 </div>
  1176.                                                                 <div class="texte-2">
  1177.                                                                     <p>Lorem ipsum dolor sit amet consectetur.</p>
  1178.                                                                 </div>
  1179.                                                             </div>
  1180.                                                             <img class="img-fluid" src="img/categorie_news/suivant.png" alt="">
  1181.                                                         </div>
  1182.                                                     </a>
  1183.                                                 </div>
  1184.                                             </div>
  1185.                                         </div>
  1186.                                     </div>
  1187.                                 </div>
  1188.                                 <div class="col-lg-3"  style="">
  1189.                                     <div class="lesPlusLus" style="margin:0">
  1190.                                         <div class="titre_traitBleu">
  1191.                                             <div class="titre" style="margin-top: 15px;">
  1192.                                                 <p>{% if app.request.locale == 'fr' %}LES PLUS LUS{% else %}MOST READ{% endif %}</p>
  1193.                                             </div>
  1194.                                             <div class="trait-bleu">
  1195.                                                 <img class="img-fluid" src="/img/recrutement/Ligne 80.svg" alt="">
  1196.                                             </div>
  1197.                                         </div>
  1198.                                         
  1199.                                                 
  1200.                                             
  1201.                                         
  1202. {% set i =0 %}
  1203. {% for res in vues %}
  1204. {% set i= i+1 %}
  1205. {% set titreNew = res.titreFr|replace({' ':'_'}) %}
  1206.                                          <a href="{{path('actualitesD',{'id':res.id, 'titre':titreNew,'locale':app.request.locale})}}">
  1207.                                             <div class="carte">
  1208.                                                 <div class="classement">
  1209.                                                     {{i}}
  1210.                                                 </div>
  1211.                                                 <div class="titre">
  1212.                                                     <p>{% if app.request.locale == 'fr' %}{{res.titreFr|slice(0, 75)}} ...{% else %}{{res.titreEn|slice(0, 40)}} ...{% endif %}</p>
  1213.                                                 </div>
  1214.                                             </div>
  1215.                                         </a>
  1216.                                         <hr>
  1217.                                         {% endfor %}
  1218.                                         
  1219.                                         
  1220.                                             
  1221.                                             
  1222.                                        
  1223.                                     </div>
  1224.                                     
  1225.                                 </div>
  1226.                             </div>
  1227.                         </div>
  1228.                     </div>
  1229.                 </div>
  1230.             </div>
  1231.         </main>
  1232.          
  1233.          
  1234.          
  1235.            <section class="nextandprevsection">
  1236.         <div class="container" style="margin-bottom:40px">
  1237.             <div class="row">
  1238.             <div class="col-xl-1"></div>
  1239.                 <div class="col-xl-10 col-12">
  1240.                   
  1241.                     <div class="col-12 container-next-prev d-flex justify-content-between">
  1242.                         <div class="col-6">
  1243.                            
  1244.                             {% if previousActu %}
  1245.                             {% if app.request.locale == 'fr' %}
  1246.                                 {% set titreNew = previousActu.titreFr|replace({' ':'_'}) %}
  1247.                             {% else %}
  1248.                                 {% set titreNew = previousActu.titreEn|replace({' ':'_'}) %}
  1249.                             {% endif %}
  1250.                              
  1251.                             <a class="d-flex" href="{{ path('actualitesD', { 'id': previousActu.id, 'titre':titreNew,'locale':app.request.locale }) }}">
  1252.                                 <img class="img1" src="{{asset('uploads/actualites/'~previousActu.image)}}" alt="">
  1253.                                 <div class="d-flex flex-column text-next-prev text-prev">
  1254.                                     <p>{% if app.request.locale == 'fr' %}ARTICLE PRÉCÉDENT{% else %}PREVIOUS ARTICLE{% endif %}</p>
  1255.                                     <p>{% if app.request.locale == 'fr' %}{{ previousActu.titreFr }}{% else %}{{ previousActu.titreEn }}{% endif %}</p>
  1256.                                 </div>
  1257.                             </a>
  1258.                             {% endif %}
  1259.                         </div>
  1260.                         <div class="col-6">
  1261.                            
  1262.                             {% if nextActu %}
  1263.                             {% if app.request.locale == 'fr' %}
  1264.                                 {% set titreNew = nextActu.titreFr|replace({' ':'_'}) %}
  1265.                             {% else %}
  1266.                                 {% set titreNew = nextActu.titreEn|replace({' ':'_'}) %}
  1267.                             {% endif %}
  1268.                             <a class="d-flex flex-row-reverse" href="{{ path('actualitesD', { 'id': nextActu.id, 'titre':titreNew,'locale':app.request.locale }) }}">
  1269.                                 <img class="img2" src="{{asset('uploads/actualites/'~nextActu.image)}}" alt="">
  1270.                                 <div class="d-flex flex-column text-next-prev text-next text-end">
  1271.                                     <p>{% if app.request.locale == 'fr' %}ARTICLE SUIVANT{% else %}NEXT ARTICLE{% endif %}</p>
  1272.                                     <p>{% if app.request.locale == 'fr' %}{{ nextActu.titreFr }}T{% else %}{{ nextActu.titreEn }}{% endif %}</p>
  1273.                                 </div>
  1274.                                 
  1275.                             </a>
  1276.                             {% endif %}
  1277.                         </div>
  1278.                     </div>
  1279.                 </div>
  1280.             </div>
  1281.              <div class="col-xl-1"></div>
  1282.         </div>
  1283.     </section>
  1284.  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
  1285. {% endblock %}