{% extends 'generic/object_detail.html' %} {% load helpers %} {% block extra_breadcrumbs %} {% for ancestor in object.ancestors %}
  • {{ ancestor|hyperlinked_object:"name"}}
  • {% endfor %} {% endblock %} {% block content_left_page %}
    Location
    Location Type {{ object.location_type|hyperlinked_object:"name" }}
    Status {{ object.get_status_display }}
    Hierarchy {% include 'dcim/inc/location_hierarchy.html' with location=object %}
    Tenant {% if object.tenant and object.tenant.group %} {{ object.tenant.group|hyperlinked_object }} / {% endif %} {{ object.tenant|hyperlinked_object }}
    Description {{ object.description|placeholder }}
    Children {% if object.location_type.children.all %} {{ children_table.rows|length }} {% else %} {{ None|placeholder }} {% endif %}
    {% endblock content_left_page %} {% block content_right_page %}
    Stats

    {{ stats.vm_count }}

    Virtual Machines

    Rack Groups
    {% for rg in rack_groups %} {% endfor %}
    {{ rg }} {{ rg.rack_count }}
    All racks {{ stats.rack_count }}
    Images
    {% include 'inc/image_attachments.html' with images=object.images.all %} {% if perms.extras.add_imageattachment %} {% endif %}
    {% endblock content_right_page %} {% block content_full_width_page %} {% if object.location_type.children.all %}
    Children
    {% include 'inc/table.html' with table=children_table %} {% if perms.dcim.add_location %} {% endif %}
    {% include 'inc/paginator.html' with paginator=children_table.paginator page=children_table.page %} {% endif %} {% endblock content_full_width_page %}