{% extends 'generic/object_detail.html' %} {% load helpers %} {% load tz %} {% block content_left_page %}
Site
Status {{ object.get_status_display }}
Region {% if object.region %} {% for region in object.region.get_ancestors %} {{ region|hyperlinked_object }} / {% endfor %} {% endif %} {{ object.region|hyperlinked_object }}
Tenant {% if object.tenant and object.tenant.group %} {{ object.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 }})
Site time: {% timezone object.time_zone %}{% now "SHORT_DATETIME_FORMAT" %}{% endtimezone %} {% else %} {% endif %}
Description {{ object.description|placeholder }}
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 {% if object.contact_phone %} {{ object.contact_phone }} {% else %} {% endif %}
Contact E-Mail {% if object.contact_email %} {{ object.contact_email }} {% else %} {% endif %}
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 %}
Locations
{% include 'inc/table.html' with table=locations_table %} {% if perms.dcim.add_location %} {% endif %}
{% include 'inc/paginator.html' with paginator=locations_table.paginator page=locations_table.page %} {% endblock content_full_width_page %}