fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[wolnelektury.git]
/
src
/
wolnelektury
/
templates
/
socialaccount
/
snippets
/
provider_list.html
diff --git
a/src/wolnelektury/templates/socialaccount/snippets/provider_list.html
b/src/wolnelektury/templates/socialaccount/snippets/provider_list.html
index
d998b7a
..
61b3902
100644
(file)
--- a/
src/wolnelektury/templates/socialaccount/snippets/provider_list.html
+++ b/
src/wolnelektury/templates/socialaccount/snippets/provider_list.html
@@
-1,5
+1,6
@@
{% load socialaccount %}
{% load socialaccount %}
-{% load static from staticfiles %}
+
+{% load static from static %}
{% get_providers as providers %}
{% for provider in providers %}
{% get_providers as providers %}
{% for provider in providers %}
@@
-8,7
+9,7
@@
<li>
<a title="{{brand.name}}"
class="socialaccount_provider {{provider.id}} {{brand.id}}"
<li>
<a title="{{brand.name}}"
class="socialaccount_provider {{provider.id}} {{brand.id}}"
- href="{% provider_login_url provider.id openid=brand.openid_url %}"
+ href="{% provider_login_url provider.id openid=brand.openid_url
process=process
%}"
><img alt="{{ brand.name }}"
src="{% static 'img/auth/'|add:brand.id|add:'.png' %}" /></a>
</li>
><img alt="{{ brand.name }}"
src="{% static 'img/auth/'|add:brand.id|add:'.png' %}" /></a>
</li>
@@
-16,7
+17,7
@@
{% endif %}
<li>
<a title="{{provider.name}}" class="socialaccount_provider {{provider.id}}"
{% endif %}
<li>
<a title="{{provider.name}}" class="socialaccount_provider {{provider.id}}"
- href="{% provider_login_url provider.id %}"
+ href="{% provider_login_url provider.id
process=process scope=scope auth_params=auth_params
%}"
><img alt="{{ provider.name }}"
src="{% static 'img/auth/'|add:provider.id|add:'.png' %}" /></a>
</li>
><img alt="{{ provider.name }}"
src="{% static 'img/auth/'|add:provider.id|add:'.png' %}" /></a>
</li>