[SCM] live-studio branch, master, updated. 1fe032df7aaa4bff181daf386b8b4bd02929a28c
Chris Lamb
lamby at debian.org
Sun Aug 1 18:35:43 UTC 2010
The following commit has been merged in the master branch:
commit 77f54491f29e8ef128050e0ab30b97347917a827
Author: Chris Lamb <lamby at debian.org>
Date: Sun Aug 1 14:14:24 2010 -0400
Change "home" link on top navigation if you are logged in
diff --git a/templates/base.html b/templates/base.html
index c86b3fe..09f6950 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -24,7 +24,12 @@
<div id="navbar">
<ul>
+ {% if request.user.is_authenticated %}
+ <li><a href="{% url config:configs %}">Configurations</a></li>
+ {% else %}
<li><a href="{% url static:welcome %}">Home</a></li>
+ {% endif %}
+
<li><a href="{% url static:faq %}">FAQ</a></li>
{% if request.user.is_authenticated %}
--
live-studio
More information about the debian-live-changes
mailing list