templates/front/theme1/localite.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_localite 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">{{title_page}}</h1>
  15.                                     {% endif %}
  16.                                 </div>
  17.                             </div>
  18.                         </div>
  19.                     </div>
  20.                 </div>
  21.                 <div id="bloc-principal" class="container-fluid wrapper">
  22.                     <div class="row">
  23.                         <div class="col-sm-12 text-center">
  24.                             {% if parametreRef is defined and parametreRef is not empty %}
  25.                                 <h2>{{parametreRef.soustitreparamref}}</h2>
  26.                                 {{parametreRef.description|raw}}
  27.                             {% endif %}
  28.                         </div>
  29.                     </div>
  30.                 </div>
  31.                 <div class="container-fluid">
  32.                     {% if secteurs is defined and secteurs is not empty %}
  33.                         <div id="bloc-secteurs" class="row localites">
  34.                                 <div class="col-sm-12">
  35.                                     <div class="list_blocs pos1">
  36.                                         <div class="blocs">
  37.                                             <section class="results dynam-affichage affichage1 type_affiche3 custom_affichage4">
  38.                                                 {% for item in secteurs %}
  39.                                                     {% set duree = 0.1 %}
  40.                                                     {% set image_item = 'uploads/images/place.png' %}
  41.                                                     <div class="article wow zoomIn animated" data-wow-delay="{{duree}}s" style="visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;">
  42.                                                         <span class="article-image lazyloaded"  style="background-image: url({{image_item}}); background-size: contain; background-position: center center; background-repeat: no-repeat;"> </span> 
  43.                                                         <span class="article-cnt">
  44.                                                             <a class="article-titre" href="{{path('page_details_localite',{slug:item.libelleurl})}}" title="{{item.titresecteur}}">{{item.titresecteur}}</a>
  45.                                                             {% if item.textgenerersecteurfinal is not empty %}
  46.                                                                 {{cutText(item.textgenerersecteurfinal)|raw}}
  47.                                                             {% endif %}
  48.                                                             <span class="article-bts">
  49.                                                                 <button class="article-plus btn-fade" onclick="window.open('{{path('page_details_localite',{slug:item.libelleurl})}}', '_self');" title="{{item.titresecteur}}">En savoir plus</button>
  50.                                                             </span>
  51.                                                         </span>
  52.                                                     </div>
  53.                                                     {% set duree = duree + 0.2 %}
  54.                                                 {% endfor %}
  55.                                             </section>
  56.                                         </div>
  57.                                     </div>
  58.                                     {# <a href="{{path('page_details_localite',{slug:item.libelleurl})}}">
  59.                                         <div class="d-flex localite_items">
  60.                                             <div><i class="fa fa-map-marker"></i></div>
  61.                                             <div>{{item.titresecteur}}</div> 
  62.                                         </div>
  63.                                     </a> #}
  64.                                 </div>
  65.                         </div>
  66.                     {% endif %}
  67.                 </div>
  68.            
  69.          </div> 
  70. {% endblock %}