Skip to content

Commit 724997c

Browse files
committed
Closes #5925: Always show IP addresses tab under prefix view
1 parent f3fe3f9 commit 724997c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/release-notes/version-3.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Enhancements
66

7+
* [#5925](https://github.com/netbox-community/netbox/issues/5925) - Always show IP addresses tab under prefix view
78
* [#6423](https://github.com/netbox-community/netbox/issues/6423) - Cache rendered REST API specifications
89
* [#6708](https://github.com/netbox-community/netbox/issues/6708) - Add image attachment support for circuits, power panels
910
* [#7387](https://github.com/netbox-community/netbox/issues/7387) - Enable arbitrary ordering of custom scripts

netbox/templates/ipam/prefix/base.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@
2525
Child Ranges {% badge object.get_child_ranges.count %}
2626
</a>
2727
</li>
28-
{% if perms.ipam.view_ipaddress and object.status != 'container' %}
29-
<li role="presentation" class="nav-item">
30-
<a class="nav-link{% if active_tab == 'ip-addresses' %} active{% endif %}" href="{% url 'ipam:prefix_ipaddresses' pk=object.pk %}">
31-
IP Addresses {% badge object.get_child_ips.count %}
32-
</a>
33-
</li>
34-
{% endif %}
28+
<li role="presentation" class="nav-item">
29+
<a class="nav-link{% if active_tab == 'ip-addresses' %} active{% endif %}" href="{% url 'ipam:prefix_ipaddresses' pk=object.pk %}">
30+
IP Addresses {% badge object.get_child_ips.count %}
31+
</a>
32+
</li>
3533
{% endblock %}

0 commit comments

Comments
 (0)