Fix display of tags
This commit is contained in:
parent
2303034c92
commit
ba138de53b
|
|
@ -4,7 +4,7 @@
|
|||
<strong>Tags</strong>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{% for tag in tags.unrestricted %}
|
||||
{% for tag in tags.all %}
|
||||
{% tag tag url %}
|
||||
{% empty %}
|
||||
<span class="text-muted">No tags assigned</span>
|
||||
|
|
|
|||
|
|
@ -151,7 +151,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