templates/about/index.html.twig line 1

Open in your IDE?
  1. {% extends "base.html.twig" %}
  2. {% block title %} {{ "À propos de la BOAD Tittrisation" | trans }} | {{ parent() }} {% endblock %}
  3. {% block content %}
  4.     <!-- Page Title -->
  5.     {% for about in abouts %}
  6.         {% if about.langue == 'fr_fr' and '/fr/' in app.request.uri %}
  7.             <section class="page-title" style="background-image: url({{ asset('uploads/abouts/' ~ about.bannerImg) }})">
  8.                 <div class="auto-container">
  9.                     <h2>{{ about.title }}</h2>
  10.                     <ul class="bread-crumb clearfix">
  11. {#                        <li><a href="{{ path('app_main') }}"><i class="fa fa-hand-o-left"></i> {{ "ACCUEIL" | trans }}</a></li>#}
  12. {#                        <li>{{ "À propos de la BOAD Tittrisation" | trans }}</li>#}
  13.                     </ul>
  14.                 </div>
  15.             </section>
  16.         {% elseif about.langue == 'en_en' and '/en/' in app.request.uri %}
  17.             <section class="page-title" style="background-image: url({{ asset('uploads/abouts/' ~ about.bannerImg) }})">
  18.                 <div class="auto-container">
  19.                     <h2>{{ about.title }}</h2>
  20.                     <ul class="bread-crumb clearfix">
  21.                         <li><a href="{{ path('app_main') }}">{{ "ACCUEIL" | trans }}</a></li>
  22. {#                        <li>{{ "À propos de la BOAD Tittrisation" | trans }}</li>#}
  23.                     </ul>
  24.                 </div>
  25.             </section>
  26.         {% endif %}
  27.     {% endfor %}
  28.     <!-- Sidebar Page Container -->
  29.     <section class="sidebar-page-container">
  30.         <div class="auto-container">
  31.             <div class="row clearfix">
  32.                 <!-- Content Side -->
  33.                 <div class="content-side col-lg-8 col-md-12 col-sm-12">
  34.                     {% for about in abouts %}
  35.                         {% if about.langue == 'fr_fr' and '/fr/' in app.request.uri %}
  36.                             <div class="blog-detail">
  37.                                 <div class="inner-box">
  38.                                     <div class="image">
  39.                                         <img src="images/resource/news-7.jpg" alt="" />
  40.                                     </div>
  41.                                     <div class="lower-content">
  42.                                         <h4>{{ about.title }}</h4>
  43.                                         <p>{{ about.content |raw }}</p>
  44.                                     </div>
  45.                                 </div>
  46.                             </div>
  47.                             {% elseif about.langue == 'en_en' and '/en/' in app.request.uri  %}
  48.                                 <div class="blog-detail">
  49.                                     <div class="inner-box">
  50.                                         <div class="image">
  51.                                             <img src="images/resource/news-7.jpg" alt="" />
  52.                                         </div>
  53.                                         <div class="lower-content">
  54.                                             <h4>{{ about.title }}</h4>
  55.                                             <p>{{ about.content |raw }}</p>
  56.                                         </div>
  57.                                     </div>
  58.                                 </div>
  59.                         {% endif %}
  60.                     {% endfor %}
  61.                 </div>
  62.                 <!-- Sidebar Side -->
  63.                 <div class="sidebar-side col-lg-4 col-md-12 col-sm-12">
  64.                   {{ include('layouts/_aside.html.twig') }}
  65.                 </div>
  66.             </div>
  67.         </div>
  68.     </section>
  69.     <!-- End Sidebar Page Container -->
  70. {% endblock %}