changeset 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 (2009-09-12)
parents 515d1daec811
children 021492db4aad
files gpp/templates/base.html
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/templates/base.html	Sat Sep 12 18:45:35 2009 +0000
+++ b/gpp/templates/base.html	Sat Sep 12 18:51:55 2009 +0000
@@ -37,8 +37,8 @@
    <p>Header content</p>
       <ul>
          {% if user.is_authenticated %}
+         <li>Welcome, <a href="{% url bio-me %}">{{ user.username }}</a></li>
          <li>{% unread_messages user %}</li>
-         <li><a href="{% url bio-me %}">My Profile</a></li>
          <li><a href="{% url accounts-logout %}">Logout</a></li>
          {% else %}
          <li><a href="{% url accounts-login %}">Login</a></li>
@@ -54,6 +54,7 @@
       <li><a href="{% url gcalendar-index %}">Calendar</a></li>
       <li><a href="{% url contact-form %}">Contact</a></li>
       <li><a href="{% url donations-index %}">Donations</a></li>
+      <li><a href="{% url forums-index %}">Forums</a></li>
       <li><a href="{% url irc-main %}">IRC</a></li>
       <li><a href="{% url bio-members %}">Member List</a></li>
       <li><a href="{% url membermap-index %}">Member Map</a></li>