Badges as links
All checks were successful
/ deploy-job (push) Successful in 0s

This commit is contained in:
2026-02-15 11:51:00 +01:00
parent 7f7cc72647
commit cac4e1f925

View File

@@ -44,8 +44,8 @@
<span class="badge text-bg-warning">out of stock</span> <span class="badge text-bg-warning">out of stock</span>
{% endif %} {% endif %}
{% if product.isDiscontinued() %} {% if product.isDiscontinued() %}
<span class="badge text-bg-secondary" data-bs-toggle="tooltip" <a href="{{ path('app_discontinued') }}"><span class="badge text-bg-secondary" data-bs-toggle="tooltip"
data-bs-title="Last update: {{ product.lastSeen }}">is discontinued</span> data-bs-title="Last update: {{ product.lastSeen }}">is discontinued</span></a>
{% endif %} {% endif %}
{% if product.isNew() %} {% if product.isNew() %}
<a href="{{ path('app_new') }}"><span class="badge text-bg-success">is new</span></a> <a href="{{ path('app_new') }}"><span class="badge text-bg-success">is new</span></a>