author | anoop |
Mon, 01 Feb 2010 17:30:30 +0530 | |
changeset 22 | 943a35c14cf7 |
parent 18 | 293692eb8f06 |
permissions | -rw-r--r-- |
18
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
1 |
{% extends 'base.html' %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
2 |
{% block content %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
3 |
List of all the claims for the task <a href="/task/view/tid={{task.id}}">{{task.title}}</a><br /> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
4 |
{% for claim in claims %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
5 |
<hr /> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
6 |
<a href="/user/view/uid={{claim.user.id}}">{{claim.user.username}}</a> at {{claim.creation_datetime.ctime}} wrote:<br /> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
7 |
{{claim.message}}<br /> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
8 |
{% endfor %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
9 |
{% if task_claimable and is_mentor %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
10 |
<a href="/task/assign/tid={{task.id}}">Assign task</a> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
11 |
{% endif %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
12 |
{% if user_can_claim %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
13 |
<hr /> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
14 |
{% if errors %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
15 |
{% for error in errors %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
16 |
{{error}}<br /> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
17 |
{% endfor %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
18 |
{% endif %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
19 |
Claim the task:<br /> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
20 |
<form action="" method="post"> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
21 |
<textarea name="message"></textarea><br /> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
22 |
<input type="submit" value="Submit Claim"> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
23 |
</form> |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
24 |
{% endif %} |
293692eb8f06
added the functionality to assign a task to one of the claimed users.
nishanth
parents:
diff
changeset
|
25 |
{% endblock %} |