Fix tags on spotlight carousel being untranslated

This commit is contained in:
rubenwardy 2024-06-08 12:16:52 +01:00
parent a99a8a4df3
commit 7cf1f40ff6

@ -69,9 +69,10 @@
{{ warning.title }} {{ warning.title }}
</span> </span>
{% endfor %} {% endfor %}
{% for t in tags[:3] %} {% for tag in tags[:3] %}
<span class="badge bg-primary" title="{{ t.description or '' }}"> {% set trans = tag.get_translated() %}
{{ t.title }} <span class="badge bg-primary" title="{{ trans.description or '' }}">
{{ trans.title }}
</span> </span>
{% endfor %} {% endfor %}
<span class="btn" title="{{ _('Reviews') }}"> <span class="btn" title="{{ _('Reviews') }}">