{% extends 'generic/object.html' %} {% load buttons %} {% load static %} {% load helpers %} {% load plugins %} {% load i18n %} {% block breadcrumbs %} {{ block.super }}
{% trans "Power Panel" %} | {{ object.power_panel|linkify }} | |
---|---|---|
{% trans "Rack" %} | {{ object.rack|linkify|placeholder }} | |
{% trans "Type" %} | {% badge object.get_type_display bg_color=object.get_type_color %} | |
{% trans "Status" %} | {% badge object.get_status_display bg_color=object.get_status_color %} | |
{% trans "Description" %} | {{ object.description|placeholder }} | |
{% trans "Tenant" %} | {% if object.tenant.group %} {{ object.tenant.group|linkify }} / {% endif %} {{ object.tenant|linkify|placeholder }} | |
{% trans "Connected Device" %} | {% if object.connected_endpoints %} {{ object.connected_endpoints.0.device|linkify }} ({{ object.connected_endpoints.0|linkify:"name" }}) {% else %} {{ ''|placeholder }} {% endif %} | |
{% trans "Utilization (Allocated" %}) | {% with utilization=object.connected_endpoints.0.get_power_draw %} {% if utilization %}{{ utilization.allocated }}{% trans "VA" %} / {{ object.available_power }}{% trans "VA" %} {% if object.available_power > 0 %} {% utilization_graph utilization.allocated|percentage:object.available_power %} {% endif %} | {% else %}{{ ''|placeholder }} | {% endif %} {% endwith %}
{% trans "Supply" %} | {{ object.get_supply_display }} |
---|---|
{% trans "Voltage" %} | {{ object.voltage }}{% trans "V" context "Abbreviation for volts" %} |
{% trans "Amperage" %} | {{ object.amperage }}{% trans "A" context "Abbreviation for amperes" %} |
{% trans "Phase" %} | {{ object.get_phase_display }} |
{% trans "Max Utilization" %} | {{ object.max_utilization }}% |