{# doto-archive.html - Template for the archived-task page listing #} {# Context variables: - rows: List of archived-task dicts, each with: id, title, status, assignee, priority, archived_on, original_page, body - total: Number of archived tasks (len of rows) Rendered by the doto-archive directive from the JSON task store. A child theme can override this by placing its own copy at _doto/templates/html/doto-archive.html in the project source tree. #}

Total archived tasks: {{ total }}

{%- if rows %} {%- for row in rows %} {%- if row.body %} {%- endif %} {%- endfor %}
ID Title Status Priority Assignee Archived Original page
{{ row.id }} {{ row.title }} {{ row.status }} {{ row.priority }} {{ row.assignee }} {{ row.archived_on }} {{ row.original_page }}
{{ row.body }}
{%- else %}

No archived tasks.

{%- endif %}