{% extends "todo/base.html" %} {% block title %}Task:{{ task.title }}{% endblock %} {% block extrahead %} {{ form.media }} {{ merge_form.media }} {% endblock %} {% block content %}

{{ task.title }}

{% if task.note %}
{{ task.note|safe|urlize|linebreaks }}
{% endif %}
{# Task edit / new task form #} {% include 'todo/include/task_edit.html' %} {% if merge_form is not None %}
Merge task

Merging is a destructive operation. This task will not exist anymore, and comments will be moved to the target task.

{% csrf_token %} {% for field in merge_form.visible_fields %}

{{ field.errors }} {{ field }}

{% endfor %}
{% endif %}
{% if attachments_enabled %}
Attachments
{% if task.attachment_set.count %}
{% for attachment in task.attachment_set.all %} {% endfor %}
File Uploaded By Type Remove
{{ attachment.filename }} {{ attachment.timestamp }} {{ attachment.added_by.get_full_name }} {{ attachment.extension.lower }}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{% endif %}
Add comment
{% csrf_token %}
{% if comment_list %}
Comments on this task
{% for comment in comment_list %}
{% if comment.email_message_id %} email {% endif %} {{ comment.author_text }}
{{ comment.date|date:"F d Y P" }}
{{ comment.body|safe|urlize|linebreaks }}
{% endfor %} {% else %}
No comments (yet).
{% endif %}
{% endblock %} {% block extra_js %} {# Support file attachment uploader #} {% endblock extra_js %}