{% extends "tasks/base.html" %} {# @@@ commonalities between this and task_list.html might need to be factored out #} {% load i18n %} {% load account_tags %} {% load shorttimesince_tag %} {% load order_by %} {% load humanize %} {% load tasks_tags %} {% load tagging_tags %} {% load group_tags %} {#}{% block head_title %}Tasks for {{ project.name }}{% endblock %}#} {% block head_title %}Tasks{% endblock %} {% block body %}
← {% trans "Back to All Tasks" %}
{#Group by: {% ifequal group_by "state" %} last modified or state or assignee or tag {% order tasks by state %} {% regroup tasks by get_state_display as grouped_tasks %} {% else %} {% ifequal group_by "assignee" %} last modified or state or assignee or tag {% order tasks by assignee %} {% regroup tasks by assignee as grouped_tasks %} {% else %} {% ifequal group_by "tag" %} last modified or state or assignee or tag {# do no manipulation here as we'll special case below #} {% else %} last modified or state or assignee or tag {% order tasks by -modified %} {% regroup tasks by modified.date as grouped_tasks %} {% endifequal %} {% endifequal %} {% endifequal %}
ID | Summary | Last Modified | Assignee | Status |
---|---|---|---|---|
▾ {{ section }} ({{ tagtasks|length }}) | ||||
{{ item.object.id }} | {{ item.summary }} | {{ item.modified|shorttimesince }} ago | {% if item.assignee %} {% user_display item.assignee %} {% else %} unassigned {% endif %} | {{ item.status }} |
▾ {% ifequal group_by "state" %} {{ section.grouper }} {% else %} {% ifequal group_by "assignee" %} {% if section.grouper %}{{ section.grouper }}{% else %}unassigned{% endif %} {% else %} {{ section.grouper|naturalday:_("MONTH_DAY_FORMAT")|capfirst }} {% endifequal %} {% endifequal %} ({{ section.list|length }}) | ||||
{{ task.id }} | {{ task.summary }} | {{ task.modified|shorttimesince }} ago | {% if task.assignee %} {% user_display task.assignee %} {% else %} unassigned {% endif %} | {{ task.status }} |