From 891a12873691722101be4cf044cb6cc96b491676 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 6 Jul 2016 16:01:18 -0400 Subject: [PATCH] Cleaned up 'not connected' text --- netbox/templates/dcim/inc/_consoleport.html | 4 +++- netbox/templates/dcim/inc/_consoleserverport.html | 4 +++- netbox/templates/dcim/inc/_poweroutlet.html | 4 +++- netbox/templates/dcim/inc/_powerport.html | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/netbox/templates/dcim/inc/_consoleport.html b/netbox/templates/dcim/inc/_consoleport.html index 96cdd6a6d..373d41204 100644 --- a/netbox/templates/dcim/inc/_consoleport.html +++ b/netbox/templates/dcim/inc/_consoleport.html @@ -11,7 +11,9 @@ {{ cp.cs_port.name }} {% else %} - Not connected + + Not connected + {% endif %} {% if perms.dcim.change_consoleport %} diff --git a/netbox/templates/dcim/inc/_consoleserverport.html b/netbox/templates/dcim/inc/_consoleserverport.html index 6c950f172..3d6308e2b 100644 --- a/netbox/templates/dcim/inc/_consoleserverport.html +++ b/netbox/templates/dcim/inc/_consoleserverport.html @@ -10,7 +10,9 @@ {{ csp.connected_console.name }} {% else %} - Not connected + + Not connected + {% endif %} {% if perms.dcim.change_consoleserverport %} diff --git a/netbox/templates/dcim/inc/_poweroutlet.html b/netbox/templates/dcim/inc/_poweroutlet.html index 5ab4ccf95..b77252cc1 100644 --- a/netbox/templates/dcim/inc/_poweroutlet.html +++ b/netbox/templates/dcim/inc/_poweroutlet.html @@ -10,7 +10,9 @@ {{ po.connected_port.name }} {% else %} - Not connected + + Not connected + {% endif %} {% if perms.dcim.change_poweroutlet %} diff --git a/netbox/templates/dcim/inc/_powerport.html b/netbox/templates/dcim/inc/_powerport.html index bd0256b29..077cc7aa6 100644 --- a/netbox/templates/dcim/inc/_powerport.html +++ b/netbox/templates/dcim/inc/_powerport.html @@ -11,7 +11,9 @@ {{ pp.power_outlet.name }} {% else %} - Not connected + + Not connected + {% endif %} {% if perms.dcim.change_powerport %}