{% for task in open_tasks %}
{{ task.id().short() }}
{% if let Some(p) = task.priority() %}
· [P{{ p }}]
{% endif %}
{% endfor %}
{% if open_tasks.is_empty() %}
no tasks
{% endif %}
{% for task in in_progress_tasks %}
{{ task.id().short() }}
{% if let Some(p) = task.priority() %}
· [P{{ p }}]
{% endif %}
{% endfor %}
{% if in_progress_tasks.is_empty() %}
no tasks
{% endif %}
{% for task in done_tasks %}
{{ task.id().short() }}
{% if let Some(p) = task.priority() %}
· [P{{ p }}]
{% endif %}
{% endfor %}
{% if done_tasks.is_empty() %}
no tasks
{% endif %}
{% for task in cancelled_tasks %}
{{ task.id().short() }}
{% if let Some(p) = task.priority() %}
· [P{{ p }}]
{% endif %}
{% endfor %}
{% if cancelled_tasks.is_empty() %}
no tasks
{% endif %}