{% extends "base.html" %} {% block title %}tasks — gest{% endblock %} {% block nav_tasks %}class="active"{% endblock %} {% block content %}

Tasks

{% if current_status == Status::Open %} {{ open_count }} open {% else %} {{ open_count }} open {% endif %} · {% if current_status == Status::InProgress %} {{ in_progress_count }} in progress {% else %} {{ in_progress_count }} in progress {% endif %} · {% if current_status == Status::Done %} {{ done_count }} done {% else %} {{ done_count }} done {% endif %} · {% if current_status == Status::Cancelled %} {{ cancelled_count }} cancelled {% else %} {{ cancelled_count }} cancelled {% endif %} · + new
{% if tasks.is_empty() %}

No tasks found.

{% else %}
gest task list{% if current_status != Status::Open %} --status {{ current_status }}{% endif %}
{% for row in rows %} {% endfor %}
ID Pri Title Status Info Tags
{% if row.is_blocked %} {% else %} {% match row.task.status %} {% when Status::Open %} {% when Status::InProgress %} {% when Status::Done %} {% when Status::Cancelled %} {% endmatch %} {% endif %} {{ row.task.id.short() }} {% match row.task.priority %} {% when Some with (p) %} [P{{ p }}] {% when None %} {% endmatch %} {% if row.task.status.is_terminal() %} {{ row.task.title }} {% else %} {{ row.task.title }} {% endif %} {% if row.is_blocked %} blocked {% else if row.blocking.is_blocking %} blocking {% else %} {% match row.task.status %} {% when Status::Open %} open {% when Status::InProgress %} in-progress {% when Status::Done %} done {% when Status::Cancelled %} cancelled {% endmatch %} {% endif %} {% if row.is_blocked %} blocked by {{ row.blocking.blocked_by_ids.join(", ") }} {% else if row.blocking.is_blocking %} blocking others {% endif %} {% for tag in row.task.tags.iter() %} #{{ tag }}{{ " " }} {% endfor %}
{% endif %} {% endblock %}