Recherche : nom des programmes et axes selon la langue
La carte affichait le champ complet « FR // EN ». Elle passe maintenant par le filtre bilingual, comme taxonomy.twig.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
{% for term in taxonomy_cards %}
|
||||
<li class="taxonomy-results__item">
|
||||
<a href="{{ term.url }}" class="taxonomy-results__link">
|
||||
<span class="taxonomy-results__name">{{ term.name }}</span>
|
||||
<span class="taxonomy-results__name">{{ term.name | bilingual(current_language) }}</span>
|
||||
<span class="taxonomy-results__meta">{{ term.taxonomy_label }}{% if term.count %} · {{ term.count }} {{ term.count > 1 ? (current_language == 'en' ? 'posts' : 'publications') : (current_language == 'en' ? 'post' : 'publication') }}{% endif %}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user