First time here? Check out the FAQ!

Revision history  [back]

The message displayed @ logout had been missed. Here is the patch :

diff --git a/askbot/skins/default/templates/logout.html b/askbot/skins/default/templates/logout.html
index d9ab69f..2cdf495 100644
--- a/askbot/skins/default/templates/logout.html
+++ b/askbot/skins/default/templates/logout.html
@@ -3,13 +3,15 @@
 {% block title %}{% spaceless %}{% trans %}Logout{% endtrans %}{% endspaceless %}{% endblock %}
 {% block content %}
 <h1>{% trans %}You have successfully logged out{% endtrans %}</h1>
-<p>{% trans %}However, you still may be logged in to your OpenID provider. Please logout of your provider if you wish to do so.{% endtrans %}</p>
-{% if settings.FACEBOOK_KEY and settings.FACEBOOK_SECRET %}
-    <div id="fb-root"></div>
-    <script src="http://connect.facebook.net/en_US/all.js"></script>
-    <script>
-        FB.init({appId: '{{settings.FACEBOOK_KEY}}', status: true, cookie: true, xfbml: true});
-    </script>
+{% if have_buttons %}
+    <p>{% trans %}However, you still may be logged in to your OpenID provider. Please logout of your provider if you wish to do so.{% endtrans %}</p>
+    {% if settings.FACEBOOK_KEY and settings.FACEBOOK_SECRET %}
+        <div id="fb-root"></div>
+        <script src="http://connect.facebook.net/en_US/all.js"></script>
+        <script>
+            FB.init({appId: '{{settings.FACEBOOK_KEY}}', status: true, cookie: true, xfbml: true});
+        </script>
+    {% endif %}
 {% endif %}
 {% endblock %}
 {% block endjs %}