templates/front/theme1/page_activite.html.twig line 1

Open in your IDE?
  1. {% extends "front/"~ app.request.server.get('APP_THEME') ~"/base.html.twig" %}
  2. {% block stylesheets %}
  3.       {{parent()}}
  4. {% endblock %}
  5. {% block body %}
  6.          <div class="page_cms page_activite pt-5">
  7.                 <div class="breadcrumb-style-default">
  8.                     <div class="container">
  9.                         <div class="row">
  10.                             <div class="col-lg-12">
  11.                                 <div class="inner text-center">
  12.                                     {% if breadcrumb is defined and breadcrumb is not empty %}
  13.                                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  14.                                         <h1 class="page-title">{{titre_activite}}</h1>
  15.                                     {% endif %}
  16.                                 </div>
  17.                             </div>
  18.                         </div>
  19.                     </div>
  20.                 </div>
  21.                 <div class="container-fluid wrapper">
  22.                     <div class="row">
  23.                         <div class="col-sm-12">
  24.                             <div class="text-center"><h2>{{titre}}</h2></div>
  25.                             
  26.                             {% if texte is not empty and texte != " " %}
  27.                                 <div class=""> {{texte|raw}} </div>
  28.                             {% endif %}
  29.                         </div>
  30.                     </div>
  31.                 </div>
  32.                 {% if ref_pages is defined and ref_pages is not empty %}
  33.                     <div class="container-fluid wrapper mt-3">
  34.                         <div class="row gx-5 py-2">
  35.                             <div class="col-sm-12 text-center">
  36.                                 <h2 class="sub-title wow">Nos autres prestations autour de {{titre}}</h2>
  37.                             </div>
  38.                             <div class="col-sm-12">
  39.                                 <div class="list_blocs pos1">
  40.                                     <div class="blocs">
  41.                                         <section id="results" class="results dynam-affichage affichage1 type_affiche3">
  42.                                             {% for item in ref_pages %}
  43.                                                 {% set duree = 0.1 %}
  44.                                                 {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  45.                                                 <a class="article wow zoomIn animated" data-wow-delay="{{duree}}s" href="{{path('page',{slug:item.slug})}}" title="" style="visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;">
  46.                                                     <span class="article-image lazyloaded"  style="background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;"> </span>                 
  47.                                                     <span class="article-cnt">
  48.                                                         <h3 class="article-titre">{{item.title}}</h3>
  49.                                                         <span class="article-txt">
  50.                                                             {% if item.summary is not empty %}
  51.                                                                 {{item.summary|raw}}
  52.                                                             {% else %}
  53.                                                                 {{cutText(item.content)|raw}}
  54.                                                             {% endif %}
  55.                                                         </span>
  56.                                                         <span class="article-bts">
  57.                                                             <span class="article-plus btn-fade">En savoir plus</span>
  58.                                                         </span>
  59.                                                     </span>
  60.                                                 </a>
  61.                                                 {% set duree = duree + 0.2 %}
  62.                                             {% endfor %}
  63.                                         </section>
  64.                                     </div>
  65.                                 </div>
  66.                             </div>
  67.                         </div>
  68.                     </div>
  69.                 {% endif %}
  70.                 {% if actualites is defined and actualites is not empty %}
  71.                     <div class="container-fluid wrapper mt-3">
  72.                         <div class="row gx-5 py-2">
  73.                             <div class="col-sm-12 text-center">
  74.                                 <h2 class="sub-title wow">Nos offres / actualités liées</h2>
  75.                             </div>
  76.                             <div class="col-sm-12">
  77.                                 <div class="list_blocs pos1">
  78.                                     <div class="blocs">
  79.                                         <section id="results" class="results dynam-affichage affichage1 type_affiche3">
  80.                                             {% for item in actualites %}
  81.                                                 {% set duree = 0.1 %}
  82.                                                 {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  83.                                                 <a class="article wow zoomIn animated" data-wow-delay="{{duree}}s" href="{{path('page',{slug:item.slug})}}" title="" style="visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;">
  84.                                                     <span class="article-image lazyloaded"  style="background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;"> </span>                 
  85.                                                     <span class="article-cnt">
  86.                                                         <h3 class="article-titre">{{item.title}}</h3>
  87.                                                         <span class="article-txt">
  88.                                                             {% if item.summary is not empty %}
  89.                                                                 {{item.summary|raw}}
  90.                                                             {% else %}
  91.                                                                 {{cutText(item.content)|raw}}
  92.                                                             {% endif %}
  93.                                                         </span>
  94.                                                         <span class="article-bts">
  95.                                                             <span class="article-plus btn-fade">En savoir plus</span>
  96.                                                         </span>
  97.                                                     </span>
  98.                                                 </a>
  99.                                                 {% set duree = duree + 0.2 %}
  100.                                             {% endfor %}
  101.                                         </section>
  102.                                     </div>
  103.                                 </div>
  104.                             </div>
  105.                         </div>
  106.                     </div>
  107.                 {% endif %}
  108.                 {% if secteurs is defined and secteurs is not empty %}
  109.                     <div class="container-fluid wrapper mt-3">
  110.                         <div class="row gx-5 py-2">
  111.                             <div class="col-sm-12 text-center">
  112.                                 <h2 class="sub-title wow">Localités</h2>
  113.                             </div>
  114.                             <div class="col-sm-12">
  115.                                 <div class="list_blocs pos1">
  116.                                     <div class="blocs">
  117.                                         <section id="results" class="results dynam-affichage affichage1 type_affiche3">
  118.                                             {% for item in secteurs %}
  119.                                                 {% set duree = 0.1 %}
  120.                                                 {% set image_item = 'uploads/images/place.jpg' %}
  121.                                                 <a class="article wow zoomIn animated" data-wow-delay="{{duree}}s" href="{{path('page_details_localite',{slug:item.libelleurl})}}" title="{{item.titresecteur}}" style="visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;">
  122.                                                     <span class="article-image lazyloaded"  style="background-image: url({{image_item}}); background-size: contain; background-position: center center; background-repeat: no-repeat;"> </span> 
  123.                                                     <span class="article-cnt">
  124.                                                         <h3 class="article-titre">{{item.titresecteur}}</h3>
  125.                                                         <span class="article-txt">
  126.                                                             {% if item.textgenerersecteurfinal is not empty %}
  127.                                                                 {{cutText(item.textgenerersecteurfinal)|raw}}
  128.                                                             {% endif %}
  129.                                                         </span>
  130.                                                         <span class="article-bts">
  131.                                                             <span class="article-plus btn-fade">En savoir plus</span>
  132.                                                         </span>
  133.                                                     </span>
  134.                                                 </a>
  135.                                                 {% set duree = duree + 0.2 %}
  136.                                             {% endfor %}
  137.                                         </section>
  138.                                     </div>
  139.                                 </div>
  140.                             </div>
  141.                         </div>
  142.                     </div>
  143.                 {% endif %}
  144.          </div> 
  145. {% endblock %}