Fixed providers listings

This commit is contained in:
Felipe Martín 2015-10-11 10:52:48 +02:00
parent 326e156cd8
commit 276e30f406
3 changed files with 5 additions and 9 deletions

View File

@ -32,11 +32,9 @@
</div>
{% endfor %}
{% endif %}
<div class="item">
<a title="{{ provider.name }}" class="socialaccount_provider ui button {{ provider.id }}"
<a title="{{ provider.name }}" class="socialaccount_provider ui button {{ provider.id }} {% if provider.id == 'google' %}plus{% endif %}"
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}">
<i class="icon {{ provider.name|lower }}"></i> {{ provider.name }}</a>
</div>
{% endfor %}
</div>
</div>

View File

@ -45,7 +45,7 @@
{% for provider, profiles in accounts.items %}
{% for profile in profiles %}
<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>
{{ profile }}
</a>

View File

@ -13,9 +13,7 @@
</div>
{% endfor %}
{% endif %}
<div class="item">
<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 %}">
<i class="icon {{ provider.name|lower }}"></i> {{ provider.name }}</a>
</div>
<a title="{{ provider.name }}" class="socialaccount_provider ui button {{ provider.id }} {% if provider.id == 'google' %}plus{% endif %}"
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}">
<i class="icon {{ provider.name|lower }}"></i> {{ provider.name }}</a>
{% endfor %}