{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% load tz %} {% block breadcrumbs %} {{ block.super }} {% if object.region %} {% for region in object.region.get_ancestors %} {% endfor %} {% elif object.group %} {% for group in object.group.get_ancestors %} {% endfor %} {% endif %} {% endblock %} {% block content %}
Site
Region {% if object.region %} {% for region in object.region.get_ancestors %} {{ region }} / {% endfor %} {{ object.region }} {% else %} None {% endif %}
Group {% if object.group %} {% for group in object.group.get_ancestors %} {{ group }} / {% endfor %} {{ object.group }} {% else %} None {% endif %}
Status {{ object.get_status_display }}
Tenant {% if object.tenant %} {% if object.tenant.group %} {{ object.tenant.group }} / {% endif %} {{ object.tenant }} {% else %} None {% endif %}
Facility {{ object.facility|placeholder }}
Description {{ object.description|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 %}{% annotated_now %}{% endtimezone %} {% else %} {% endif %}
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 %}
{% include 'inc/panels/contacts.html' %}
Contact Info
{% with deprecation_warning="This field will be removed in a future release. Please migrate this data to contact objects." %}
Contact Name {% if object.contact_name %}
{% endif %} {{ 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 %}
{% endwith %}
{% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/tags.html' with tags=object.tags.all url='dcim:site_list' %} {% include 'inc/panels/comments.html' %} {% plugin_left_page object %}
Locations
{% if locations %} {% for location in locations %} {% endfor %}
Location Racks Devices
{{ location }} {{ location.rack_count }} {{ location.device_count }}
{% else %} None {% endif %}
{% include 'inc/panels/image_attachments.html' %} {% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}