{% if can_mod_tasks %}
add more subtasksremove an existing subtask
{% endif %}
{% else %}
{% if can_mod_tasks %}
add a subtask/dependency
{% endif %}
{% endif %}
{% endif %}
{% ifequal task.status "CD" %}
Task has been closed by {{closing_notification.sent_from.username}}
on {{closing_notification.sent_date|date:"D d M Y"}} at {{closing_notification.sent_date|time:"H:i"}} Reason: {{closing_notification.remarks}}
{% endifequal %}
{% ifequal task.status "CM" %}
Task has been marked complete by
{{completed_notification.sent_from.username}}
on {{completed_notification.sent_date|date:"D d M Y"}} at {{completed_notification.sent_date|time:"H:i"}}
{% endifequal %}
{% ifequal task.status "OP" %}
There are no users working on this task.
{% endifequal %}
{% if subs %}
This task cannot be claimed.. It exists only to show all of its sub tasks in one place.
{% endif %}
{% if assigned_users %}
Users working on this task:
{% for user in assigned_users %}
{{user.username}}
{% endfor %}
{% if is_mentor %}
Remove an existing user
{% endif %}
{% endif %}
{% if can_assign_credits %}
View/Assign credits
{% endif %}
{% if task_claimable %}
{% if is_mentor %}
View claims
{% else %}
Claim the task
{% endif %}
{% endif %}
{% if comments %}
comments:
{% for comment in comments %}
{{ comment.created_by.username }}
on {{ comment.creation_datetime|date:"D d M Y"}} at {{comment.creation_datetime|time:"H:i"}} wrote:
{{ comment.data|linebreaksbr }}