- Utilization (Allocated) |
+ Utilization (Allocated) |
{% with utilization=object.connected_endpoint.get_power_draw %}
{% if utilization %}
@@ -87,23 +87,23 @@
- Supply |
+ Supply |
{{ object.get_supply_display }} |
- Voltage |
+ Voltage |
{{ object.voltage }}V |
- Amperage |
+ Amperage |
{{ object.amperage }}A |
- Phase |
+ Phase |
{{ object.get_phase_display }} |
- Max Utilization |
+ Max Utilization |
{{ object.max_utilization }}% |
@@ -126,7 +126,7 @@
{% elif object.cable %}
{% else %}
- {% if perms.dcim.add_cable %}
-
- Connect
-
- {% endif %}
Not connected
{% endif %}
+ {% if not object.mark_connected and not object.cable %}
+
+ {% endif %}
Power Panels
- {{ object.site }}
+ Power Panels
+ {{ object.site }}
{% if object.location %}
- {{ object.location }}
+ {{ object.location }}
{% endif %}
- {{ object }}
+ {{ object }}
{% endblock %}
{% block content %}
-
-
- Power Panel
+
{% plugin_left_page object %}
@@ -45,7 +47,7 @@
{% plugin_right_page object %}
-
+
{% include 'panel_table.html' with table=powerfeed_table heading='Connected Feeds' %}
{% plugin_full_width_page object %}
diff --git a/netbox/templates/extras/object_changelog.html b/netbox/templates/extras/object_changelog.html
index 64f76fe60..48df5161f 100644
--- a/netbox/templates/extras/object_changelog.html
+++ b/netbox/templates/extras/object_changelog.html
@@ -1,6 +1,6 @@
{% extends base_template %}
-{% block title %}{{ block.super }} - Change Log{% endblock %}
+{% block title %}{{ object }} - Change Log{% endblock %}
{% block content %}
{% include 'panel_table.html' %}
diff --git a/netbox/templates/generic/object_edit.html b/netbox/templates/generic/object_edit.html
index ab18c13a4..cfe334b2a 100644
--- a/netbox/templates/generic/object_edit.html
+++ b/netbox/templates/generic/object_edit.html
@@ -7,8 +7,8 @@
|