Merge pull request #5097 from jeremystretch/5095-vlan-prefixes

Fixes #5095: Fix display of assigned prefixes in VLANs list
This commit is contained in:
Jeremy Stretch 2020-09-03 11:47:03 -04:00 committed by GitHub
commit b22d4cb9ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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