comparison gpp/templates/base.html @ 88:3abf0b045749

Updates to base template. Added a link to forums. Display username in header if logged in.
author Brian Neal <bgneal@gmail.com>
date Sat, 12 Sep 2009 18:51:55 +0000
parents 02e5dfa830cc
children 806399f3b950
comparison
equal deleted inserted replaced
87:515d1daec811 88:3abf0b045749
35 <div id="header" class="span-24"> 35 <div id="header" class="span-24">
36 <h1>SurfGuitar101</h1> 36 <h1>SurfGuitar101</h1>
37 <p>Header content</p> 37 <p>Header content</p>
38 <ul> 38 <ul>
39 {% if user.is_authenticated %} 39 {% if user.is_authenticated %}
40 <li>Welcome, <a href="{% url bio-me %}">{{ user.username }}</a></li>
40 <li>{% unread_messages user %}</li> 41 <li>{% unread_messages user %}</li>
41 <li><a href="{% url bio-me %}">My Profile</a></li>
42 <li><a href="{% url accounts-logout %}">Logout</a></li> 42 <li><a href="{% url accounts-logout %}">Logout</a></li>
43 {% else %} 43 {% else %}
44 <li><a href="{% url accounts-login %}">Login</a></li> 44 <li><a href="{% url accounts-login %}">Login</a></li>
45 <li><a href="{% url accounts-register %}">Register</a></li> 45 <li><a href="{% url accounts-register %}">Register</a></li>
46 {% endif %} 46 {% endif %}
52 <li><a href="{% url home %}">Home</a></li> 52 <li><a href="{% url home %}">Home</a></li>
53 <li><a href="{% url news-index_page page=1 %}">News</a></li> 53 <li><a href="{% url news-index_page page=1 %}">News</a></li>
54 <li><a href="{% url gcalendar-index %}">Calendar</a></li> 54 <li><a href="{% url gcalendar-index %}">Calendar</a></li>
55 <li><a href="{% url contact-form %}">Contact</a></li> 55 <li><a href="{% url contact-form %}">Contact</a></li>
56 <li><a href="{% url donations-index %}">Donations</a></li> 56 <li><a href="{% url donations-index %}">Donations</a></li>
57 <li><a href="{% url forums-index %}">Forums</a></li>
57 <li><a href="{% url irc-main %}">IRC</a></li> 58 <li><a href="{% url irc-main %}">IRC</a></li>
58 <li><a href="{% url bio-members %}">Member List</a></li> 59 <li><a href="{% url bio-members %}">Member List</a></li>
59 <li><a href="{% url membermap-index %}">Member Map</a></li> 60 <li><a href="{% url membermap-index %}">Member Map</a></li>
60 <li><a href="{% url messages-inbox %}">Private Messages</a></li> 61 <li><a href="{% url messages-inbox %}">Private Messages</a></li>
61 <li><a href="{% url podcast-main %}">Podcast</a></li> 62 <li><a href="{% url podcast-main %}">Podcast</a></li>