diff -r d3cfceb8e120 -r e5377fdaf110 templates/task/view.html --- a/templates/task/view.html Fri Feb 26 23:22:23 2010 +0530 +++ b/templates/task/view.html Sat Feb 27 00:48:50 2010 +0530 @@ -7,10 +7,18 @@

{{ task.title }}


created by {{ task.created_by.username }} on {{ task.creation_datetime.ctime }}
- if task_editable ..
+ {% if is_mentor %} - Edit task - {% if can_publish %}|Publish task{% endif %} + + {% ifequal task.status "UP" %} + Edit task + {% else %} + Close this task + {% endifequal %} + + {% if can_publish %} + Publish task + {% endif %}
{% endif %} @@ -86,10 +94,10 @@ There are no users currently working on this task.
{% endif %} {% if can_assign_credits %} - Assign credits + View/Assign credits {% endif %} {% if not is_guest and task_claimable %} - View claims for this task.
+ View claims
{% endif %} {% else %} {% ifequal task.status "CD" %}