{% extends 'generic/object_retrieve.html' %} {% load form_helpers %} {% load helpers %} {% load static %} {% block content_left_page %}
Cable Inventory Item
Label {{ object.label }}
In use {% if object.cable %}✔{% else %}✘{% endif %}
Owner {{ object.owner|hyperlinked_object }}
Type {{ object.get_type_display|placeholder }}
Plug {{ object.plug }}
Color {% if object.color %}   {% else %} {% endif %}
Length {% if object.length %} {{ object.length }} {{ object.get_length_unit_display }} {% else %} {% endif %}
Supplier {{ object.supplier|hyperlinked_object }}
Storage rack {{ object.storage_rack|hyperlinked_object }}
Procurement identifier {{ object.procurement_ident|placeholder }}
{% endblock content_left_page %} {% block content_right_page %} {% if object.cable %}
Assigned Cable
Cable {{ object.cable|hyperlinked_object }}
Type {{ object.cable.get_type_display|placeholder }}
Status {{ object.cable.status| hyperlinked_object_with_color }}
Label {{ object.cable.label|placeholder }}
Color {% if object.cable.color %}   {% else %} {% endif %}
Length {% if object.cable.length %} {{ object.cable.length }} {{ object.cable.get_length_unit_display }} {% else %} {% endif %}
Termination A
{% include 'dcim/inc/cable_termination.html' with termination=object.cable.termination_a %}
Termination B
{% include 'dcim/inc/cable_termination.html' with termination=object.cable.termination_b %}
{% endif %} {% endblock content_right_page %}