diff --git a/app/views/layouts/_nav.html.haml b/app/views/layouts/_nav.html.haml index 9ada555ef..fc32c62b8 100644 --- a/app/views/layouts/_nav.html.haml +++ b/app/views/layouts/_nav.html.haml @@ -35,4 +35,4 @@ Logout - else %li - = link_to 'Login', new_user_sessions_path(return_to: request.fullpath), class: 'btn btn-new btn-login' + = link_to "Login with GitLab", auth_user_sessions_path, class: 'btn btn-new btn-login' diff --git a/app/views/projects/_public.html.haml b/app/views/projects/_public.html.haml index e91f3e250..87dff892e 100644 --- a/app/views/projects/_public.html.haml +++ b/app/views/projects/_public.html.haml @@ -4,7 +4,7 @@ .bs-callout = link_to new_user_sessions_path(return_to: request.fullpath) do - %strong Login + %strong Login with GitLab to see your private projects - if @projects.present?