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