{% load helpers %}
{% if not termination and perms.circuits.add_circuittermination %} Add {% endif %} {% if termination and perms.circuits.change_circuittermination %} Edit Swap {% endif %} {% if termination and perms.circuits.delete_circuittermination %} Delete {% endif %}
Termination - {{ side }} Side
{% if termination %} {% if termination.site %} {% else %} {% endif %}
Site {% if termination.site.region %} {{ termination.site.region }} / {% endif %} {{ termination.site }}
Termination {% if termination.mark_connected %} Marked as connected {% elif termination.cable %} {% if perms.dcim.delete_cable %} {% endif %} {{ termination.cable }} {% with peer=termination.get_cable_peer %} to {{ peer.parent_object }} / {% if peer.get_absolute_url %}{{ peer }}{% else %}{{ peer }}{% endif %} {% endwith %} {% else %} {% if perms.dcim.add_cable %} {% endif %} Not defined {% endif %}
Provider Network {{ termination.provider_network }}
Speed {% if termination.port_speed and termination.upstream_speed %} {{ termination.port_speed|humanize_speed }}   {{ termination.upstream_speed|humanize_speed }} {% elif termination.port_speed %} {{ termination.port_speed|humanize_speed }} {% else %} {% endif %}
Cross-Connect {{ termination.xconnect_id|placeholder }}
Patch Panel/Port {{ termination.pp_info|placeholder }}
Description {{ termination.description|placeholder }}
{% else %}
None
{% endif %}