headers in tag list
[wolnelektury.git] / src / wolnelektury / templates / socialaccount / snippets / provider_list.html
1 {% load socialaccount %}
2 {% load static from staticfiles %}
3
4 {% for provider in socialaccount.providers %}
5     {% if provider.id == "openid" %}
6         {% for brand in provider.get_brands %}
7             <li>
8                 <a title="{{brand.name}}" 
9                     class="socialaccount_provider {{provider.id}} {{brand.id}}" 
10                     href="{% provider_login_url provider.id openid=brand.openid_url %}"
11                     ><img alt="{{ brand.name }}"
12                         src="{% static 'img/auth/'|add:brand.id|add:'.png' %}" /></a>
13             </li>
14         {% endfor %}
15     {% endif %}
16     <li>
17         <a title="{{provider.name}}" class="socialaccount_provider {{provider.id}}" 
18             href="{% provider_login_url provider.id %}"
19             ><img alt="{{ provider.name }}"
20                 src="{% static 'img/auth/'|add:provider.id|add:'.png' %}" /></a>
21     </li>
22 {% endfor %}