From: Julien HENRY Date: Thu, 17 Nov 2011 10:13:16 +0000 (+0100) Subject: Remove "Sign up" link from tabindex. X-Git-Tag: 2.14~343 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7778aa10c624005180946fa135c410cf961fa40f;p=sonarqube.git Remove "Sign up" link from tabindex. --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/sessions/login.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/sessions/login.html.erb index 697a71e35ed..61db4ea22a6 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/sessions/login.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/sessions/login.html.erb @@ -8,7 +8,7 @@ <%= text_field_tag 'login', '', {:maxlength => 40, :size => 30, :disabled => false} %> <% if Property.value('sonar.allowUsersToSignUp')=='true' %> -
Not a member? <%= link_to 'Sign up', :controller => 'users', :action => 'new' -%> for an account. +
Not a member? <%= link_to 'Sign up', {:controller => 'users', :action => 'new'}, :tabindex => '-1' -%> for an account. <% end %>

<%= label_tag message('password') %>

diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/sessions/new.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/sessions/new.html.erb index 7153b891a25..211f64a660f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/sessions/new.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/sessions/new.html.erb @@ -11,7 +11,7 @@

<%= text_field_tag 'login', '', {:maxlength => 40, :size => 30, :disabled => false} %> <% if Property.value('sonar.allowUsersToSignUp')=='true' %> -
Not a member? <%= link_to 'Sign up', :controller => 'users', :action => 'new' -%> for an account. +
Not a member? <%= link_to 'Sign up', {:controller => 'users', :action => 'new'}, :tabindex => '-1' -%> for an account. <% end %>

<%= label_tag message('password') %>