diff -r 78adf44d895d -r 0d0ea7b188d5 templates/task/claim.html --- a/templates/task/claim.html Fri Feb 05 15:42:35 2010 +0530 +++ b/templates/task/claim.html Fri Feb 05 16:05:54 2010 +0530 @@ -1,12 +1,16 @@ {% extends 'base.html' %} {% block content %} - List of all the claims for the task {{task.title}}
- {% for claim in claims %} -
- {{claim.user.username}} at {{claim.creation_datetime.ctime}} wrote:
- {{claim.message}}
- {% endfor %} - {% if task_claimable and is_mentor %} + {% if claims %} + List of all the claims for the task {{task.title}}
+ {% for claim in claims %} +
+ {{claim.user.username}} at {{claim.creation_datetime.ctime}} wrote:
+ {{claim.message}}
+ {% endfor %} + {% else %} + There are no claims for task {{task.title}} yet. + {% endif %} + {% if task_claimed and is_mentor %} Assign task {% endif %} {% if user_can_claim %}