{% extends "base.html" %} {% block title %}{{ task.id }} — Tacks{% endblock %} {% block content %}

{{ task.title }}

ID {{ task.id }} · {%- if task.status == crate::models::Status::Open -%}○ Open {%- else if task.status == crate::models::Status::InProgress -%}◐ In Progress {%- else if task.status == crate::models::Status::Done -%}✓ Done {%- else -%}⊘ Blocked{%- endif -%} · {%- if task.priority == 1 -%}▲ P1{%- else if task.priority == 2 -%}▬ P2{%- else if task.priority == 3 -%}▽ P3{%- else -%}· P4{%- endif -%} {% if let Some(p) = parent.as_ref() %} · Epic {{ p.id }}: {{ p.title }} {% endif %} · {% for tag in &task.tags %}{{ tag }}{% endfor %} {% if task.tags.is_empty() %}Tags —{% endif %} · Created {{ task.created_at.format("%b %d, %Y %H:%M") }} · Updated {{ task.updated_at.format("%b %d, %Y %H:%M") }}
{% if let Some(html) = description_html.as_deref() %}
{{ html|safe }}
{% else %}
{% endif %} {% if !blockers.is_empty() || !dependents.is_empty() %}
Dependencies

Blocked by

Loading…

Blocks

Loading…

{% endif %} {% if !comments.is_empty() %}

Comments

{% for (i, comment) in comments.iter().enumerate() %}
{{ comment.created_at.format("%b %d, %Y %H:%M") }}
{{ comment_bodies_html[i]|safe }}
{% endfor %}
{% endif %}

Back to task list

{% endblock %}