{% extends "base.html" %} {% import "_macros.html" as m %} {% from "_macros.html" import icon %} {% set active_nav = 'report' %} {% block title %}{{ person.name }} — {{ selected | nicedate }}{% endblock %} {% block heading %}{{ person.name }}{% if is_self %} (you){% endif %}{% endblock %} {% block content %}

{{ person.name }}{% if is_self %} (you){% endif %} {{ selected | nicedate }}

{% if not spilled and not open_tasks and not completed %}
{{ icon('report') }}

Nothing due on this day.

{% endif %} {% if spilled %}

Spilled over from earlier {{ spilled | length }}

Carried in from previous days — still open on {{ selected | nicedate }}.

{% for task in spilled %} {{ m.task_card(task, allow_complete=True) }} {% endfor %} {% endif %} {% if open_tasks %}

Due this day — open {{ open_tasks | length }}

{% for task in open_tasks %} {{ m.task_card(task, allow_complete=True) }} {% endfor %} {% endif %} {% if completed %}

Completed {{ completed | length }}

{% for task in completed %} {{ m.task_card(task) }} {% endfor %} {% endif %} Back to report {% endblock %}