{% extends 'generic/object_detail.html' %} {% load buttons %} {% load plugins %} {% load helpers %} {% load tz %} {% 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.status| hyperlinked_object_with_color }}
    Hierarchy {% include 'dcim/inc/location_hierarchy.html' with location=object %}
    Tenant {% if object.tenant and object.tenant.tenant_group %} {{ object.tenant.tenant_group|hyperlinked_object }} / {% endif %} {{ object.tenant|hyperlinked_object }}
    Facility {{ object.facility|placeholder }}
    AS Number {{ object.asn|placeholder }}
    Time Zone {% if object.time_zone %} {{ object.time_zone }} (UTC {{ object.time_zone|tzoffset }})
    Local time: {% timezone object.time_zone %}{% now "SHORT_DATETIME_FORMAT" %}{% endtimezone %} {% else %} {% endif %}
    Description {{ object.description|placeholder }}
    Children {% if object.location_type.children.all %} {{ children_table.rows|length }} {% else %} {{ None|placeholder }} {% endif %}
    Contact Info
    Physical Address {% if object.physical_address %} {{ object.physical_address|linebreaksbr }} {% else %} {% endif %}
    Shipping Address {{ object.shipping_address|linebreaksbr|placeholder }}
    GPS Coordinates {% if object.latitude and object.longitude %} {{ object.latitude }}, {{ object.longitude }} {% else %} {% endif %}
    Contact Name {{ object.contact_name|placeholder }}
    Contact Phone {{ object.contact_phone|hyperlinked_phone_number }}
    Contact E-Mail {{ object.contact_email|hyperlinked_email }}
    Comments
    {% if object.comments %} {{ object.comments|render_markdown }} {% else %} None {% 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 %}