mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #3424: Fix tag coloring for non-linked tags
This commit is contained in:
@ -3,6 +3,7 @@ v2.6.3 (FUTURE)
|
||||
## Bug Fixes
|
||||
|
||||
* [#3420](https://github.com/netbox-community/netbox/issues/3420) - Serial number filter for racks, devices, and inventory items is now case-insensitive
|
||||
* [#3424](https://github.com/netbox-community/netbox/issues/3424) - Fix tag coloring for non-linked tags
|
||||
|
||||
## Enhancements
|
||||
|
||||
|
@ -1,7 +1,5 @@
|
||||
{% load helpers %}
|
||||
|
||||
{% if url_name %}
|
||||
<a href="{% url url_name %}?tag={{ tag.slug }}"><span class="label label-default" style="color: {{ tag.color|fgcolor }}; background-color: #{{ tag.color }}">{{ tag }}</span></a>
|
||||
{% else %}
|
||||
<span class="label label-default">{{ tag }}</span>
|
||||
{% endif %}
|
||||
{% if url_name %}<a href="{% url url_name %}?tag={{ tag.slug }}">{% endif %}
|
||||
<span class="label label-default" style="color: {{ tag.color|fgcolor }}; background-color: #{{ tag.color }}">{{ tag }}</span>
|
||||
{% if url_name %}</a>{% endif %}
|
||||
|
Reference in New Issue
Block a user