Change id to account in base.html template (without this change we couldn't signout using top right links and also couldn't display currently logged in account information on the left side of links). This patch is related to commit in revision r1022.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Sun, 16 Nov 2008 15:26:40 +0000
changeset 485 2865922ea06a
parent 484 6364f8b0656b
child 486 ec6b50f48d3b
Change id to account in base.html template (without this change we couldn't signout using top right links and also couldn't display currently logged in account information on the left side of links). This patch is related to commit in revision r1022. http://code.google.com/p/soc/source/detail?r=1022 Patch by: Pawel Solyga
app/soc/templates/soc/base.html
--- a/app/soc/templates/soc/base.html	Sun Nov 16 12:48:23 2008 +0000
+++ b/app/soc/templates/soc/base.html	Sun Nov 16 15:26:40 2008 +0000
@@ -38,14 +38,14 @@
 
   <div id="login">
 	{% block login_links %}
-	{% if id %}
-	<b>{{ id.email }} ({{ id.nickname }})</b> | 
+	{% if account %}
+	<b>{{ account.email }} ({{ account.nickname }})</b> | 
 	{% endif %}
 	{% if is_debug %}
 	<a class="novisit" target="_blank" href="/_ah/admin">Admin</a> | 
 	{% endif %}
 	<a class="novisit" href="http://code.google.com/p/soc/issues/list">Report bugs</a> | 
-	{% if id %}
+	{% if account %}
 	<a class="novisit" href="{{sign_out}}">Sign out</a>
 	{% else %}
 	<a class="novisit" href="{{sign_in}}">Sign in</a>