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

{{ item.name }}

Edit
{{ item.status|replace('_', ' ') }} P{{ item.priority }} {% if item.target_date %}Target: {{ item.target_date }}{% endif %}
{{ done_count }}/{{ task_count }} tasks complete ({{ progress }}%)
{% if item.description %}
{{ item.description }}
{% endif %}
Tasks ({{ tasks|length }}) Notes ({{ notes|length }}) Links ({{ links|length }})
{% if tab == 'tasks' %}
+ Full Task Form {% for t in tasks %}
{{ t.title }} {% if t.due_date %}{{ t.due_date }}{% endif %} {{ t.status|replace('_', ' ') }}
Edit
{% else %}
No tasks yet
{% endfor %} {% elif tab == 'notes' %} + New Note {% for n in notes %}
{{ n.title }} {{ n.updated_at.strftime('%Y-%m-%d') if n.updated_at else '' }}
{% else %}
No notes yet
{% endfor %} {% elif tab == 'links' %} + New Link {% for l in links %}
{{ l.label }} {{ l.url[:50] }}{% if l.url|length > 50 %}...{% endif %}
Edit
{% else %}
No links yet
{% endfor %} {% endif %} {% endblock %}