X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c26ab6ee15974c1133a6d08c459b51199185f25f..02fe6525fe7fa7c16d6e1dfe0ca040ac07d41325:/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 3ca849360..80f9c2f2d 100644 --- a/apps/wolnelektury_core/templates/socialaccount/snippets/provider_list.html +++ b/apps/wolnelektury_core/templates/socialaccount/snippets/provider_list.html @@ -1,24 +1,22 @@ -{% load allauth_tags %} -{% load common_tags %} +{% load socialaccount %} +{% load static from staticfiles %} -{% 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 %}