{% if reservations %}
{% for item in reservations %} {% set res = item.reservation %} {% set card_id = "res-card-" ~ res.id %} {% set detail_id = "res-detail-" ~ res.id %}

{{ res.name }}

{% if res.device_type == 'slm' %} SLM {% else %} Seismograph {% endif %} {% if item.has_conflicts %} {{ item.conflict_count }} cal swap{{ 's' if item.conflict_count != 1 else '' }} {% endif %}

{{ res.start_date.strftime('%b %d, %Y') }} – {% if res.end_date %} {{ res.end_date.strftime('%b %d, %Y') }} {% elif res.end_date_tbd %} TBD {% if res.estimated_end_date %} (est. {{ res.estimated_end_date.strftime('%b %d, %Y') }}) {% endif %} {% else %} Ongoing {% endif %}

{% set full = item.assigned_count == item.location_count and item.location_count > 0 %} {% set remaining = item.location_count - item.assigned_count %}
est. {% if res.estimated_units %}{{ res.estimated_units }}{% else %}—{% endif %} · {{ item.assigned_count }}/{{ item.location_count }} {% if remaining > 0 %} ({{ remaining }} more) {% endif %}
{% if item.location_count > 0 %}
{% for i in range(item.location_count) %} {% endfor %}
{% endif %}
{% endfor %}
{% else %}

No jobs yet

Click "New Job" to start planning a deployment

{% endif %}