diff --git a/netbox/templates/dcim/cable.html b/netbox/templates/dcim/cable.html index 376271802..456300224 100644 --- a/netbox/templates/dcim/cable.html +++ b/netbox/templates/dcim/cable.html @@ -5,8 +5,8 @@ {% load plugins %} {% block breadcrumbs %} -
Type | +Type | {{ object.get_type_display|placeholder }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Status | +Status | {{ object.get_status_display }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Label | +Label | {{ object.label|placeholder }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Color | +Color | {% if object.color %} @@ -52,7 +52,7 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Length | +Length |
{% if object.length %}
{{ object.length }} {{ object.get_length_unit_display }}
@@ -73,13 +73,17 @@
Termination A+
{% include 'dcim/inc/cable_termination.html' with termination=object.termination_a %}
+
Termination B+
{% include 'dcim/inc/cable_termination.html' with termination=object.termination_b %}
+
+
{% export_button content_type %}
-{% block title %}{{ title }}{% endblock %}
diff --git a/netbox/templates/dcim/consoleport.html b/netbox/templates/dcim/consoleport.html
index 701fc6ef6..fcefc9fab 100644
--- a/netbox/templates/dcim/consoleport.html
+++ b/netbox/templates/dcim/consoleport.html
@@ -5,52 +5,53 @@
{% block content %}
-
-
- Console Port
+
+
{% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all %}
{% plugin_left_page object %}
+ Console Port ++
+
-
-
-
- Connection
-
- {% if object.mark_connected %}
-
- Marked as connected
-
- {% elif object.cable %}
-
- Not connected
+
+
+ Not Connected
{% if perms.dcim.add_cable %}
-
-
{% endif %}
-
-
- Console Server Port
+
+
{% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all %}
{% plugin_left_page object %}
+ Console Server Port ++
+
-
-
-
- Connection
-
- {% if object.mark_connected %}
-
- Marked as connected
-
- {% elif object.cable %}
-
- Not connected
+
+ Not Connected
{% if perms.dcim.add_cable %}
-
-
{% endif %}
+
+
{% endif %}
-
- {% endif %}
- {% if perms.dcim.add_device %}
- {% clone_button object %}
- {% endif %}
- {% if perms.dcim.change_device %}
- {% edit_button object %}
- {% endif %}
- {% if perms.dcim.delete_device %}
- {% delete_button object %}
- {% endif %}
+{% block extra_controls %}
+{% if perms.dcim.change_device %}
+
+
+{% endif %}
{% endblock %}
-{% block tabs %}
-
-
- Device Configuration
-
+
+ Device Configuration+
|