diff options
Diffstat (limited to 'templates/task/claim.html')
-rw-r--r-- | templates/task/claim.html | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/templates/task/claim.html b/templates/task/claim.html index 47e24b7..9368da1 100644 --- a/templates/task/claim.html +++ b/templates/task/claim.html @@ -4,31 +4,35 @@ List of all the claims for the task <a href="/task/view/tid={{task.id}}">{{task.title}}</a><br /> {% for claim in claims %} <hr /> - <a href="/user/view/uid={{claim.user.id}}">{{claim.user.username}}</a> at {{claim.creation_datetime.ctime}} wrote:<br /> + <a href="/user/view/uid={{claim.user.id}}">{{claim.user.username}}</a> + on {{claim.creation_datetime|date:"D d M Y"}} at {{claim.creation_datetime|time:"H:i"}} wrote:<br /> {{claim.message}}<br /> {% endfor %} {% else %} - {% if task_claimable%} + {% if task_claimable %} There are no claims for this task yet.<br /> + Be the first to claim the task.<br /> {% else %} This task cannot be claimed right now. {% endif %} - <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task. + <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task.<br /> {% endif %} {% if task_claimed and is_mentor %} <a href="/task/assign/tid={{task.id}}">Select a user to assign the work.</a> {% endif %} {% if user_can_claim %} - <hr /> - {% if errors %} - {% for error in errors %} - {{error}}<br /> - {% endfor %} - {% endif %} - Claim the task:<br /> - <form action="" method="post"> - <textarea name="message"></textarea><br /> - <input type="submit" value="Submit Claim"> - </form> + {% if errors %} + {% for error in errors %} + {{error}}<br /> + {% endfor %} + {% endif %} + + <hr /> + Please note that you can claim only once and so write your proposal carefully.<br /> + Claim proposal:<br /> + <form action="" method="post"> + <textarea name="message"></textarea><br /> + <input type="submit" value="Submit Claim"> + </form> {% endif %} {% endblock %} |