{% extends 'dcim/device/base.html' %} {% load helpers %} {% load i18n %} {% block content %}
{% trans "Fiber Management Summary" %}
{# Stats bar #}

{{ stats.tray_count }}

{% trans "Trays" %}

{{ stats.cable_count }}

{% trans "Cables Connected" %}

{{ stats.fiber_cable_count }}

{% trans "FiberCables" %}

{{ stats.strand_linked }}/{{ stats.strand_total }}

{% trans "Strands Linked" %}
{% if plan %}

{{ plan.get_status_display }}

{% else %}

{% trans "None" %}

{% endif %} {% trans "Splice Plan" %}
{# Cable/Fiber status table #} {% if cable_rows %}
{% for row in cable_rows %} {% include "netbox_fms/htmx/fiber_overview_row.html" with row=row device=device %} {% endfor %}
{% trans "Cable" %} {% trans "Fiber Cable Type" %} {% trans "Gland" %} {% trans "Strands Linked" %} {% trans "Actions" %}
{% else %}
{% trans "No cables found on this device. Connect cables to see fiber status here." %}
{% endif %}
{# Splice Plan section #}
{% trans "Splice Plan" %}
{% if plan %}

{{ plan.name }} {{ plan.get_status_display }}

{% trans "View Plan" %} {% else %}

{% trans "No splice plan" %}

{% trans "Create Plan" %} {% endif %}
{% include 'inc/htmx_modal.html' %} {% endblock %}