From 0e31cb40d3998f8bad3e0a1e35985e28ef825e19 Mon Sep 17 00:00:00 2001 From: Job van der Voort Date: Wed, 19 Mar 2014 14:01:13 +0100 Subject: require public email with oauth provider message --- app/views/devise/sessions/_oauth_providers.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/devise/sessions/_oauth_providers.html.haml b/app/views/devise/sessions/_oauth_providers.html.haml index 935bc6af505..9a112f56643 100644 --- a/app/views/devise/sessions/_oauth_providers.html.haml +++ b/app/views/devise/sessions/_oauth_providers.html.haml @@ -2,10 +2,11 @@ - if providers.present? %hr %div{:'data-no-turbolink' => 'data-no-turbolink'} - %span Sign in with:   + %span Sign in with*:   - providers.each do |provider| %span - if default_providers.include?(provider) = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider) - else = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn" + %small * Make sure your email address is public -- cgit v1.2.1 From 622bbf9629d2f5f081fbad6bbd9f0e3b6f092be6 Mon Sep 17 00:00:00 2001 From: Job van der Voort Date: Wed, 19 Mar 2014 14:07:42 +0100 Subject: line break --- app/views/devise/sessions/_oauth_providers.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/devise/sessions/_oauth_providers.html.haml b/app/views/devise/sessions/_oauth_providers.html.haml index 9a112f56643..2b1cb9c694f 100644 --- a/app/views/devise/sessions/_oauth_providers.html.haml +++ b/app/views/devise/sessions/_oauth_providers.html.haml @@ -9,4 +9,5 @@ = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider) - else = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn" + %br %small * Make sure your email address is public -- cgit v1.2.1