Przeglądaj źródła

Fixes #8456: Fix redundant display of VRF RD in prefix view

jeremystretch 4 lat temu
rodzic
commit
f537dc632e

+ 1 - 0
docs/release-notes/version-3.1.md

@@ -14,6 +14,7 @@
 ### Bug Fixes
 
 * [#8377](https://github.com/netbox-community/netbox/issues/8377) - Fix calculation of absolute cable lengths when specified in fractional units
+* [#8456](https://github.com/netbox-community/netbox/issues/8456) - Fix redundant display of VRF RD in prefix view
 
 ---
 

+ 1 - 1
netbox/templates/ipam/prefix.html

@@ -18,7 +18,7 @@
             <th scope="row">VRF</th>
             <td>
               {% if object.vrf %}
-                <a href="{% url 'ipam:vrf' pk=object.vrf.pk %}">{{ object.vrf }}</a> ({{ object.vrf.rd }})
+                <a href="{% url 'ipam:vrf' pk=object.vrf.pk %}">{{ object.vrf }}</a>
               {% else %}
                 <span>Global</span>
               {% endif %}