equal
deleted
inserted
replaced
6 </head> |
6 </head> |
7 {% load user_tags %} |
7 {% load user_tags %} |
8 <body> |
8 <body> |
9 <div id="wrapper"> |
9 <div id="wrapper"> |
10 <div id="header"> |
10 <div id="header"> |
11 <h2><a href="/">PyTasks</a></h2> |
11 <h2><a href="{% url home_page %}">PyTasks</a></h2> |
12 </div> |
12 </div> |
13 <div id="container"> |
13 <div id="container"> |
14 <div id="left"> |
14 <div id="left"> |
15 <ul id="nav"> |
15 <ul id="nav"> |
16 <li><a href="/" title="home">home</a></li> |
16 <li><a href="{% url home_page %}" title="home">Home</a></li> |
17 <br /> |
17 <br /> |
18 <li><a href="/task/browse/" title="tasks">tasks</a></li> |
18 <li><a href="{% url browse_tasks %}" title="tasks">Tasks</a></li> |
19 <li><a href="/task/textbook/browse/" title="textbook">textbooks</a></li> |
19 <li><a href="{% url browse_textbooks %}" title="textbook">Textbooks</a></li> |
20 <br /> |
20 <br /> |
21 {% if user.is_authenticated %} |
21 {% if user.is_authenticated %} |
22 <li><a href="/profile/notf/browse/" title="notifications"> |
22 <li><a href="{% url browse_notifications %}" title="notifications"> |
23 {{ user|notf_dsp }} |
23 {{ user|notf_dsp }} |
24 </a></li> |
24 </a></li> |
25 <br> |
25 <br> |
26 <li><a href="/profile/view">profile</a></li> |
26 <li><a href="{% url view_profile %}">Profile</a></li> |
27 <li><a href="/accounts/logout/">logout</a></li> |
27 <li><a href="{% url auth_logout %}">Logout</a></li> |
28 {% else %} |
28 {% else %} |
29 <li><a href="/accounts/register/" title="register">register</a></li> |
29 <li><a href="{% url registration_register %}" title="register">Register</a></li> |
30 <li><a href="/accounts/login/" title="login">login</a></li> |
30 <li><a href="{% url auth_login %}" title="login">Login</a></li> |
31 {% endif %} |
31 {% endif %} |
32 </ul> |
32 </ul> |
33 </div> |
33 </div> |
34 <div id="center"> |
34 <div id="center"> |
35 {% block content %}This is the default content{% endblock %} |
35 {% block content %}This is the default content{% endblock %} |
36 </div> |
36 </div> |
37 <div id="right"> |
37 <div id="right"> |
38 <!--{% if user.is_authenticated %} |
|
39 <a href="/accounts/logout">logout</a> |
|
40 {% endif %}--> |
|
41 </div> |
38 </div> |
42 <div class="clearer"> |
39 <div class="clearer"> |
43 </div> |
40 </div> |
44 </div> |
41 </div> |
45 <div id="footer"> |
42 <div id="footer"> |