[#9489] added invisible search label

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7677 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-10-29 01:13:38 +00:00
parent 303ce0ae53
commit f8fa9b767d
3 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@
<div class="box"> <div class="box">
<% form_tag({}, :method => :get) do %> <% form_tag({}, :method => :get) do %>
<%= label_tag "search-input", l(:description_search), :class => "hidden-for-sighted" %>
<p><%= text_field_tag 'q', @question, :size => 60, :id => 'search-input' %> <p><%= text_field_tag 'q', @question, :size => 60, :id => 'search-input' %>
<%= javascript_tag "Field.focus('search-input')" %> <%= javascript_tag "Field.focus('search-input')" %>
<%= project_select_tag %> <%= project_select_tag %>

View File

@ -1000,5 +1000,6 @@ de:
label_diff: diff label_diff: diff
text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
description_search: Suchfeld
description_project_scope: Suchbereich description_project_scope: Suchbereich

View File

@ -978,4 +978,5 @@ en:
enumeration_doc_categories: Document categories enumeration_doc_categories: Document categories
enumeration_activities: Activities (time tracking) enumeration_activities: Activities (time tracking)
enumeration_system_activity: System Activity enumeration_system_activity: System Activity
description_search: Searchfield
description_project_scope: Search scope description_project_scope: Search scope