{% load helpers %} {% load i18n %}
{% if tray_data.has_trays or tray_data.unassigned_tubes %} {% for tray in tray_data.splice_trays %}
{{ tray.module|linkify }} {% trans "Splice Tray" %} {% include "netbox_fms/inc/tray_utilization.html" with util=tray.util %}
{% if tray.assigned_tubes %} {% else %}
{% trans "No tubes assigned" %}
{% endif %}
{% endfor %} {% for basket in tray_data.express_baskets %}
{{ basket.module|linkify }} {% trans "Express Basket" %} {% if basket.util.tube_capacity is not None %}{{ basket.util.tube_capacity }} {% trans "tubes" %}{% else %}{% trans "No tube limit" %}{% endif %}
{% trans "Pass-through tubes — no splicing" %}
{% endfor %} {% if tray_data.unassigned_tubes %}
{% trans "Unassigned Tubes" %}
{% endif %} {% else %}
{% trans "No tray profiles found. Define Module Types as splice trays to enable tube assignment." %}
{% endif %}