{% extends "base.html" %} {% block title %}Tasks — Tacks{% endblock %} {% block content %}
{% if tasks.is_empty() %} {% else %} {% for row in tasks %} {% endfor %} {% endif %}
ID Title Status Priority Tags Updated
{%- if has_filters -%} No tasks match your filters {%- else -%} No tasks yet — create one to get started {%- endif -%}
{{ row.task.id }} {{ row.task.title }} {% if row.children_total > 0 %} {{ row.children_done }}/{{ row.children_total }} {% endif %} {% if let (Some(pid), Some(ptitle)) = (row.parent_id.as_deref(), row.parent_title.as_deref()) %} {{ pid }}: {{ ptitle }} {% endif %} {%- if row.task.status == crate::models::Status::Open -%}○ Open {%- else if row.task.status == crate::models::Status::InProgress -%}◐ In Progress {%- else if row.task.status == crate::models::Status::Done -%}✓ Done {%- else -%}⊘ Blocked{%- endif -%} {%- if row.task.priority == 1 -%}▲ P1 {%- else if row.task.priority == 2 -%}▬ P2 {%- else if row.task.priority == 3 -%}▽ P3 {%- else -%}· P4{%- endif -%} {% for tag in &row.task.tags %}{{ tag }} {% endfor %} {{ row.task.updated_at.format("%b %d %H:%M") }}
{% endblock %}