mirror of
https://github.com/netbox-community/netbox.git
synced 2025-09-06 06:13:36 -06:00
#20048 fix tags
This commit is contained in:
parent
0f53bfdc19
commit
6247b339c9
@ -4,11 +4,12 @@
|
||||
<div class="card">
|
||||
<h2 class="card-header">{% trans "Tags" %}</h2>
|
||||
<div class="card-body">
|
||||
{% action_url object 'list' as url %}
|
||||
{% for tag in object.tags.all %}
|
||||
{% tag tag url %}
|
||||
{% empty %}
|
||||
<span class="text-muted">{% trans "No tags assigned" %}</span>
|
||||
{% endfor %}
|
||||
{% with url=object|validated_viewname:"list" %}
|
||||
{% for tag in object.tags.all %}
|
||||
{% tag tag url %}
|
||||
{% empty %}
|
||||
<span class="text-muted">{% trans "No tags assigned" %}</span>
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user