Skip to content

Commit

Permalink
Merge pull request #18789 from jamestiotio/18774-tag-description
Browse files Browse the repository at this point in the history
Closes #18774: Set title attribute of each tag to its description
  • Loading branch information
bctiemann authored Mar 3, 2025
2 parents e86dba8 + 06b5ff2 commit 0fbfc4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/utilities/templates/builtins/tag.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% 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 %}

0 comments on commit 0fbfc4f

Please sign in to comment.