{% extends "todo/base.html" %} {% block title %}Todo List: {{ list.name }}{% endblock %} {% block content %} {% if list_slug == "mine" %}

Tasks assigned to {{ request.user }}

{% elif auth_ok %}

Tasks filed under "{{ list.name }}"

This list belongs to group {{ list.group }}

{% endif %} {% if auth_ok %}
{% csrf_token %} {# Only show task adder if viewing a proper list #} {% if list_slug != "mine" %}

→ Click to add task ←

{{ form.title.errors }} {{ form.due_date.errors }}
{{ form.title }} {{ form.due_date }} {{ form.assigned_to }}
{{ form.note }}

*Email notifications will only be sent if task is assigned to someone besides yourself.

{% endif %} {% if not view_completed %}

Incomplete tasks :: Drag rows to set priorities

{% if list_slug == "mine" %} {% endif %} {% for task in task_list %} {% if list_slug == "mine" %} {% endif %} {% endfor %}
Done Task Created Due on Owner Assigned Note CommListDel
{{ task.title|truncatewords:20 }} {{ task.created_date|date:"m/d/Y" }} {% if task.overdue_status %}{% endif %} {{ task.due_date|date:"m/d/Y" }} {% if task.overdue_status %}{% endif %} {{ task.created_by }} {% if task.assigned_to %}{{ task.assigned_to }}{% else %}Anyone{% endif %} {% if task.note %}≈{% endif %} {% if task.comment_set.all.count != 0 %}{{ task.comment_set.all.count }}{% endif %}{{ task.list }}

View completed tasks

{% else %}

Completed tasks

{% if list_slug == "mine" %} {% endif %} {% for task in completed_list %} {% endfor %}
Undo Task Created Completed on Note CommListDel
{{ task.title|truncatewords:20 }} {{ task.created_date|date:"m/d/Y" }} {{ task.completed_date|date:"m/d/Y" }} {% if task.note %}≈{% endif %} {% if task.comment_set.all.count != 0 %}{{ task.comment_set.all.count }}{% endif %}

View incomplete tasks

{% endif %} {% if user.is_staff %} {% if list_slug != "mine" %}

Delete this list

{% endif %} {% endif %} {% endif %} {% endblock %}