From cf770bf40c5e299db9778e92f2f3686fa981e9bd Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 24 Jun 2019 14:27:34 -0400 Subject: [PATCH] Closes #3277: Add cable trace buttons for console and power ports --- CHANGELOG.md | 1 + netbox/templates/dcim/inc/consoleport.html | 3 +++ netbox/templates/dcim/inc/powerport.html | 3 +++ 3 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3adee7f7a..7841bafb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ v2.6.1 (FUTURE) ## Enhancements +* [#3277](https://github.com/digitalocean/netbox/issues/3277) - Add cable trace buttons for console and power ports * [#3281](https://github.com/digitalocean/netbox/issues/3281) - Hide custom links which render as empty text ## Bug Fixes diff --git a/netbox/templates/dcim/inc/consoleport.html b/netbox/templates/dcim/inc/consoleport.html index e75e09076..03c28c22a 100644 --- a/netbox/templates/dcim/inc/consoleport.html +++ b/netbox/templates/dcim/inc/consoleport.html @@ -15,6 +15,9 @@ {% if cp.cable %} {{ cp.cable }} + + + {% else %} — {% endif %} diff --git a/netbox/templates/dcim/inc/powerport.html b/netbox/templates/dcim/inc/powerport.html index e8cd77857..99e9e8991 100644 --- a/netbox/templates/dcim/inc/powerport.html +++ b/netbox/templates/dcim/inc/powerport.html @@ -23,6 +23,9 @@ {% if pp.cable %} {{ pp.cable }} + + + {% else %} — {% endif %}