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 @@ ...@@ -20,13 +20,14 @@
{{ 'tags.display_all.total_number'|trans({'%count%': tags_count }) }} {{ 'tags.display_all.total_number'|trans({'%count%': tags_count }) }}
</div> </div>
<ul class="list-group"> <ul>
{% for tag in tags_collection %} {% for tag in tags_collection %}
<li id="tag_{{ tag.slug | replace({'.': "-"}) }}"> <li id="tag_{{ tag.slug | replace({'.': "-"}) }}"
{# <a class="list-group-item list-group-item-action tag_link" #} class="tag_item_{{ tag.id }} badge bg-primary-subtle text-primary-emphasis rounded-pill m-1">
{# href="{{ path('app_tags_display_one_tag', {'slug': tag.slug, 'id': tag.id }) }}">{{ tag.name }}</a>#}
<a class="tag_link" <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> </li>
{% endfor %} {% endfor %}
</ul> </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