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