summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-05 18:05:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-05 18:05:41 +0000
commite8971e5f831cfaee8fe18508c1fd154af99a96e0 (patch)
tree3ee73972d20cb223e04e7418b0d932cbce342348 /app/views/news
parent73dba2ac044f9ff5de1917fd2457fd1a7b3f3377 (diff)
downloadredmine-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/news')
-rw-r--r--app/views/news/show.rhtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml
index 21316212e..ef5bbcd4c 100644
--- a/app/views/news/show.rhtml
+++ b/app/views/news/show.rhtml
@@ -2,6 +2,7 @@
<%= link_to_if_authorized l(:button_edit),
{:controller => 'news', :action => 'edit', :id => @news},
:class => 'icon icon-edit',
+ :accesskey => accesskey(:edit),
:onclick => 'Element.show("edit-news"); return false;' %>
<%= link_to_if_authorized l(:button_delete), {:controller => 'news', :action => 'destroy', :id => @news}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
</div>