author | Nishanth Amuluru <nishanth@fossee.in> |
Sun, 09 Jan 2011 19:45:42 +0530 | |
changeset 129 | 13e171f09941 |
parent 127 | 32457bce3437 |
permissions | -rw-r--r-- |
125 | 1 |
{% extends 'base.html' %} |
2 |
{% block content %} |
|
3 |
{% if not user %} |
|
126
2763afa1c2a2
home_page is now in some shape
Nishanth Amuluru <nishanth@fossee.in>
parents:
125
diff
changeset
|
4 |
Checkout the tasks on the left panel for tasks that have been recently created.<br /> |
2763afa1c2a2
home_page is now in some shape
Nishanth Amuluru <nishanth@fossee.in>
parents:
125
diff
changeset
|
5 |
Checkout the textbooks for textbooks that have been added to the project.<br /> |
2763afa1c2a2
home_page is now in some shape
Nishanth Amuluru <nishanth@fossee.in>
parents:
125
diff
changeset
|
6 |
|
125 | 7 |
{% else %} |
8 |
Logged in as {{ user.username }} <br /><br /> |
|
9 |
{% endif %} |
|
10 |
||
11 |
{% if can_create_task %} |
|
12 |
<a href="/task/textbook/create/">Add a new textbook</a><br /> |
|
13 |
<a href="/task/create/">Create a task</a><br /> |
|
14 |
<br /> |
|
15 |
{% endif %} |
|
16 |
||
129
13e171f09941
added unpublished tasks to home_page
Nishanth Amuluru <nishanth@fossee.in>
parents:
127
diff
changeset
|
17 |
{% if unpublished_tasks %} |
13e171f09941
added unpublished tasks to home_page
Nishanth Amuluru <nishanth@fossee.in>
parents:
127
diff
changeset
|
18 |
Tasks created by you that need approval:<ul> |
13e171f09941
added unpublished tasks to home_page
Nishanth Amuluru <nishanth@fossee.in>
parents:
127
diff
changeset
|
19 |
{% for a_task in unpublished_tasks %} |
13e171f09941
added unpublished tasks to home_page
Nishanth Amuluru <nishanth@fossee.in>
parents:
127
diff
changeset
|
20 |
<li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li> |
13e171f09941
added unpublished tasks to home_page
Nishanth Amuluru <nishanth@fossee.in>
parents:
127
diff
changeset
|
21 |
{% endfor %} |
13e171f09941
added unpublished tasks to home_page
Nishanth Amuluru <nishanth@fossee.in>
parents:
127
diff
changeset
|
22 |
</ul> |
13e171f09941
added unpublished tasks to home_page
Nishanth Amuluru <nishanth@fossee.in>
parents:
127
diff
changeset
|
23 |
<br /> |
13e171f09941
added unpublished tasks to home_page
Nishanth Amuluru <nishanth@fossee.in>
parents:
127
diff
changeset
|
24 |
{% endif %} |
13e171f09941
added unpublished tasks to home_page
Nishanth Amuluru <nishanth@fossee.in>
parents:
127
diff
changeset
|
25 |
|
127
32457bce3437
prettified a few pages
Nishanth Amuluru <nishanth@fossee.in>
parents:
126
diff
changeset
|
26 |
{% if reviewing_tasks %} |
125 | 27 |
Tasks you are reviewering:<ul> |
127
32457bce3437
prettified a few pages
Nishanth Amuluru <nishanth@fossee.in>
parents:
126
diff
changeset
|
28 |
{% for a_task in reviewing_tasks %} |
125 | 29 |
<li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li> |
30 |
{% endfor %} |
|
31 |
</ul> |
|
32 |
<br /> |
|
33 |
{% endif %} |
|
34 |
||
35 |
{% if selected_tasks %} |
|
36 |
Tasks that have been assigned to you:<ul> |
|
37 |
{% for a_task in selected_tasks %} |
|
38 |
<li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li> |
|
39 |
{% endfor %} |
|
40 |
</ul> |
|
41 |
<br /> |
|
42 |
{% endif %} |
|
43 |
||
44 |
{% if claimed_tasks %} |
|
45 |
Tasks claimed but still not assigned to you:<ul> |
|
46 |
{% for a_task in claimed_tasks %} |
|
47 |
<li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li> |
|
48 |
{% endfor %} |
|
49 |
</ul> |
|
50 |
<br /> |
|
51 |
{% endif %} |
|
52 |
||
53 |
{% endblock %} |