{% include "partials/counts.html" %}

{{ first.strftime('%B %Y') }}

{% if first.strftime('%Y-%m') != this_month %}{% endif %}

Drag a task to another day to move it · {{ in_month }} deadline{{ '' if in_month == 1 else 's' }} this month{% if filtered %} (filtered){% endif %}

No deadline set ({{ undated|length }}) · drop a task here to clear its deadline

{% for t in undated %}{% set c = t.color if t.color in COLORS else 'green' %} {% else %}None {% endfor %}
{% if earlier_overdue %}

Overdue from earlier months ({{ earlier_overdue|length }})

{% for t in earlier_overdue %}{% set c = t.color if t.color in COLORS else 'green' %} {% endfor %}
{% endif %}
{% for name in ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] %}
{{ name }}
{% endfor %} {% for week in weeks %}{% for d in week %}
{{ d.day }}
{% for t in by_day.get(d, []) %} {% set c = t.color if t.color in COLORS else 'green' %} {% endfor %}
{% endfor %}{% endfor %}