diff --git a/todo/templates/todo/add_task_external.html b/todo/templates/todo/add_task_external.html index bf0a0a7..b0f6d0d 100644 --- a/todo/templates/todo/add_task_external.html +++ b/todo/templates/todo/add_task_external.html @@ -54,11 +54,11 @@ -
+ {% endcomment %} {{ form.as_p }} - + {% endblock %} \ No newline at end of file diff --git a/todo/templates/todo/base.html b/todo/templates/todo/base.html index 099ab64..cfe6514 100644 --- a/todo/templates/todo/base.html +++ b/todo/templates/todo/base.html @@ -2,6 +2,7 @@ {% load staticfiles %} {% block extrahead %} - + {% endblock extrahead %} + diff --git a/todo/templates/todo/del_list.html b/todo/templates/todo/del_list.html index 29f2f4b..9429d1e 100644 --- a/todo/templates/todo/del_list.html +++ b/todo/templates/todo/del_list.html @@ -1,32 +1,33 @@ {% extends "todo/base.html" %} - {% block title %}Delete list{% endblock %} {% block content %} + {% if user.is_staff %} +Category tally:
-Category tally:
+... all of which will be irretrievably + blown away. Are you sure you want to do that?
-... all of which will be irretrievably blown away. Are you sure you want to do that?
+ - - Return to list: {{ task_list.name }} - - {% else %} -Sorry, you don't have permission to delete lists. Please contact your group administrator.
- {% endif %} - -{% endblock %} +{% 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/include/toggle_delete.html b/todo/templates/todo/include/toggle_delete.html new file mode 100644 index 0000000..50d6334 --- /dev/null +++ b/todo/templates/todo/include/toggle_delete.html @@ -0,0 +1,8 @@ +{% if list_slug != "mine" %} {% if view_completed %} + View incomplete tasks +{% else %} + View completed tasks +{% endif %} + +Delete this list +{% endif %} \ No newline at end of file diff --git a/todo/templates/todo/list_detail.html b/todo/templates/todo/list_detail.html index 1016fc4..9b4e499 100644 --- a/todo/templates/todo/list_detail.html +++ b/todo/templates/todo/list_detail.html @@ -57,7 +57,7 @@This list belongs to group {{ task_list.group }}
+In workgroup "{{ task_list.group }}" - drag rows to set priorities.
{% endif %} {% else %}{{ item_count }} items in {{ list_count }} list{{ list_count|pluralize }}
-{{ item_count }} items 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 %}
- (created by: {{ f.created_by }})
-
- Complete: {{ f.completed|yesno:"Yes,No" }}
-
-
+
+ {{ f.title }}
+
+
+
+ In list:
+
+ {{ f.task_list.name }}
+
+
Assigned to: {% if f.assigned_to %}{{ f.assigned_to }}{% else %}Anyone{% endif %} (created by: {{ f.created_by }})
+
Complete: {{ f.completed|yesno:"Yes,No" }}
+
+