+
{{ task.description or 'No description' }}
+
+
+
+ Assigned to:
+ {% if task.assigned_to %}
+ {{ task.assigned_to.username }}
+ {% else %}
+ Unassigned
+ {% endif %}
+
+
+ Due Date:
+ {% if task.due_date %}
+ {{ task.due_date.strftime('%Y-%m-%d') }}
+ {% else %}
+ No due date
+ {% endif %}
+
+
+ Estimated Hours:
+ {% if task.estimated_hours %}
+ {{ task.estimated_hours }}h
+ {% else %}
+ Not estimated
+ {% endif %}
+
+
+ Time Logged:
+ {{ (task.total_time_logged / 3600)|round(1) }}h
+
+
+
+
+
+
+ Progress: {{ task.progress_percentage }}%
+
+
+
+
+
+ {% if task.subtasks %}
+
+
Subtasks ({{ task.subtasks|length }})
+
+ {% for subtask in task.subtasks %}
+
+
+ {{ subtask.name }}
+
+ {{ subtask.status.value }}
+
+ {% if subtask.assigned_to %}
+ {{ subtask.assigned_to.username }}
+ {% endif %}
+
+
+
+
+
+
+ {% endfor %}
+
+
+ {% endif %}
+