diff --git a/amiibofindr/templates/_layout.html b/amiibofindr/templates/_layout.html index d511ccb..bfccdc9 100644 --- a/amiibofindr/templates/_layout.html +++ b/amiibofindr/templates/_layout.html @@ -61,6 +61,7 @@ diff --git a/amiibofindr/templates/profile/main.html b/amiibofindr/templates/profile/main.html index 1ad6092..9d264cf 100644 --- a/amiibofindr/templates/profile/main.html +++ b/amiibofindr/templates/profile/main.html @@ -1,5 +1,5 @@ {% extends "_layout.html" %} -{% load i18n gravatar %} +{% load i18n gravatar socialaccount %} {% block js_views %}{{ block.super }},relation{% endblock %} @@ -8,7 +8,7 @@

-
+

{{ this_user.username }}
@@ -36,6 +36,19 @@

+
+ {% get_social_accounts user as accounts %} + {% if accounts %} + {% for provider, profiles in accounts.items %} + {% for profile in profiles %} + + + {{ profile }} + + {% endfor %} + {% endfor %} + {% endif %} +
{% if user.pk == this_user.pk %}