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">{{breadcrumb|last.name}}</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 text-center">
  24.                             <h2>Toutes nos prestations de plomberie par localités</h2>
  25.                             <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
  26.                                 Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, 
  27.                                 when an unknown printer took a galley of type and scrambled it to make a type specimen book. 
  28.                                 It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
  29.                         </div>
  30.                     </div>
  31.                     {% if secteurs is defined and secteurs is not empty %}
  32.                         <div class="row localites">
  33.                             {% for item in secteurs %}
  34.                                 <div class="col-sm-12">
  35.                                     <div class="list_blocs pos1">
  36.                                         <div class="blocs">
  37.                                             <section id="results" class="results dynam-affichage affichage1 type_affiche3">
  38.                                                 {% for item in secteurs %}
  39.                                                     {% set duree = 0.1 %}
  40.                                                     {% set image_item = 'uploads/images/place.jpg' %}
  41.                                                     <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;">
  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.                                                             <h3 class="article-titre">{{item.titresecteur}}</h3>
  45.                                                             {% if item.textgenerersecteurfinal is not empty %}
  46.                                                                 {{cutText(item.textgenerersecteurfinal)|raw}}
  47.                                                             {% endif %}
  48.                                                             <span class="article-bts">
  49.                                                                 <span class="article-plus btn-fade">En savoir plus</span>
  50.                                                             </span>
  51.                                                         </span>
  52.                                                     </a>
  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.                             {% endfor %}
  66.                         </div>
  67.                     {% endif %}
  68.                 </div>
  69.            
  70.          </div> 
  71. {% endblock %}