[SCM] live-studio branch, master, updated. be51da814fb12d25dce46a7f078a46f5c89bd777

Chris Lamb lamby at debian.org
Fri Jul 30 02:52:37 UTC 2010


The following commit has been merged in the master branch:
commit 27e31812ebe8b827c71610d8de2e881af655ce0d
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Jul 29 19:39:49 2010 -0400

    Add some links if you are logged in.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>

diff --git a/templates/base.html b/templates/base.html
index 4a960e7..f070da6 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -19,6 +19,15 @@
 {% endif %}
 
 <div id="body">
+
+  {% if request.user.is_authenticated %}
+  <div class="actions" style="float: right">
+    <p><a href="{% url config:configs %}">Home</a>
+    -
+    <a href="{% url auth_logout %}">Logout</a>
+  </div>
+  {% endif %}
+
 <div id="content">
   {% block content %}{% endblock %}
 </div>

-- 
live-studio



More information about the debian-live-changes mailing list