{% if object.mark_connected %}
Marked as connected
{% elif object.cable %}
Cable |
{{ object.cable|linkify }}
|
{% if object.connected_endpoint %}
Device |
{{ object.connected_endpoint.device|linkify }} |
Name |
{{ object.connected_endpoint|linkify:"name" }} |
Type |
{{ object.connected_endpoint.get_type_display|placeholder }} |
Description |
{{ object.connected_endpoint.description|placeholder }} |
Path Status |
{% if object.path.is_active %}
Reachable
{% else %}
Not Reachable
{% endif %}
|
{% endif %}
{% else %}
Not connected
{% endif %}
{% if not object.mark_connected and not object.cable %}
{% endif %}