소스 검색

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 }}