11 Mentors: |
11 Mentors: |
12 {% for mentor in mentors %} |
12 {% for mentor in mentors %} |
13 <a href="/user/view/uid={{mentor.id}}">{{mentor.username}}|</a> |
13 <a href="/user/view/uid={{mentor.id}}">{{mentor.username}}|</a> |
14 {% endfor %} |
14 {% endfor %} |
15 {% if can_mod_mentors %} |
15 {% if can_mod_mentors %} |
16 <a href="/task/addmentor/tid={{task.id}}">Add another Mentor to this task</a><br /> |
16 <a href="/task/addmentor/tid={{task.id}}">Add another Mentor to this task</a> |
|
17 <br /> |
17 edit task goes here and it should contain all those add subs and add deps depending on availability<br /> |
18 edit task goes here and it should contain all those add subs and add deps depending on availability<br /> |
18 {% endif %} |
19 {% endif %} |
19 |
20 |
20 {% if deps %} |
21 {% if deps %} |
21 <br />The task has following dependencies |
22 <br />The task has following dependencies |
22 {% for dep in deps %} |
23 {% for dep in deps %} |
23 <a href="/task/view/tid={{dep.id}}">{{dep.title}}</a><br /> |
24 <a href="/task/view/tid={{dep.id}}">{{dep.title}}</a><br /> |
24 {% endfor %} |
25 {% endfor %} |
25 {% if can_mod_tasks %} |
26 {% if can_mod_tasks %} |
26 <a href="/task/addtask/tid={{task.id}}">add more dependencies</a> |
27 <a href="/task/addtask/tid={{task.id}}">add more dependencies</a> |
27 <a href="/task/remtask/tid={{task.id}}">remove an existing dependency</a> |
28 <a href="/task/remtask/tid={{task.id}}">remove an existing dependency</a> |
28 {% endif %} |
29 {% endif %} |
29 {% else %} |
30 {% else %} |
30 {%if can_mod_tasks %} |
31 {% if can_mod_tasks %} |
31 <a href="/task/addtask/tid={{task.id}}">add a subtask/dependency </a> |
32 <a href="/task/addtask/tid={{task.id}}">add a subtask/dependency </a> |
32 {%endif%} |
33 {% endif %} |
33 {% endif %} |
34 {% endif %} |
34 |
35 |
35 <hr> |
36 <hr> |
36 <br />Description:<br /> |
37 <br />Description:<br /> |
37 <br />{{ task.desc }}<br /> |
38 <br />{{ task.desc }}<br /> |
41 {% if assigned_users %} |
42 {% if assigned_users %} |
42 Users working on this task: |
43 Users working on this task: |
43 {% for user in assigned_users %} |
44 {% for user in assigned_users %} |
44 <a href="/user/view/uid={{user.id}}">{{user.username}}</a>| |
45 <a href="/user/view/uid={{user.id}}">{{user.username}}</a>| |
45 {% endfor %} |
46 {% endfor %} |
|
47 {% if is_mentor %} |
|
48 <a href="/task/user/remove/">Remove an existing user</a> |
46 <br /> |
49 <br /> |
|
50 {% endif %} |
47 {% endif %} |
51 {% endif %} |
48 {%if can_assign_credits%} |
52 {% if can_assign_credits %} |
49 <a href="/task/assigncredits/tid={{task.id}}">Assign credits</a> |
53 <a href="/task/assigncredits/tid={{task.id}}">Assign credits</a> |
50 {%endif%} |
54 {% endif %} |
51 {% if not is_guest %} |
55 {% if not is_guest and task_claimable %} |
52 <a href="/task/claim/tid={{task.id}}">View claims</a><br /> |
56 <a href="/task/claim/tid={{task.id}}">View claims</a><br /> |
53 {% endif %} |
57 {% endif %} |
54 |
58 |
55 {% if comments %} |
59 {% if comments %} |
56 <hr /> |
60 <hr /> |