equal
deleted
inserted
replaced
|
1 {% load user_tags %} |
|
2 |
|
3 <div id="navheader"> |
|
4 {% if user.is_authenticated %} |
|
5 {{ user.username }} Actions |
|
6 {% else %} |
|
7 Login Form |
|
8 {% endif %} |
|
9 </div> |
|
10 <ul id="nav"> |
|
11 |
|
12 {% if user.is_authenticated %} |
|
13 |
|
14 <li> |
|
15 <a href="{% url browse_notifications %}" title="notifications"> |
|
16 {{ user|notf_dsp }} |
|
17 </a> |
|
18 </li> |
|
19 <br> |
|
20 <li><a href="{% url view_profile %}">Profile</a></li> |
|
21 <li><a href="{% url auth_logout %}">Logout</a></li> |
|
22 |
|
23 {% else %} |
|
24 |
|
25 <li> |
|
26 <a href="{% url registration_register %}" title="register"> |
|
27 Register |
|
28 </a> |
|
29 </li> |
|
30 <li> |
|
31 <a href="{% url auth_login %}" title="login"> |
|
32 Login |
|
33 </a> |
|
34 </li> |
|
35 |
|
36 {% endif %} |
|
37 |
|
38 </ul> |