Преглед изворни кода

button que sur path ressources

ouidade пре 1 дан
родитељ
комит
a6283cb1e3
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      web/themes/custom/eql/templates/partials/form.html.twig

+ 3 - 0
web/themes/custom/eql/templates/partials/form.html.twig

@@ -12,6 +12,7 @@
  * @ingroup themeable
  */
 #}
+{% if 'path-ressources' in attributes.class %}
 <div class="buttons-filtres-ressources">
    <button class="button-videos" type="button" style=""><a href="/ressources?field_type_de_media_target_id=681&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Vidéos</a></button>
 
@@ -22,6 +23,8 @@
    <button class="button-articles" type="button" style=""><a href="/ressources?field_type_de_media_target_id=682&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Articles</a></button>
    <button class="button-publications-rapports" type="button" style=""><a href="/ressources?field_type_de_media_target_id=685&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Publications/rapports</a></button>
 </div>
+{% endif %}
+
 
 <form{{ attributes }}>
   {{ children }}