{% load i18n %} {% load helpers %}
{{ cable.label|default:cable }}
{% trans "Cable" %} {% if fiber_cable %} {% endif %} {% if cable.length %} {% endif %}
{% trans "Status" %}{{ cable.get_status_display }}
{% trans "Fiber Cable Type" %}{{ fiber_cable.fiber_cable_type }}
{% trans "Fiber Type" %}{{ cable.get_type_display }}
{% trans "Strand Count" %}{{ fiber_cable.fiber_cable_type.strand_count }}F
{% trans "Length" %}{{ cable.length }} {{ cable.get_length_unit_display }}
{% trans "View Cable" %} {% if fiber_cable %} {% trans "View Fiber Cable" %} {% endif %}
{% trans "Path Loss" %}: {% with loss=path.get_calculated_loss_db %}{% if loss is not None %}{{ loss }} dB{% else %}—{% endif %}{% endwith %} {% if path.wavelength_nm %}@ {{ path.wavelength_nm }} nm{% endif %} · {% if path.is_complete %}{% trans "Complete" %}{% else %}{% trans "Incomplete" %}{% endif %}