diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-08-15 20:09:13 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-08-15 20:09:13 +0200 |
| commit | 334bc0ff666365198ce3a5c96d3937ddba5660a2 (patch) | |
| tree | 82de822b8289120a2cd36b1e6e769e09c6d0dc84 /addons/auth_oauth/static/src/xml/auth_oauth.xml | |
| parent | eb50d914614eed9e046ba713e9e988419e0f8422 (diff) | |
[IMP] generic oauth providers
bzr revid: al@openerp.com-20120815180913-2y889mtgg15v5lqb
Diffstat (limited to 'addons/auth_oauth/static/src/xml/auth_oauth.xml')
| -rw-r--r-- | addons/auth_oauth/static/src/xml/auth_oauth.xml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/addons/auth_oauth/static/src/xml/auth_oauth.xml b/addons/auth_oauth/static/src/xml/auth_oauth.xml index 75f168d6c9a..494dc20e1a1 100644 --- a/addons/auth_oauth/static/src/xml/auth_oauth.xml +++ b/addons/auth_oauth/static/src/xml/auth_oauth.xml @@ -1,13 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <templates id="template" xml:space="preserve"> - - <t t-extend="Login"> - <t t-jquery=".oe_login_pane form ul" t-operation="after"> - <ul class="oe_login_oauth"> - <li>OR</li> - <li><a href="#">Login with Google</a></li> - </ul> - </t> +<t t-name="auth_oauth.Login.button"> + <t t-foreach="widget.oauth_providers" t-as="p"> + <a href="#" class="oe_oauth_sign_in" t-att-data-index="p_index"> + Login with <t t-esc="p.name"/> icon <t t-esc="p.icon_url"/> + </a> + <br/> </t> - -</templates>
\ No newline at end of file +</t> +</templates> |
