| author | Nishanth Amuluru <nishanth@fossee.in> |
| Sun, 09 Jan 2011 15:09:13 +0530 | |
| changeset 126 | 2763afa1c2a2 |
| parent 125 | 9b0812962133 |
| child 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 |
||
17 |
||
18 |
{% if unpublished_tasks %}
|
|
19 |
Unpublished tasks viewable by you:<ul> |
|
20 |
{% for a_task in unpublished_tasks %}
|
|
21 |
<li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li>
|
|
22 |
{% endfor %}
|
|
23 |
</ul> |
|
24 |
<br /> |
|
25 |
{% endif %}
|
|
26 |
||
27 |
{% if reviewered_tasks %}
|
|
28 |
Tasks you are reviewering:<ul> |
|
29 |
{% for a_task in reviewered_tasks %}
|
|
30 |
<li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li>
|
|
31 |
{% endfor %}
|
|
32 |
</ul> |
|
33 |
<br /> |
|
34 |
{% endif %}
|
|
35 |
||
36 |
{% if selected_tasks %}
|
|
37 |
Tasks that have been assigned to you:<ul> |
|
38 |
{% for a_task in selected_tasks %}
|
|
39 |
<li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li>
|
|
40 |
{% endfor %}
|
|
41 |
</ul> |
|
42 |
<br /> |
|
43 |
{% endif %}
|
|
44 |
||
45 |
{% if claimed_tasks %}
|
|
46 |
Tasks claimed but still not assigned to you:<ul> |
|
47 |
{% for a_task in claimed_tasks %}
|
|
48 |
<li><a href="/task/view/tid={{a_task.uniq_key}}">{{a_task.title}}</a></li>
|
|
49 |
{% endfor %}
|
|
50 |
</ul> |
|
51 |
<br /> |
|
52 |
{% endif %}
|
|
53 |
||
54 |
{% endblock %}
|