Category tally:
+ +... all of which will be irretrievably + blown away. Are you sure you want to do that?
+ + + + +{% else %} +Sorry, you don't have permission to delete lists. Please contact your group administrator.
+{% endif %} {% endblock %} \ No newline at end of file diff --git a/todo/templates/todo/email/assigned_body.txt b/todo/templates/todo/email/assigned_body.txt new file mode 100644 index 0000000..deb71bc --- /dev/null +++ b/todo/templates/todo/email/assigned_body.txt @@ -0,0 +1,17 @@ +{{ task.assigned_to.first_name }} - + +A new task on the list {{ task.task_list.name }} has been assigned to you by {{ task.created_by.get_full_name }}: + +{{ task.title }} + +{% if task.note %} +{% autoescape off %} +Note: {{ task.note }} +{% endautoescape %} +{% endif %} + +Task details/comments: +http://{{ site }}{% url 'todo:task_detail' task.id %} + +List {{ task.task_list.name }}: +http://{{ site }}{% url 'todo:list_detail' task.task_list.id task.task_list.slug %} diff --git a/todo/templates/todo/email/assigned_subject.txt b/todo/templates/todo/email/assigned_subject.txt new file mode 100644 index 0000000..4e1e2b8 --- /dev/null +++ b/todo/templates/todo/email/assigned_subject.txt @@ -0,0 +1 @@ +A new task has been assigned to you - {% autoescape off %}{{ task.title }}{% endautoescape %} \ No newline at end of file diff --git a/todo/templates/todo/email/newcomment_body.txt b/todo/templates/todo/email/newcomment_body.txt new file mode 100644 index 0000000..81947ff --- /dev/null +++ b/todo/templates/todo/email/newcomment_body.txt @@ -0,0 +1,16 @@ +A new task comment has been added. + +Task: {{ task.title }} +Commenter: {{ user.first_name }} {{ user.last_name }} + +Comment: +{% autoescape off %} +{{ body }} +{% endautoescape %} + +Task details/comments: +https://{{ site }}{% url 'todo:task_detail' task.id %} + +List {{ task.task_list.name }}: +https://{{ site }}{% url 'todo:list_detail' task.task_list.id task.task_list.slug %} + diff --git a/todo/templates/todo/import_csv.html b/todo/templates/todo/import_csv.html new file mode 100644 index 0000000..9d5cb85 --- /dev/null +++ b/todo/templates/todo/import_csv.html @@ -0,0 +1,84 @@ +{% extends "todo/base.html" %} +{% load static %} + +{% block title %}Import CSV{% endblock %} + +{% block content %} ++ Batch-import tasks by uploading a specifically-formatted CSV. + See documentation for formatting rules. + Successs and failures will be reported here. +
+ + {% if results %} ++ Summary: +
++ Upserts (tasks created or updated): +
++ Errors (tasks NOT created or updated): +
+In workgroup "{{ task_list.group }}" - drag rows to set priorities.
+ {% endif %} + +Task | +Created | +Due on | +Owner | +Assigned | +Mark | +
---|---|---|---|---|---|
+ {{ task.title|truncatewords:10 }} + | ++ {{ task.created_date|date:"m/d/Y" }} + | ++ + {{ task.due_date|date:"m/d/Y" }} + + | ++ {{ task.created_by }} + | ++ {% if task.assigned_to %}{{ task.assigned_to }}{% else %}Anyone{% endif %} + | ++ + | +
{{ task_count }} tasks in {{ list_count }} list{{ list_count|pluralize }}
+ + {% regroup lists by group as section_list %} + {% for group in section_list %} +
+
+ {{ f.title }}
+
+
+
+ In list:
+
+ {{ f.task_list.name }}
+
+
Assigned to: {% if f.assigned_to %}{{ f.assigned_to }}{% else %}Anyone{% endif %}
+
Complete: {{ f.completed|yesno:"Yes,No" }}
+
+
File | +Uploaded | +By | +Type | +Remove | +
---|---|---|---|---|
{{ attachment.filename }} | +{{ attachment.timestamp }} | +{{ attachment.added_by.get_full_name }} | +{{ attachment.extension.lower }} | ++ + | +
Comments on this task
+ {% for comment in comment_list %} +No comments (yet).
+ {% endif %} +