From d2bb8bee31479c7c4fadfced462d2f876d8a019b Mon Sep 17 00:00:00 2001 From: nishanth Date: Wed, 24 Feb 2010 16:08:31 +0530 Subject: modified claim_task view to suit the new design --- templates/task/view.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'templates/task/view.html') diff --git a/templates/task/view.html b/templates/task/view.html index 9f01594..39f0490 100644 --- a/templates/task/view.html +++ b/templates/task/view.html @@ -17,7 +17,7 @@ edit task goes here and it should contain all those add subs and add deps depending on availability
{% endif %} - {% if deps %} + {% if deps %}
The task has following dependencies {% for dep in deps %} {{dep.title}}
@@ -27,9 +27,9 @@ remove an existing dependency {% endif %} {% else %} - {%if can_mod_tasks %} + {% if can_mod_tasks %} add a subtask/dependency - {%endif%} + {% endif %} {% endif %}
@@ -43,12 +43,15 @@ {% for user in assigned_users %} {{user.username}}| {% endfor %} + {% if is_mentor %} + Remove an existing user
+ {% endif %} {% endif %} - {%if can_assign_credits%} + {% if can_assign_credits %} Assign credits - {%endif%} - {% if not is_guest %} + {% endif %} + {% if not is_guest and task_claimable %} View claims
{% endif %} -- cgit