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

Open in your IDE?
  1. {# EN DIRECT DE FUSACQ #}
  2. {% if en_direct_fusacq is defined and en_direct_fusacq is not empty %}
  3. <div class="col-12 mb-1 no-padding-x-md">
  4.     <table class="table table_col_droite_buzz">
  5.         <tbody>
  6.         <tr>
  7.             <th colspan="2" style="border-top:none;"><i class="fa-light fa-bullhorn gris_999 fa-xl"></i>&nbsp;&nbsp;&nbsp;EN
  8.                 DIRECT DE FUSACQ
  9.             </th>
  10.         </tr>
  11.         {% for actu in en_direct_fusacq %}
  12.             <tr>
  13.                 <td><span class="small_buzz">{{ actu.heure }}</span></td>
  14.                 <td><span class="small_buzz">{{ actu.type_libelle }}</span><br><a href="
  15.                                                                                   {% if actu.type_annonce == 'V' %}
  16.                                                                                       /vente-entreprise-{{ actu.titre_annonce|slugify }},{{ actu.id }}"
  17.                                                                                   target="_blank" rel="noopener">
  18.                         {% elseif actu.type_annonce == 'A' %}
  19.                             /achat-entreprise-{{ actu.titre_annonce|slugify }},{{ actu.id }}" target="_blank" rel="noopener">
  20.                         {% elseif actu.type_annonce == 'R' %}
  21.                             /repreneur-entreprise-{{ actu.titre_annonce|slugify }},{{ actu.id }}" target="_blank" rel="noopener">
  22.                         {% endif %}
  23.                         {{ actu.titre_annonce }}
  24.                     </a></td>
  25.             </tr>
  26.         {% endfor %}
  27.         </tbody>
  28.     </table>
  29. </div>
  30. {% endif %}
  31. {% set acceptPubCib = true %}
  32. {% if app.request.cookies.get('acceptPubCib') == "non" %}
  33.     {% set acceptPubCib = false %}
  34. {% endif %}
  35. {% set adIdPave = 'div-gpt-ad-1770657008603-0' %}
  36. <div class="col-12 mb-3 text-center pub-sidebar-container">
  37.     {% if acceptPubCib %}
  38.         <div id="{{ adIdPave }}" class="" style="border: 1px solid #dfdfdf; background: #dfdfdf;">
  39.         </div>
  40.         <a class="pub-horizontal d-none d-xl-inline-block" 
  41.            href="{{ path('publicite',{'codePays': codePaysWithUnderScore|default('_fr_')}) }}">Publicité
  42.         </a>
  43.         <script>
  44.             document.querySelector('a.pub-horizontal').style.visibility = 'hidden';
  45.             googletag.cmd.push(function () {
  46.                 googletag.display('{{ adIdPave }}');
  47.                 document.querySelector('a.pub-horizontal').style.visibility = 'visible';
  48.             });
  49.         </script>
  50.     {% endif %}
  51. </div>
  52. {# EN DIRECT DES EXPERTS #}
  53. {% if en_direct_des_experts is defined and en_direct_des_experts is not empty %}
  54.     <div class="col-12 mb-1 no-padding-x-md">
  55.         <table class="table table_col_droite_buzz">
  56.             <tbody>
  57.             <tr>
  58.                 <th colspan="2" style="border-top:none;"><i class="fa-light fa-user gris_999 fa-xl"></i>&nbsp;&nbsp;&nbsp;EN
  59.                     DIRECT DES EXPERTS
  60.                 </th>
  61.             </tr>
  62.             {% for actu in en_direct_des_experts %}
  63.                 <tr>
  64.                     <td><span class="small_buzz">{{ actu.date }}</span></td>
  65.                     <td>
  66.                         <div class="float-left small_buzz">
  67.                             {{ actu.type_libelle }}
  68.                         </div>
  69.                         <br>
  70.                         <a href="/buzz/{{ actu.titre|slugify }}-a{{ actu.id_actualite }}"
  71.                            target="_self">{{ actu.titre }}</a>
  72.                     </td>
  73.                 </tr>
  74.             {% endfor %}
  75.             </tbody>
  76.         </table>
  77.     </div>
  78. {% endif %}
  79. {# ACTUALITÉS DU SECTEUR #}
  80. {% if actualites_secteur is defined and actualites_secteur is not empty %}
  81. <div class="col-12 mb-1">
  82.     <table class="table table_col_droite_buzz">
  83.         <tbody>
  84.         <th colspan="2" style="border-top:none;">
  85.             <i class="fa-light fa-newspaper fa-xl gris_999" aria-hidden="true"></i>&nbsp;&nbsp;&nbsp;ACTUALITÉS DU
  86.             SECTEUR
  87.         </th>
  88.         {% for actu in actualites_secteur %}
  89.             <tr>
  90.                 <td>
  91.                     <span class="small_buzz">{{ actu.dateAffichage|default('') }}</span>
  92.                 </td>
  93.                 <td>
  94.                     <a href="/buzz/{{ actu.titre_actualite|slugify }}-a{{ actu.id_actualite }}"
  95.                        target="_self">{{ actu.titre_actualite|default('') }}</a>
  96.                 </td>
  97.             </tr>
  98.         {% endfor %}
  99.         </tbody>
  100.     </table>
  101. </div>
  102. {% endif %}