{% extends 'base.html' %} {% block title %} {{task.title}} {% endblock %} {% block content %} {% if task_viewable %} Edit task

{{ task.title }}


created by {{ task.created_by.username }} on {{ task.creation_datetime.ctime }}
Mentors: {% for mentor in mentors %} {{mentor.username}}| {% endfor %} {% if can_mod_mentors %} Add another Mentor to this task
edit task goes here and it should contain all those add subs and add deps depending on availability
{% endif %} {% if deps %}
The task has following dependencies {% for dep in deps %} {{dep.title}}
{% endfor %} {% if can_mod_tasks %} add more dependencies remove an existing dependency {% endif %} {% else %} {% if can_mod_tasks %} add a subtask/dependency {% endif %} {% endif %}

Description:

{{ task.desc }}

status of task is {{task.status}}
{% 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 %} Assign credits {% endif %} {% if not is_guest and task_claimable %} View claims
{% endif %} {% if comments %}

comments:
{% for comment in comments %}
{{ comment.created_by.username }} at {{ comment.creation_datetime.ctime }} wrote:
{{ comment.data }}
{% endfor %} {% endif %} {% if not is_guest %}
Add comment:

{% endif %} {% else %} You are not authorised to view this task. click here to return to browsing the tasks. {% endif %} {% endblock %}