mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Fix tags display
This commit is contained in:
parent
bf7bd68b6a
commit
6e50ed084d
@ -31,7 +31,7 @@
|
||||
{% if iface.description %}
|
||||
{{ iface.description }}<br/>
|
||||
{% endif %}
|
||||
{% for tag in iface.tags.all.unrestricted %}
|
||||
{% for tag in iface.tags.all %}
|
||||
{% tag tag %}
|
||||
{% empty %}
|
||||
{% if not iface.description %}—{% endif %}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<strong>Tags</strong>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{% for tag in tags.all.unrestricted %}
|
||||
{% for tag in tags.all %}
|
||||
{% tag tag url %}
|
||||
{% empty %}
|
||||
<span class="text-muted">No tags assigned</span>
|
||||
|
@ -202,7 +202,7 @@ class TagColumn(tables.TemplateColumn):
|
||||
Display a list of tags assigned to the object.
|
||||
"""
|
||||
template_code = """
|
||||
{% for tag in value.all.unrestricted %}
|
||||
{% for tag in value.all %}
|
||||
{% include 'utilities/templatetags/tag.html' %}
|
||||
{% empty %}
|
||||
<span class="text-muted">—</span>
|
||||
|
Loading…
Reference in New Issue
Block a user