changeset 124:9b3a42bc0b74 draft

Fix the Login/Logout status
author marga
date Tue, 28 Jul 2009 23:04:00 +0000
parents bfbccdd280b7
children c7623fe03f65
files bts_webui/amancay/templates/base.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bts_webui/amancay/templates/base.html
+++ b/bts_webui/amancay/templates/base.html
@@ -22,7 +22,7 @@
 			<div id="navbar">
 			    {% block navbar %}
 			    <a href="/">Home</a> • 
-			    {% if session.logged %}
+			    {% if current_user.is_authenticated %}
 			        <a href="/accounts/settings">Settings</a> • 
 			        <a href="/accounts/logout">Logout</a> •
 			    {% else %}
@@ -63,7 +63,7 @@
 </div>
 
 <div id="footer">
-    <p>Copyright © 2009 - The <a href="#">Amancay</a> authors.<br/>
+    <p>Copyright © 2009 - The Amancay authors.<br/>
 </div>
 
 </body>