Badges as links

This commit is contained in:
2026-02-19 09:33:56 +01:00
committed by krzysiej
co-authored by krzysiej
parent c6c11d5f7f
commit f0f26ad64d
+1 -1
View File
@@ -48,7 +48,7 @@
data-bs-title="Last update: {{ product.lastSeen }}">is discontinued</span>
{% endif %}
{% if product.isNew() %}
<span class="badge text-bg-success">is new</span>
<a href="{{ path('app_new') }}"><span class="badge text-bg-success">is new</span></a>
{% endif %}
<span class="badge text-bg-light"><a
href="{{ path('app_search', {'search': product.subTitle}) }}"