Fixes #5095: Fix display of assigned prefixes in VLANs list
This commit is contained in:
parent
bbbfc27593
commit
de081d0205
|
|
@ -99,7 +99,7 @@ VLAN_LINK = """
|
|||
"""
|
||||
|
||||
VLAN_PREFIXES = """
|
||||
{% for prefix in record.prefixes.unrestricted %}
|
||||
{% for prefix in record.prefixes.all %}
|
||||
<a href="{% url 'ipam:prefix' pk=prefix.pk %}">{{ prefix }}</a>{% if not forloop.last %}<br />{% endif %}
|
||||
{% empty %}
|
||||
—
|
||||
|
|
|
|||
Loading…
Reference in New Issue