From 08bb8748d33fe650dfcf82e341b88fdf163172eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Sun, 11 Oct 2015 10:22:13 +0200 Subject: [PATCH] Social accounts layout fixes --- amiibofindr/templates/profile/main.html | 26 +++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/amiibofindr/templates/profile/main.html b/amiibofindr/templates/profile/main.html index ba2c7b7..e45036e 100644 --- a/amiibofindr/templates/profile/main.html +++ b/amiibofindr/templates/profile/main.html @@ -8,13 +8,13 @@

-
+

{{ this_user.username }}
-
+
@@ -36,17 +36,22 @@

-
+
{% get_social_accounts this_user as accounts %} {% if accounts %} - {% for provider, profiles in accounts.items %} - {% for profile in profiles %} - - - {{ profile }} - +

{% trans "Contact me in:" %}

+
+ {% for provider, profiles in accounts.items %} + {% for profile in profiles %} + + {% endfor %} {% endfor %} - {% endfor %} +
{% endif %}
{% if user.pk == this_user.pk %} @@ -55,6 +60,7 @@ {% trans "Want everyone to see your collection? Spread the word!" %} +
{% endif %}