diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-05 18:05:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-05 18:05:41 +0000 |
commit | e8971e5f831cfaee8fe18508c1fd154af99a96e0 (patch) | |
tree | 3ee73972d20cb223e04e7418b0d932cbce342348 /app/views/layouts | |
parent | 73dba2ac044f9ff5de1917fd2457fd1a7b3f3377 (diff) | |
download | redmine-e8971e5f831cfaee8fe18508c1fd154af99a96e0.tar.gz redmine-e8971e5f831cfaee8fe18508c1fd154af99a96e0.zip |
Added some accesskeys:
* e => edit
* r => preview
* f => quick search
* 4 => search
git-svn-id: http://redmine.rubyforge.org/svn/trunk@804 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/base.rhtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 70d08aa6b..d0115a6d3 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -38,7 +38,8 @@ <div id="header"> <div id="quick-search"> <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> - <%= link_to l(:label_search), :controller => 'search', :action => 'index', :id => @project %>: <%= text_field_tag 'q', @question, :size => 20, :class => 'small' %> + <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: + <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> <% end %> <%= render :partial => 'layouts/project_selector' if User.current.memberships.any? %> </div> |