author | Madhusudan.C.S <madhusudancs@gmail.com> |
Mon, 17 Jan 2011 02:51:55 +0530 | |
changeset 433 | b8b8337efbb8 |
child 446 | 44c87dedbe66 |
permissions | -rw-r--r-- |
433
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
1 |
{% load user_tags %} |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
2 |
|
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
3 |
<div id="navheader"> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
4 |
Navigation |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
5 |
</div> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
6 |
<ul id="nav"> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
7 |
<li><a href="{% url home_page %}" title="home">Home</a></li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
8 |
<br /> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
9 |
<li><a href="{% url browse_tasks %}" title="tasks">Tasks</a></li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
10 |
<li><a href="{% url browse_textbooks %}" title="textbook">Textbooks</a></li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
11 |
<br /> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
12 |
|
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
13 |
{% if user.is_authenticated %} |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
14 |
|
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
15 |
<li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
16 |
<a href="{% url browse_notifications %}" title="notifications"> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
17 |
{{ user|notf_dsp }} |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
18 |
</a> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
19 |
</li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
20 |
<br> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
21 |
<li><a href="{% url view_profile %}">Profile</a></li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
22 |
<li><a href="{% url auth_logout %}">Logout</a></li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
23 |
|
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
24 |
{% else %} |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
25 |
|
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
26 |
<li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
27 |
<a href="{% url registration_register %}" title="register"> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
28 |
Register |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
29 |
</a> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
30 |
</li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
31 |
<li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
32 |
<a href="{% url auth_login %}" title="login"> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
33 |
Login |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
34 |
</a> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
35 |
</li> |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
36 |
|
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
37 |
{% endif %} |
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
38 |
|
b8b8337efbb8
Restructure the entire base template and move the left sidebar to another subtemplate.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
39 |
</ul> |