--- a/web/ldtplatform/templates/registration/login.html Thu Apr 14 18:00:39 2011 +0200
+++ b/web/ldtplatform/templates/registration/login.html Mon Apr 18 13:12:57 2011 +0200
@@ -32,8 +32,15 @@
<ul id="login_fields_list">
{{form.as_ul}}
</ul>
- <p>{% trans "Or login with your external account" %}</p>
- {{social_list|safe}}
+ {% if social_list %}
+ <p>{% trans "Or login with your external account" %} :</p>
+ <ul>
+ {% for backend_name in social_list %}
+ <li><a href="{{ backend_name }}"><img src="{{LDT_MEDIA_PREFIX}}img/logo_{{backend_name}}.png" /> {{ backend_name }}</a></li>
+ {% endfor %}
+ {% comment %}{{social_list|safe}}{% endcomment %}
+ </ul>
+ {% endif %}
</div>
<div id="login_links" class="span-12 last">
<div id="login_links_list" class="span-12 last">