diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index 2aa1666c8..8466f2bc0 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -402,7 +402,7 @@ {% endif %} -
@@ -7,7 +7,6 @@ | {{ cp.name }} | -{% if cp.cs_port %} | {{ cp.cs_port.device }} @@ -20,7 +19,7 @@ Not connected | {% endif %} -+ | {% if perms.dcim.change_consoleport %} {% if cp.cs_port %} {% if cp.connection_status %} diff --git a/netbox/templates/dcim/inc/consoleserverport.html b/netbox/templates/dcim/inc/consoleserverport.html index d3c923e43..d317cf5a4 100644 --- a/netbox/templates/dcim/inc/consoleserverport.html +++ b/netbox/templates/dcim/inc/consoleserverport.html @@ -1,4 +1,4 @@ - | |||||||||
@@ -19,7 +19,7 @@ Not connected | {% endif %} -+ | {% if perms.dcim.change_consoleserverport %} {% if csp.connected_console %} {% if csp.connected_console.connection_status %} diff --git a/netbox/templates/dcim/inc/devicebay.html b/netbox/templates/dcim/inc/devicebay.html index eacb27440..f69299bfb 100644 --- a/netbox/templates/dcim/inc/devicebay.html +++ b/netbox/templates/dcim/inc/devicebay.html @@ -1,4 +1,4 @@ - | ||||||||||||
@@ -19,7 +19,7 @@ Vacant | {% endif %} -+ |
{% if perms.dcim.change_devicebay %}
{% if devicebay.installed_device %}
diff --git a/netbox/templates/dcim/inc/poweroutlet.html b/netbox/templates/dcim/inc/poweroutlet.html
index 241ebc15c..652ac8e47 100644
--- a/netbox/templates/dcim/inc/poweroutlet.html
+++ b/netbox/templates/dcim/inc/poweroutlet.html
@@ -1,4 +1,4 @@
-
@@ -19,7 +19,7 @@
Not connected
|
{% endif %}
-
+ |
{% if perms.dcim.change_poweroutlet %}
{% if po.connected_port %}
{% if po.connected_port.connection_status %}
diff --git a/netbox/templates/dcim/inc/powerport.html b/netbox/templates/dcim/inc/powerport.html
index aacb96839..785186670 100644
--- a/netbox/templates/dcim/inc/powerport.html
+++ b/netbox/templates/dcim/inc/powerport.html
@@ -1,4 +1,4 @@
- |
@@ -7,7 +7,6 @@
|
{{ pp.name }}
|
-
{% if pp.power_outlet %}
|
{{ pp.power_outlet.device }}
@@ -20,7 +19,7 @@
Not connected
|
{% endif %}
-
+ |
{% if perms.dcim.change_powerport %}
{% if pp.power_outlet %}
{% if pp.connection_status %}
| |