templates/Frontend/Events/event_selected.html.twig line 1

Open in your IDE?
  1. {% extends 'Frontend/base.html.twig' %}
  2. {% block seoheader %}
  3.     {% include 'Frontend/Render/head/_seoevent.html.twig' with {'event_selected':event_selected} %}
  4. {% endblock %}
  5. {#% block switcher %}
  6.     {% include 'Frontend/Render/_switcher.html.twig'%}
  7. {% endblock switcher %#}
  8. {% block body %}
  9.     <div class="content_pages event_selected">
  10.         <div class="container">
  11.             <section class="section_breadcrumbs"> 
  12.                 <ul>
  13.                     <li><a href="{{ path('frontend_home') }}">{{'Accueil'|trans}}</a><span>/</span></li>
  14.                     <li><a href="{{ path('page_single',{'catslug':'events', 'slug':'seminars-conferences'}) }}">{{'Seminars & Conferences'|trans}}</a><span>/</span></li>
  15.                     <li><a href="#">{{event_selected.titre}}</a></li>
  16.                 </ul>
  17.             </section>
  18.             <div class="titre_event_selected">
  19.                 <h1>{{event_selected}}</h1>
  20.                 <label>
  21.                     {% if event_selected.datePublier is not empty and event_selected.dateFinal is not empty %}
  22.                         {{event_selected.datePublier|date('d')}} - {{event_selected.dateFormat(selected_lang)}}
  23.                     {% endif %}
  24.                 </label>
  25.             </div>
  26.         </div>
  27.         <div class="miniature_event blocks_event_selected">
  28.             <div class="container">
  29.                 <a href="{% if event_selected.link is not empty %}{{event_selected.link}}{% else %}#{% endif %}"{% if event_selected.link is not empty %}class="video_source"{% endif %}>
  30.                     <img class="img-fluid" src="{{ asset (vich_uploader_asset(event_selected,'imageFile')) }}" alt="{{event_selected}}">
  31.                 </a>
  32.             </div>
  33.         </div>
  34.         {% if list_galerie is not empty %}
  35.             <div class="galerie blocks_event_selected" id="galerie">
  36.                 <div class="container-fluid">
  37.                     <div class="galerie_slider_content"> 
  38.                         <div class="owl-carousel owl-theme" id="galerie_slider">
  39.                             {% for galerie in list_galerie %}
  40.                                 {% if galerie.image is not empty %}
  41.                                     <div class="item_galerie_slider zoom_gallery">
  42.                                         <a href="{{ asset(vich_uploader_asset(galerie,'imageFile'))}}">
  43.                                             <img class="img-fluid" src="{{ asset(vich_uploader_asset(galerie,'imageFile'))}}" alt="{{event_selected.titre}}">
  44.                                         </a>
  45.                                     </div>
  46.                                 {% endif %}
  47.                             {% endfor %}
  48.                         </div>
  49.                     </div>
  50.                 </div>
  51.             </div>
  52.         {% endif %}
  53.         {% for bloc in event_selected.blocks %}
  54.             {% if bloc.publier == 1 %}
  55.                 {{bloc.contenu|raw}}
  56.             {% endif %}
  57.         {% endfor %}
  58.         {% if list_videos is not empty %}
  59.             <div class="videos_galerie blocks_event_selected" id="videos_galerie">
  60.                 <div class="container">
  61.                     <h2>{{'Open days'|trans}}</h2>
  62.                     <div class="owl-carousel owl-theme" id="videos_slider">
  63.                         {% for galerie in list_videos %}
  64.                             {% if galerie.link is not empty %}
  65.                                 <div class="miniature_event">
  66.                                     {% if galerie.image is not empty %}
  67.                                         <a href="{{galerie.link}}" class="video_source">
  68.                                             <img class="img-fluid" src="{{ asset (vich_uploader_asset(galerie,'imageFile')) }}" alt="{{event_selected}}">
  69.                                         </a>
  70.                                     {% else %}
  71.                                         <a href="{{galerie.link}}" class="video_source image_youtube"></a>
  72.                                     {% endif %}
  73.                                 </div>
  74.                             {% endif %}
  75.                         {% endfor %}
  76.                     </div>
  77.                 </div>
  78.             </div>
  79.         {% endif %}
  80.         
  81.         {% if list_speakers is not empty %}
  82.             <div class="speakers_event ">
  83.                 <div class="container">
  84.                     <h2>
  85.                         {{'Liste of speakers of'|trans}} <span>{{'the game theory days'|trans}}</span>
  86.                     </h2>
  87.                     <div class="row">
  88.                         {% for speaker in list_speakers %}
  89.                             <div class="col-xxl-2 col-lg-3 col-md-4 col-6">
  90.                                 <div class="item_speaker">
  91.                                     <div class="img_speakers_event">
  92.                                         <img class="img-fluid" src="{{ asset (vich_uploader_asset(speaker,'imageFile')) }}" alt="{{speaker}}">
  93.                                     </div>
  94.                                     <h3>{{speaker}}</h3>
  95.                                     <h4>{{speaker.fonction}}</h4>
  96.                                     <h5>{{speaker.specialite}}</h5>
  97.                                     {% if speaker.link is not empty %}
  98.                                         <a href="{{speaker.link}}" target="_blank"><img src="/assets/img/link.png" alt="website"></a>
  99.                                     {% elseif speaker.linkedin is not empty %}
  100.                                         <a href="{{speaker.linkedin}}" target="_blank"><img src="/assets/img/linkedin.png" alt="linkedin"></a>
  101.                                     {% endif %}
  102.                                 </div>
  103.                             </div>
  104.                         {% endfor %}
  105.                     </div>
  106.                 </div>
  107.             </div>
  108.         {% endif %}
  109.         
  110.     </div>
  111. {% endblock body %}