From 3a192223a38a8d6c4a833405b0ae73579585b4b9 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Tue, 2 Nov 2021 15:58:14 -0400 Subject: [PATCH] Changelog & cleanup for #7668, #7717 --- docs/release-notes/version-3.0.md | 5 +++++ netbox/ipam/tables/ip.py | 2 +- netbox/templates/dcim/location.html | 17 +++++++---------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/release-notes/version-3.0.md b/docs/release-notes/version-3.0.md index 772435f4c..c9f58d98f 100644 --- a/docs/release-notes/version-3.0.md +++ b/docs/release-notes/version-3.0.md @@ -2,6 +2,10 @@ ## v3.0.9 (FUTURE) +### Enhancements + +* [#7668](https://github.com/netbox-community/netbox/issues/7668) - Add "view elevations" button to location view + ### Bug Fixes * [#7599](https://github.com/netbox-community/netbox/issues/7599) - Improve color mode preference handling @@ -11,6 +15,7 @@ * [#7643](https://github.com/netbox-community/netbox/issues/7643) - Fix circuit assignment when creating multiple terminations simultaneously * [#7644](https://github.com/netbox-community/netbox/issues/7644) - Prevent inadvertent deletion of prior change records when deleting objects (#7333 revisited) * [#7647](https://github.com/netbox-community/netbox/issues/7647) - Require interface assignment when designating IP address as primary for device/VM during CSV import +* [#7717](https://github.com/netbox-community/netbox/issues/7717) - Restore missing tags column on IP range table --- diff --git a/netbox/ipam/tables/ip.py b/netbox/ipam/tables/ip.py index 1323f551f..85f5936e1 100644 --- a/netbox/ipam/tables/ip.py +++ b/netbox/ipam/tables/ip.py @@ -269,7 +269,7 @@ class IPRangeTable(BaseTable): model = IPRange fields = ( 'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description', - 'utilization','tags', + 'utilization', 'tags', ) default_columns = ( 'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description', diff --git a/netbox/templates/dcim/location.html b/netbox/templates/dcim/location.html index 0c254e413..7d5598bbc 100644 --- a/netbox/templates/dcim/location.html +++ b/netbox/templates/dcim/location.html @@ -21,17 +21,14 @@ Name {{ object.name }} - Description {{ object.description|placeholder }} - Site {{ object.site }} - Parent @@ -42,25 +39,25 @@ {% endif %} - Racks + {% if rack_count %} +
+ + + +
+ {% endif %} {{ rack_count }} - - - - - Devices {{ device_count }} -