{% extends "base.html" %} {% block content %}

{{ item.title }}

Edit
{{ item.status|replace('_', ' ') }} P{{ item.priority }} {% if domain %}{{ domain.name }}{% endif %} {% if project %}{{ project.name }}{% endif %} {% if item.due_date %}Due: {{ item.due_date }}{% endif %} {% if item.context %}@{{ item.context }}{% endif %} {% if item.estimated_minutes %}~{{ item.estimated_minutes }}min{% endif %} {% if item.energy_required %}Energy: {{ item.energy_required }}{% endif %}
{% if item.description %}
{{ item.description }}
{% endif %} {% if item.tags %}
{% for tag in item.tags %}{{ tag }}{% endfor %}
{% endif %} {% if parent %}
Parent Task
{{ parent.title }}
{% endif %}

Subtasks{{ subtasks|length }}

+ Add Subtask
{% for sub in subtasks %}
{{ sub.title }} {{ sub.status|replace('_', ' ') }}
{% else %}
No subtasks
{% endfor %}
Created {{ item.created_at.strftime('%Y-%m-%d %H:%M') if item.created_at else '' }} {% if item.completed_at %} | Completed {{ item.completed_at.strftime('%Y-%m-%d %H:%M') }}{% endif %}
{% endblock %}