change twig button media
This commit is contained in:
@@ -27,11 +27,12 @@
|
||||
|
||||
<div class="buttons-filtres-ressources">
|
||||
{% for item in media_links %}
|
||||
<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>
|
||||
</button>
|
||||
<a
|
||||
class="button button-{{ item.slug }}{% if item.active %} is-active{% endif %}"
|
||||
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>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user