Fix tags display

This commit is contained in:
Jeremy Stretch 2020-07-08 13:10:40 -04:00
parent bf7bd68b6a
commit 6e50ed084d
3 changed files with 3 additions and 3 deletions

View File

@ -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 %}&mdash;{% endif %}

View File

@ -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>

View File

@ -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">&mdash;</span>