{# Only the box marks a task done; its title opens it to change. Done a moment ago, it stays in its place, struck through, fading out over eight seconds: its box again brings it back. #} {% if not tasks %}

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

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