.is-active type media
This commit is contained in:
@@ -24,10 +24,10 @@
|
||||
<button class="button-publications-rapports" type="button" style=""><a href="https://stage.eql.figli.io/ressources?field_type_de_media_target_id=696&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Publications/rapports</a></button>
|
||||
</div> #}
|
||||
|
||||
<div class="buttons-filtres-ressources">
|
||||
|
||||
<div class="buttons-filtres-ressources">
|
||||
{% for item in media_links %}
|
||||
<button class="button-{{ item.slug }}" type="button">
|
||||
<button class="button-{{ item.slug }}{% if item.active %} is-active{% endif %}" type="button">
|
||||
<a href="{{ path('<front>') ~ 'ressources?field_type_de_media_target_id=' ~ item.tid ~ '&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine=' }}">
|
||||
{{ item.label }}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user