{% extends 'generic/object.html' %} {% load buttons %} {% load static %} {% load helpers %} {% load plugins %} {% load i18n %} {% block breadcrumbs %} {{ block.super }} {% if object.rack %} {% endif %} {% endblock %} {% block content %}

{% trans "Power Feed" %}

{% with utilization=object.connected_endpoints.0.get_power_draw %} {% if utilization %} {% else %} {% endif %} {% endwith %}
{% 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" %}) {{ utilization.allocated }}{% trans "VA" %} / {{ object.available_power }}{% trans "VA" %} {% if object.available_power > 0 %} {% utilization_graph utilization.allocated|percentage:object.available_power %} {% endif %} {{ ''|placeholder }}

{% trans "Electrical Characteristics" %}

{% 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 }}%
{% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/tags.html' %} {% plugin_left_page object %}

{% trans "Connection" %}

{% if object.mark_connected %}
{% trans "Marked as connected" %}
{% elif object.cable %} {% include 'dcim/inc/connection_endpoints.html' with trace_url='dcim:powerfeed_trace' %} {% else %}
{% trans "Not connected" %}
{% endif %} {% if not object.mark_connected and not object.cable %} {% endif %}
{% include 'inc/panels/comments.html' %} {% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}