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/documents | |
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/documents')
-rw-r--r-- | app/views/documents/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml index 85d769097..779315b22 100644 --- a/app/views/documents/show.rhtml +++ b/app/views/documents/show.rhtml @@ -1,5 +1,5 @@ <div class="contextual"> -<%= link_to_if_authorized l(:button_edit), {:controller => 'documents', :action => 'edit', :id => @document}, :class => 'icon icon-edit' %> +<%= link_to_if_authorized l(:button_edit), {:controller => 'documents', :action => 'edit', :id => @document}, :class => 'icon icon-edit', :accesskey => accesskey(:edit) %> <%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy', :id => @document}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> </div> |