From 7dde370ee1b104f8a484b24037b5bb12fe80125b Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 15 Nov 2018 14:23:23 -0500 Subject: [PATCH] Fixes #2593: Fix toggling of connected cable's status --- CHANGELOG.md | 3 ++- netbox/templates/dcim/device.html | 18 +++++-------- .../dcim/inc/cable_toggle_buttons.html | 16 +++++++++++ netbox/templates/dcim/inc/consoleport.html | 27 ++++++------------- .../templates/dcim/inc/consoleserverport.html | 27 ++++++------------- netbox/templates/dcim/inc/frontport.html | 10 +++---- netbox/templates/dcim/inc/interface.html | 27 +++++-------------- netbox/templates/dcim/inc/poweroutlet.html | 27 ++++++------------- netbox/templates/dcim/inc/powerport.html | 27 ++++++------------- netbox/templates/dcim/inc/rearport.html | 10 +++---- 10 files changed, 71 insertions(+), 121 deletions(-) create mode 100644 netbox/templates/dcim/inc/cable_toggle_buttons.html diff --git a/CHANGELOG.md b/CHANGELOG.md index aed3d4304..1a8f02322 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,7 +56,8 @@ NetBox now supports modeling physical cables for console, power, and interface c * [#2583](https://github.com/digitalocean/netbox/issues/2583) - Cleaned up component filters for device and device type * [#2584](https://github.com/digitalocean/netbox/issues/2584) - Prevent a Front port from being connected to its corresponding rear port * [#2585](https://github.com/digitalocean/netbox/issues/2585) - Prevent cable connections that include a virtual interface -* [#2586](https://github.com/digitalocean/netbox/issues/2585) - Added tests for the Cable model's clean() method +* [#2586](https://github.com/digitalocean/netbox/issues/2586) - Added tests for the Cable model's clean() method +* [#2593](https://github.com/digitalocean/netbox/issues/2593) - Fix toggling of connected cable's status ## API Changes diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index cfcd6f51a..af4b9e209 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -776,8 +776,8 @@ {% block javascript %}