Filter by promo type

This commit is contained in:
2026-02-04 08:34:33 +01:00
parent e012d3d2cd
commit 1fd9eda204
2 changed files with 15 additions and 4 deletions

View File

@@ -7,6 +7,12 @@
{{ renderCategoryTree(categoryTree, category) | raw }}
{% endif %}
{% if listType starts with 'promos' %}
{% for promo in promos %}
<a href="{{ path('app_promos', {'promo': promo.slug}) }}"><span class="badge bg-info">PROMO: {{ promo.tag }}</span></a>
{% endfor %}
{% endif %}
{% if (listType starts with 'category_' and category == null) or not (listType starts with 'category_') or (listType starts with 'category_' and category is not null) %}
<div class="table-responsive">