{{ label(stage) }}{{ tasks|length }}

{% for t in tasks %} {% with slug = project.slug %}{% include "_card.html" %}{% endwith %} {% else %}

Nothing here

{% endfor %}
{% if stage == "done" %} {#- Archive all shown: the cards on screen (the filter's), not those already in the archive. #} {%- set ns = namespace(n=0) %}{% for t in tasks %}{% if not task_archived(t) %}{% set ns.n = ns.n + 1 %}{% endif %}{% endfor %} {% if ns.n %}

{% endif %} {% if done_more %}

{{ done_more }} more not shown; search to find them.

{% endif %} {% if hidden_archived %}

{{ hidden_archived }} in the archive (closed more than {{ done_window_days }} days ago or archived by hand) ยท Show archived

{% endif %} {% endif %}