{% load i18n %} {% comment %}Compact tray usage readout. Expects `util`, a TrayUtilization.{% endcomment %} {% if util.tube_capacity is not None %}{{ util.tubes }}/{{ util.tube_capacity }} {% trans "tubes" %}{% else %}{{ util.tubes }} {% trans "tubes" %}{% endif %}, {{ util.strands }}/{{ util.strand_capacity }} {% trans "fibers" %}, {{ util.splices }}/{{ util.splice_capacity }} {% trans "splices" %} {% if util.over_capacity %}{% trans "Over capacity" %}{% endif %}