X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6e32f55e3ef50d9f7d3a291c2388c5220851a9b4..82c3054bcdeb000aa9782da80d644070797b5cbe:/apps/wolnelektury_core/templates/socialaccount/snippets/provider_list.html diff --git a/apps/wolnelektury_core/templates/socialaccount/snippets/provider_list.html b/apps/wolnelektury_core/templates/socialaccount/snippets/provider_list.html index 1361d7018..80f9c2f2d 100644 --- a/apps/wolnelektury_core/templates/socialaccount/snippets/provider_list.html +++ b/apps/wolnelektury_core/templates/socialaccount/snippets/provider_list.html @@ -1,20 +1,22 @@ +{% load socialaccount %} {% load static from staticfiles %} -{% load allauth_tags %} -{% load common_tags %} -{% if allauth.openid_enabled %} -
  • - Google
  • -{% endif %} -{% if allauth.facebook_enabled %} -
  • - Facebook
  • -{% endif %} -{% if allauth.twitter_enabled %} -
  • - Twitter
  • -{% endif %} -{% if allauth.openid_enabled %} -
  • - OpenID
  • -{% endif %} +{% for provider in socialaccount.providers %} + {% if provider.id == "openid" %} + {% for brand in provider.get_brands %} +
  • + {{ brand.name }} +
  • + {% endfor %} + {% endif %} +
  • + {{ provider.name }} +
  • +{% endfor %}