[snowy] Display "add new OpenID Account" message to an already logged in user



commit 9f3e59d849398f082124338378377859994f3578
Author: Natan Yellin <aantny gmail com>
Date:   Wed Dec 15 00:57:39 2010 +0200

    Display "add new OpenID Account" message to an already logged in user

 accounts/templates/openid/login.html |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/accounts/templates/openid/login.html b/accounts/templates/openid/login.html
index b21d670..c57a800 100644
--- a/accounts/templates/openid/login.html
+++ b/accounts/templates/openid/login.html
@@ -26,7 +26,13 @@
 {% endif %}
 
 <div id="login-leftcolumn">
-    <h3>{% trans "Log in with your OpenID" %}</h3>
+    <h3>
+        {% if user.is_authenticated %}
+            {% trans "Add a New OpenID Identity to Your Account" %}
+        {% else %}
+            {% trans "Log in with your OpenID" %}
+        {% endif %}
+    </h3>
 
     <form name="fopenid" action="{{ action }}" method="post">
         <table>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]