{% extends 'generic/object.html' %}
{% load helpers %}
{% load plugins %}
{% load i18n %}
{% block extra_controls %}
{% if perms.netbox_fms.change_fiberfault %}
{% if object.located_at_status == 'estimated' %}
{% endif %}
{% if object.located_at_status != 'confirmed' %}
{% endif %}
{% endif %}
{% endblock extra_controls %}
{% block content %}
| {% trans "Fiber Cable" %} |
{{ object.fiber_cable|linkify }} |
| {% trans "Status" %} |
{% badge object.get_status_display bg_color=object.get_status_color %} |
| {% trans "Description" %} |
{{ object.description|placeholder }} |
| {% trans "Reported at" %} |
{{ object.reported_at|isodatetime }} |
| {% trans "Resolved at" %} |
{{ object.resolved_at|isodatetime|placeholder }} |
| {% trans "Status" %} |
{% badge object.get_located_at_status_display bg_color=object.get_located_at_status_color %} |
| {% trans "Located at" %} |
{{ object.located_at|linkify|placeholder }}
{% if closure_map_url %}
{% include 'netbox_fms/inc/show_on_map_button.html' with url=closure_map_url %}
{% endif %}
|
| {% trans "Distance from A end" %} |
{% if object.distance_from_a is not None %}{{ object.distance_from_a }} m{% else %}{{ ''|placeholder }}{% endif %} |
{% if route_place %}
| {% trans "Route segment" %} |
{% if route_segment %}
{{ route_segment.pathway|linkify }}
{% include 'netbox_fms/inc/show_on_map_button.html' with url=segment_map_url %}
{% else %}
{{ route_place.note }}
{% endif %}
|
{% endif %}
| {% trans "Location mark" %} |
{% if object.location_mark is not None %}{{ object.location_mark }} {{ object.fiber_cable.fiber_cable_type.get_mark_unit_display|default:'' }}{% else %}{{ ''|placeholder }}{% endif %} |
{% if object.estimate_note %}
| {% trans "Estimate note" %} |
{{ object.estimate_note }} |
{% endif %}
| {% trans "Origin" %} |
{{ object.otdr_origin|linkify|placeholder }} |
| {% trans "Distance" %} |
{% if object.otdr_distance is not None %}{{ object.otdr_distance }} m{% else %}{{ ''|placeholder }}{% endif %} |
| {% trans "Strand" %} |
{{ object.otdr_strand|linkify|placeholder }} |
{% for strand in object.strands.all %}
- {{ strand|linkify }}
{% empty %}
- {% trans "Whole cable" %}
{% endfor %}
{% include 'inc/panels/comments.html' %}
{% plugin_full_width_page object %}
{% endblock %}