{% load humanize %} {% load icons %} {% load converter %} {% load settings %}
{% get_setting "LIMS_USE_CRM" as crm %} {% if crm %} {% endif %}
{{ connection.beamline }} | {% if connection.user.alias %} {{ connection.user.alias }} ({{ connection.user.name|upper }}) {% else %} {{ connection.user.name|upper }} {% endif %}| {% if connection.user.contact_person %}{{ connection.user.contact_person }} {% else %}{{ connection.user.first_name|default_if_none:"" }} {{ connection.user.last_name|default_if_none:"" }} {% endif %}
{% if connection.beamtime %} {{ connection.beamtime.shifts|intword }} {{ connection.beamtime.access.name }} shift{{ connection.beamtime.shifts|pluralize:"s" }} {% else %} No scheduled beamtime {% endif %} / {{ connection.shipments }} Shipment{{ connection.shipments|pluralize }}