{% extends 'generic/object_detail.html' %}
{% load helpers %}

{% block extra_breadcrumbs %}
                <li>{{ object.location|hyperlinked_object }}</li>
                {% if object.rack_group %}
                    <li>{{ object.rack_group|hyperlinked_object }}</li>
                {% endif %}
{% endblock extra_breadcrumbs %}

{% block content_left_page %}
        <div class="panel panel-default">
            <div class="panel-heading">
                <strong>Power Panel</strong>
            </div>
            <table class="table table-hover panel-body attr-table">
                <tr>
                    <td>Location</td>
                    <td>{% include 'dcim/inc/location_hierarchy.html' with location=object.location %}</td>
                </tr>
                <tr>
                    <td>Rack Group</td>
                    <td>{{ object.rack_group|hyperlinked_object }}</td>
                </tr>
            </table>
        </div>
{% endblock content_left_page %}

{% block content_full_width_page %}
        {% include 'panel_table.html' with table=powerfeed_table heading='Connected Feeds' %}
{% endblock content_full_width_page %}
