mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-15 11:42:52 -06:00
Fixes #5648: Include VC member interfaces on interfaces tab count when viewing VC master
This commit is contained in:
parent
87c600aa7c
commit
137aa9da2c
@ -17,6 +17,7 @@
|
|||||||
* [#5603](https://github.com/netbox-community/netbox/issues/5603) - Fix display of white cables in trace view
|
* [#5603](https://github.com/netbox-community/netbox/issues/5603) - Fix display of white cables in trace view
|
||||||
* [#5639](https://github.com/netbox-community/netbox/issues/5639) - Fix filtering connection lists by device name
|
* [#5639](https://github.com/netbox-community/netbox/issues/5639) - Fix filtering connection lists by device name
|
||||||
* [#5640](https://github.com/netbox-community/netbox/issues/5640) - Fix permissions assessment when adding VM interfaces in bulk
|
* [#5640](https://github.com/netbox-community/netbox/issues/5640) - Fix permissions assessment when adding VM interfaces in bulk
|
||||||
|
* [#5648](https://github.com/netbox-community/netbox/issues/5648) - Include VC member interfaces on interfaces tab count when viewing VC master
|
||||||
* [#5665](https://github.com/netbox-community/netbox/issues/5665) - Validate rack group is assigned to same site when creating a rack
|
* [#5665](https://github.com/netbox-community/netbox/issues/5665) - Validate rack group is assigned to same site when creating a rack
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -90,7 +90,7 @@
|
|||||||
<li role="presentation" {% if active_tab == 'device' %} class="active"{% endif %}>
|
<li role="presentation" {% if active_tab == 'device' %} class="active"{% endif %}>
|
||||||
<a href="{% url 'dcim:device' pk=object.pk %}">Device</a>
|
<a href="{% url 'dcim:device' pk=object.pk %}">Device</a>
|
||||||
</li>
|
</li>
|
||||||
{% with interface_count=object.interfaces.count %}
|
{% with interface_count=object.vc_interfaces.count %}
|
||||||
{% if interface_count %}
|
{% if interface_count %}
|
||||||
<li role="presentation" {% if active_tab == 'interfaces' %} class="active"{% endif %}>
|
<li role="presentation" {% if active_tab == 'interfaces' %} class="active"{% endif %}>
|
||||||
<a href="{% url 'dcim:device_interfaces' pk=object.pk %}">Interfaces {% badge interface_count %}</a>
|
<a href="{% url 'dcim:device_interfaces' pk=object.pk %}">Interfaces {% badge interface_count %}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user