{% extends "base.html" %} {% block title %}Deployment History - Seismo Fleet Manager{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
← Back to Tools

Deployment History

Where every unit has been — actual assignment windows, color-coded by project. For future / planned deployments use the Job Planner.

{{ calendar.projects | length }} project{{ '' if calendar.projects | length == 1 else 's' }} | {{ calendar.total_active_units }} unique units | {{ calendar.total_assignments }} assignment{{ '' if calendar.total_assignments == 1 else 's' }} in window
{% if calendar.projects %}
Project legend
{% for p in calendar.projects %} {{ p.name }} · {{ p.assignment_count }} {% endfor %}
{% endif %}
{% if calendar.projects %}
{% for month_data in calendar.months %}

{{ month_data.short_name }} '{{ month_data.year_short }}

S
M
T
W
T
F
S
{# Sunday-first alignment: shift Monday=0 → Sunday=0 #} {% set first_offset = (month_data.first_weekday + 1) % 7 %} {% for i in range(first_offset) %}
{% endfor %} {% for day_num in range(1, month_data.num_days + 1) %} {% set date_str = '%04d-%02d-%02d' | format(month_data.year, month_data.month, day_num) %} {% set is_today = date_str == today %} {% set day_proj_ids = month_data.active_days.get(day_num, []) %}
{{ day_num }} {% if day_proj_ids %} {% for pid in day_proj_ids[:4] %} {% set p = (calendar.projects | selectattr('id', 'equalto', pid) | first) %} {% if p %} {% endif %} {% endfor %} {% if day_proj_ids | length > 4 %} +{{ day_proj_ids | length - 4 }} {% endif %} {% endif %}
{% endfor %}
{% endfor %}
{{ calendar.months[0].short_name }} '{{ calendar.months[0].year_short }} – {{ calendar.months[11].short_name }} '{{ calendar.months[11].year_short }} Recent
{% else %}

No deployments in this window.

Try the navigation buttons below to look at a different range.

{% endif %}
{# /#dh-view-calendar #} {# /#dh-view-gantt #} {# /#dh-view-byunit #} {% endblock %}