1361d7018d55d51dd770497bf0d0d3fbb81da87d
[wolnelektury.git] / apps / wolnelektury_core / templates / socialaccount / snippets / provider_list.html
1 {% load static from staticfiles %}
2 {% load allauth_tags %}
3 {% load common_tags %}
4
5 {% if allauth.openid_enabled %}
6 <li><a title="Google" class="socialaccount_provider google" href="{% openid_login_url openid="https://www.google.com/accounts/o8/id" %}">
7         <img alt="Google" src="{% static "img/auth/google.png" %}" /></a></li>
8 {% endif %}
9 {% if allauth.facebook_enabled %}
10 <li><a title="Facebook" class="socialaccount_provider facebook" href="{% facebook_login_url next=request.GET.next|build_absolute_uri:request %}">
11         <img alt="Facebook" src="{% static "img/auth/facebook.png" %}" /></a></li>
12 {% endif %}
13 {% if allauth.twitter_enabled %}
14 <li><a title="Twitter" class="socialaccount_provider twitter" href="{% twitter_login_url %}">
15         <img alt="Twitter" src="{% static "img/auth/twitter.png" %}" /></a></li>
16 {% endif %}
17 {% if allauth.openid_enabled %}
18 <li><a title="OpenID" class="socialaccount_provider openid" href="{% openid_login_url %}">
19         <img alt="OpenID" src="{% static "img/auth/openid.png" %}" /></a></li>
20 {% endif %}