Closes #18774: Set title attribute of each tag to its description

This commit is contained in:
James Raphael Tiovalen 2025-03-02 18:40:40 +08:00
parent 3b1daaaad6
commit 06b5ff2e4a
No known key found for this signature in database
GPG Key ID: E946D58CAA8B643E

View File

@ -1,3 +1,3 @@
{% load helpers %} {% load helpers %}
{% if viewname %}<a href="{% url viewname %}?tag={{ tag.slug }}">{% endif %}<span class="badge" style="color: {{ tag.color|fgcolor }}; background-color: #{{ tag.color }}">{{ tag }}</span>{% if viewname %}</a>{% endif %} {% if viewname %}<a href="{% url viewname %}?tag={{ tag.slug }}">{% endif %}<span {% if tag.description %}title="{{ tag.description }}"{% endif %} class="badge" style="color: {{ tag.color|fgcolor }}; background-color: #{{ tag.color }}">{{ tag }}</span>{% if viewname %}</a>{% endif %}