{# Only the box marks a task done; its title opens it to change. Done a moment ago, it stays, struck through, with Undo. #} {% if not tasks and not done %}

Nothing due today.{% if upcoming %} {{ upcoming }} more {{ "task" if upcoming == 1 else "tasks" }} later.{% endif %} All tasks

{% else %}
{% for task in tasks %}
{{ task.title }} {{ label(task) }}
{% endfor %} {% for task in done %}
{{ task.title }}Done{% if task.repeat and task.due_date %} · next {{ task.due_date.strftime("%a %-d %b") }}{% endif %}
{% endfor %}
{% endif %}