Region |
{% if object.site.region %}
{% for region in object.site.region.get_ancestors %}
{{ region|linkify }} /
{% endfor %}
{{ object.site.region|linkify }}
{% else %}
{{ ''|placeholder }}
{% endif %}
|
Site |
{{ object.site|linkify }} |
Location |
{% if object.location %}
{% for location in object.location.get_ancestors %}
{{ location|linkify }} /
{% endfor %}
{{ object.location|linkify }}
{% else %}
{{ ''|placeholder }}
{% endif %}
|
Rack |
{% if object.rack %}
{{ object.rack|linkify }}
{% else %}
{{ ''|placeholder }}
{% endif %}
|
Position |
{% if object.parent_bay %}
{% with object.parent_bay.device as parent %}
{{ parent|linkify }} / {{ object.parent_bay }}
{% if parent.position %}
(U{{ parent.position|floatformat }} / {{ parent.get_face_display }})
{% endif %}
{% endwith %}
{% elif object.rack and object.position %}
U{{ object.position|floatformat }} / {{ object.get_face_display }}
{% elif object.rack and object.device_type.u_height %}
Not racked
{% else %}
{{ ''|placeholder }}
{% endif %}
|
Tenant |
{% if object.tenant.group %}
{{ object.tenant.group|linkify }} /
{% endif %}
{{ object.tenant|linkify|placeholder }}
|