templates/buzz/fragments/sidebar_droite.html.twig line 1

Open in your IDE?
  1. <div class="col-12 mb-1 no-padding-x-md">
  2.     <table class="table table_col_droite_buzz">
  3.         <tbody>
  4.         <th colspan="2" style="padding-bottom:8px;">
  5.             <span style="display:inline-flex;align-items:center;white-space:nowrap;">
  6.                 <i class="fa-light fa-bullhorn gris_999 fa-xl"></i>
  7.                 <span style="margin-left:10px;">LES DERNIÈRES PRESTATIONS</span>
  8.             </span>
  9.         </th>
  10.         {% for presta in prestations %}
  11.             <tr>
  12.                 <td>
  13.                     <span class="small_buzz">{{ presta.date_mise_en_ligne|slice(6,2) }}/{{ presta.date_mise_en_ligne|slice(4,2) }}</span>
  14.                 </td>
  15.                 <td>
  16.                     {% if presta.ville %}
  17.                         <em>{{ presta.ville| abv_nom_localisation|raw }}</em><br>
  18.                     {% endif %}
  19.                     <a href="/annuaire_experts/a4{{ presta.id_service_prestataire }},{{ presta.titre_service|default('')|slugify }}"
  20.                        target="_blank" rel="noopener">{{ presta.titre_service }}</a>
  21.                 </td>
  22.             </tr>
  23.         {% endfor %}
  24.         </tbody>
  25.     </table>
  26. </div>
  27. <div class="col-12 mb-1 no-padding-x-md">
  28.     <table class="table table_col_droite_buzz">
  29.         <tbody>
  30.         <th colspan="2">
  31.             <i class="fa-light fa-user-graduate gris_999 fa-xl"></i>&nbsp;&nbsp;&nbsp;FORMATIONS FUSACQ
  32.         </th>
  33.         {% for formation in formations %}
  34.             <tr>
  35.                 <td class="pt-3 pl-4 pr-1">
  36.                     {% if formation.type_lieu_session == 'distanciel' %}
  37.                         <i class="fa-solid fa-house-laptop rouge fa-lg" aria-label="En distanciel"
  38.                            title="En distanciel"></i>
  39.                     {% else %}
  40.                         <i class="fas fa-chalkboard-teacher gris_999 fa-lg" aria-label="En présentiel"
  41.                            title="En présentiel"></i>
  42.                     {% endif %}
  43.                 </td>
  44.                 <td>
  45.                     {{ formation.dates }}<br>
  46.                     {% set lien = path('formation_detail', {
  47.                         'idformation': formation.id_formation,
  48.                         'titreslug': formation.titre|default('')|slugify,
  49.                         'date': formation.date_formation ? formation.date_formation : '',
  50.                         'codePays': codePaysWithUnderScore
  51.                     }) %}
  52.                     <a href="{{ lien }}" title="{{ formation.titre }}" target="_blank">
  53.                         {{ formation.titre }}
  54.                     </a>
  55.                 </td>
  56.             </tr>
  57.         {% endfor %}
  58.         </tbody>
  59.     </table>
  60. </div>
  61. {% set acceptPubCib = true %}
  62. {% if app.request.cookies.get('acceptPubCib') == "non" %}
  63.     {% set acceptPubCib = false %}
  64. {% endif %}
  65. {% set adIdPave = 'div-gpt-ad-1770657008603-0' %}
  66. <div class="col-12 mb-3 text-center pub-sidebar-container">
  67.     {% if acceptPubCib %}
  68.         <div id="{{ adIdPave }}" class="" style="border: 1px solid #dfdfdf; background: #dfdfdf;">
  69.         </div>
  70.         <a class="pub-horizontal d-none d-xl-inline-block" 
  71.            href="{{ path('publicite',{'codePays': codePaysWithUnderScore|default('_fr_')}) }}">Publicité
  72.         </a>
  73.         <script>
  74.             document.querySelector('a.pub-horizontal').style.visibility = 'hidden';
  75.             googletag.cmd.push(function () {
  76.                 googletag.display('{{ adIdPave }}');
  77.                 document.querySelector('a.pub-horizontal').style.visibility = 'visible';
  78.             });
  79.         </script>
  80.     {% endif %}
  81. </div>
  82. {% if juridique is not empty %}
  83.     <div class="col-12 no-padding-x-md">
  84.         <table class="table table_col_droite_buzz">
  85.             <tbody>
  86.             <th colspan="2">
  87.                 <a href="{{ path('buzz_juridique_liste', {'codePays': codePays|default('_fr_')}) }}"
  88.                    style="text-decoration: none; color: inherit;">
  89.                     <i class="fa-sharp fa-light fa-scale-balanced fa-xl gris_999"></i>&nbsp;&nbsp;&nbsp;L'ACTUALITÉ
  90.                     JURIDIQUE
  91.                 </a>
  92.                 {% for actu in juridique %}
  93.                 <tr>
  94.                     <td>
  95.                         <span class="small_buzz">{{ actu.date }}</span>
  96.                     </td>
  97.                     <td>
  98.                         <a href="/buzz/{{ actu.titre|default('')|slugify }}-a{{ actu.id_actualite }}" target="_self">{{ actu.titre }}</a>
  99.                         {% if actu.is_locked %}&nbsp;&nbsp;<i class="fa-solid fa-user-lock" style="color:#872828"></i>
  100.                         {% endif %}
  101.                     </td>
  102.                 </tr>
  103.             {% endfor %}
  104.             </tbody>
  105.         </table>
  106.     </div>
  107. {% endif %}