Fixed providers listings
This commit is contained in:
parent
326e156cd8
commit
276e30f406
|
@ -32,11 +32,9 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="item">
|
<a title="{{ provider.name }}" class="socialaccount_provider ui button {{ provider.id }} {% if provider.id == 'google' %}plus{% endif %}"
|
||||||
<a title="{{ provider.name }}" class="socialaccount_provider ui button {{ provider.id }}"
|
|
||||||
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}">
|
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}">
|
||||||
<i class="icon {{ provider.name|lower }}"></i> {{ provider.name }}</a>
|
<i class="icon {{ provider.name|lower }}"></i> {{ provider.name }}</a>
|
||||||
</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
{% for provider, profiles in accounts.items %}
|
{% for provider, profiles in accounts.items %}
|
||||||
{% for profile in profiles %}
|
{% for profile in profiles %}
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<a class="ui button tiny {{ provider }}" href="{{ profile.get_profile_url }}">
|
<a class="ui button tiny {{ provider }} {% if provider == 'google' %}plus{% endif %}" href="{{ profile.get_profile_url }}">
|
||||||
<i class="{{ provider }} icon"></i>
|
<i class="{{ provider }} icon"></i>
|
||||||
{{ profile }}
|
{{ profile }}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -13,9 +13,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="item">
|
<a title="{{ provider.name }}" class="socialaccount_provider ui button {{ provider.id }} {% if provider.id == 'google' %}plus{% endif %}"
|
||||||
<a title="{{ provider.name }}" class="socialaccount_provider ui button {{ provider.id }}"
|
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}">
|
||||||
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}">
|
<i class="icon {{ provider.name|lower }}"></i> {{ provider.name }}</a>
|
||||||
<i class="icon {{ provider.name|lower }}"></i> {{ provider.name }}</a>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue