| ID |
{{ task.id.short() }}{{ id_rest }}
|
| Title |
{{ task.title }} |
| Status |
{% if is_blocked %}
⊗ blocked
{% else %}
{% match task.status %}
{% when Status::Open %}
○ open
{% when Status::InProgress %}
◐ in-progress
{% when Status::Done %}
● done
{% when Status::Cancelled %}
✗ cancelled
{% endmatch %}
{% if blocking.is_blocking %} (blocking){% endif %}
{% endif %}
|
{% match task.priority %}
{% when Some with (p) %}
| Priority |
P{{ p }} |
{% when None %}
{% endmatch %}
{% match task.phase %}
{% when Some with (ph) %}
| Phase |
{{ ph }} |
{% when None %}
{% endmatch %}
{% match task.assigned_to.as_deref() %}
{% when Some with (who) %}
| Assigned to |
{{ who }} |
{% when None %}
{% endmatch %}
{% if !task.tags.is_empty() %}
| Tags |
{% for tag in task.tags.iter() %}
#{{ tag }}{{ " " }}
{% endfor %}
|
{% endif %}
| Created |
{{ task.created_at.format("%Y-%m-%d %H:%M UTC") }} |
| Updated |
{{ task.updated_at.format("%Y-%m-%d %H:%M UTC") }} |
{% if !task.description.is_empty() %}
Description
{{ task.description }}
{% endif %}
{% if !task.links.is_empty() %}
Links
{% for link in task.links.iter() %}
| {{ link.rel }} |
{{ link.ref_ }} |
{% endfor %}
{% endif %}
{% if is_blocked %}
Blocked by
{% for bid in blocking.blocked_by_ids.iter() %}
{{ bid }}{{ " " }}
{% endfor %}
{% endif %}
{% if !task.metadata.is_empty() %}
Metadata
{% for (key, val) in task.metadata.iter() %}
| {{ key }} |
{{ val }} |
{% endfor %}
{% endif %}