templates/components/en_savoir_plus.html.twig line 1

Open in your IDE?
  1. {% if centre.ctrparametrecentre.pctitre1 and centre.ctrparametrecentre.pcnomIcone1 and centre.ctrparametrecentre.pctexte1 or 
  2.     centre.ctrparametrecentre.pctitre2 and centre.ctrparametrecentre.pcnomIcone2 and centre.ctrparametrecentre.pctexte2 or 
  3.     centre.ctrparametrecentre.pctitre3 and centre.ctrparametrecentre.pcnomIcone3 and centre.ctrparametrecentre.pctexte3
  4. %}
  5.     <section class=" p-20" style="background-color:#ffffff">
  6.         <div class="row ">
  7.             <div class="col-lg-12">
  8.                 <h2 class="PN-Black PN-colorbg1">
  9.                     En savoir plus
  10.                 </h2>
  11.             </div>
  12.             <div class="row m-2 text-center justify-content-center w-100"
  13.                 id="engagem_centre_{{ centre.centretype.id }}" name="engagem_centre">
  14.                 {% if centre.ctrparametrecentre.pctitre1 and centre.ctrparametrecentre.pcnomIcone1 and centre.ctrparametrecentre.pctexte1 %}
  15.                     <div class="col-lg-3 m-2" style="background: #fffefe 0% 0% no-repeat padding-box;
  16.                         box-shadow: 0px 6px 6px #B2B2B2;
  17.                         border-radius: 40px;
  18.                         opacity: 1;">
  19.                         <div class="col-lg-12 text-center p-20">
  20.                             <h2 class="PN-Bold PN-colorbg1">{{centre.ctrparametrecentre.pctitre1}}</h2>
  21.                         </div>
  22.                         <div class="col-lg-12 text-center p-10">
  23.                             <i class="{{centre.ctrparametrecentre.pcnomIcone1}} PN-colorbg1"
  24.                                 style="font-size: 100px;"></i>
  25.                         </div>
  26.                         <div class="col-lg-12 text-center p-10">
  27.                             <p class="PN-colorbg1 font-bold">{{centre.ctrparametrecentre.pctexte1}}</p>
  28.                         </div>
  29.                     </div>
  30.                 {% endif %}
  31.                 {% if centre.ctrparametrecentre.pctitre2 and centre.ctrparametrecentre.pcnomIcone2 and centre.ctrparametrecentre.pctexte2 %}
  32.                     <div class="col-lg-3 m-2" style="background: #fffefe 0% 0% no-repeat padding-box;
  33.                                     box-shadow: 0px 6px 6px #B2B2B2;
  34.                                     border-radius: 40px;
  35.                                     opacity: 1;">
  36.                         <div class="col-lg-12 text-center p-20">
  37.                             <h2 class=" PN-Bold PN-colorbg1">{{centre.ctrparametrecentre.pctitre2}}</h2>
  38.                         </div>
  39.                         <div class="col-lg-12 text-center p-10">
  40.                             <i class="{{centre.ctrparametrecentre.pcnomIcone2}} PN-colorbg1"
  41.                                 style="font-size: 100px;"></i>
  42.                         </div>
  43.                         <div class="col-lg-12 text-center p-10">
  44.                             <p class="PN-colorbg1 font-bold">{{centre.ctrparametrecentre.pctexte2}}</p>
  45.                         </div>
  46.                     </div>
  47.                 {% endif %}
  48.                 {% if centre.ctrparametrecentre.pctitre3 and centre.ctrparametrecentre.pcnomIcone3 and centre.ctrparametrecentre.pctexte3 %}
  49.                     <div class="col-lg-3 m-2" style="background: #fffefe 0% 0% no-repeat padding-box;
  50.                                     box-shadow: 0px 6px 6px #B2B2B2;
  51.                                     border-radius: 40px;
  52.                                     opacity: 1;">
  53.                         <div class="col-lg-12 text-center p-20">
  54.                             <h2 class="PN-Bold  PN-colorbg1">{{centre.ctrparametrecentre.pctitre3}}</h2>
  55.                         </div>
  56.                         <div class="col-lg-12 text-center p-10">
  57.                             <i class="{{centre.ctrparametrecentre.pcnomIcone3}} PN-colorbg1"
  58.                                 style="font-size: 100px;"></i>
  59.                         </div>
  60.                         <div class="col-lg-12 text-center p-10">
  61.                             <p class="PN-colorbg1 font-bold">{{centre.ctrparametrecentre.pctexte3}}</p>
  62.                         </div>
  63.                     </div>
  64.                 {% endif %}
  65.             </div>
  66.         </div>
  67.     </section>
  68. {% endif %}