Skip to content
Snippets Groups Projects
Commit 452c1a74 authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

fix(tags page): improve tag display

parent 7d9b0e13
No related branches found
No related tags found
No related merge requests found
......@@ -20,13 +20,14 @@
{{ 'tags.display_all.total_number'|trans({'%count%': tags_count }) }}
</div>
<ul class="list-group">
<ul>
{% for tag in tags_collection %}
<li id="tag_{{ tag.slug | replace({'.': "-"}) }}">
{# <a class="list-group-item list-group-item-action tag_link" #}
{# href="{{ path('app_tags_display_one_tag', {'slug': tag.slug, 'id': tag.id }) }}">{{ tag.name }}</a>#}
<li id="tag_{{ tag.slug | replace({'.': "-"}) }}"
class="tag_item_{{ tag.id }} badge bg-primary-subtle text-primary-emphasis rounded-pill m-1">
<a class="tag_link"
href="{{ path('app_tags_display_one_tag', {'slug': tag.slug, 'id': tag.id }) }}">{{ tag.name }}</a>
href="{{ path('app_tags_display_one_tag', {'slug': tag.slug, 'id': tag.id }) }}">
{{ tag.name }}
</a>
</li>
{% endfor %}
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment