templates/pages/internes/cit/salons/index.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/front/baseinternes.html.twig' %}
  2. {% block title %}{{ parametres.structure.name ?? company_name }} | {{ title }}{% endblock %}
  3. {% block stylesheets %}
  4. <style>
  5.     .blog-single-aside__content .title{
  6.         color: #993300!important;
  7.         text-shadow: none!important;
  8.     }
  9.     p{text-align: justify;margin-bottom:1rem!important}
  10. </style>
  11. {% endblock %}
  12. {% block body %}
  13.     <section class="top-banniere">
  14.         <div class="page-banner" style="background-image: url(
  15.             {% if categorie.filename %}
  16.                 {{ vich_uploader_asset(categorie, 'imageFile') | imagine_filter('bandeau') }}
  17.             {% else %}
  18.                 {{ asset('assetics/internes/images/newsun.jpg') }}
  19.             {% endif %}
  20.         )">
  21.             {{ fil_arial(title) }}
  22.         </div>
  23.     </section>
  24.     <section class="tour-item-banner-2">
  25.         <div class="container">
  26.             <h4 class="pull-right"><a href="{{ path('home') }}">Accueil</a> / {{ menu }} / <span> {{ title|u.truncate(50, '...') }}</span></h4>
  27.         </div>
  28.     </section>
  29.     <section class="mt-2">
  30.         <div class="container">
  31.             <div class="special-tour__tittle">
  32.                 <!-- section tittle -->
  33.                 <div class="section-tittle">
  34.                     <h2>{{ title }}</h2>
  35.                     <div class="section-tittle__line-under"></div>
  36.                     <p><span>{{ title }}</span></p>
  37.                 </div>
  38.                 <p class="destination-4-2__sub-tittle" style="width: 100%!important;">
  39.                     {{ categorie.description|raw }}
  40.                 </p>
  41.             </div>
  42.             {% if salons|length != 0 %}
  43.                 <div class="row">
  44.                     <div class="col-xl-12 col-lg-12 col-md-12">
  45.                         <div class="row">
  46.                             {% include 'pages/internes/cit/salons/partials/__card.html.twig' with {salons: salons } %}
  47.                         </div>
  48.                         <!-- pagination -->
  49.                         <div class="wander-pagination__pagination">
  50.                             {{ knp_pagination_render(salons) }}
  51.                         </div>
  52.                     </div>
  53.                 </div>
  54.             {% else %}
  55.                 <div class="jumbotron mt-5">
  56.                     <div class="alert alert-info">
  57.                         <i class="fa fa-info-circle"></i> Aucune donnĂ©e disponible pour le mmoment
  58.                     </div>
  59.                 </div>
  60.             {% endif %}
  61.         </div>
  62.     </section>
  63. {% endblock %}