summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/static/src/xml/auth_oauth.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-09-27 14:34:29 +0200
committerFabien Meghazi <fme@openerp.com>2012-09-27 14:34:29 +0200
commit1319a9423a1c3524ee1394441cd34703ce5dea57 (patch)
treefc9778fca7050d7c91cb211843c8fdb824db8295 /addons/auth_oauth/static/src/xml/auth_oauth.xml
parentf8c80b9af6130d580d1acb709c02a8545f361b8c (diff)
[FIX] Fixed oauth in order to reload provider on database selection. Also avoid to crash on database not having oauth installed or not even openerp database.
bzr revid: fme@openerp.com-20120927123429-nzau63yeo2zyn7ck
Diffstat (limited to 'addons/auth_oauth/static/src/xml/auth_oauth.xml')
-rw-r--r--addons/auth_oauth/static/src/xml/auth_oauth.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/auth_oauth/static/src/xml/auth_oauth.xml b/addons/auth_oauth/static/src/xml/auth_oauth.xml
index c2693804e59..76c71b83f10 100644
--- a/addons/auth_oauth/static/src/xml/auth_oauth.xml
+++ b/addons/auth_oauth/static/src/xml/auth_oauth.xml
@@ -2,8 +2,7 @@
<templates id="template" xml:space="preserve">
<t t-name="auth_oauth.Login.button">
<t t-foreach="widget.oauth_providers" t-as="p">
- <a href="#" t-att-class="p.css_class" t-att-data-index="p_index"><t t-esc="p.body"/></a>
- <br/>
+ <a href="#" t-attf-class="oe_oauth_provider_login_button #{p.css_class}" t-att-data-index="p_index"><t t-esc="p.body"/></a>
</t>
</t>
</templates>