From d3e9b0e20c7ab78a4d31fca706459ea72c4ea0ec Mon Sep 17 00:00:00 2001 From: nishanth Date: Fri, 5 Feb 2010 16:05:54 +0530 Subject: fixed a bug in templates/task/claim.html which required modification of views/task.py; also changed the no.of char limit on task title . --- templates/task/claim.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'templates/task') diff --git a/templates/task/claim.html b/templates/task/claim.html index e758f42..26eceef 100644 --- a/templates/task/claim.html +++ b/templates/task/claim.html @@ -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 %} -- cgit