diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-24 12:24:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-24 12:24:00 +0000 |
commit | bfd811304601edbc3c17edc1259a1029c230726d (patch) | |
tree | 9d8923db0f497f5e7d97e70407d2d3381c10f21e /app/views/issues/show.html.erb | |
parent | e723081ff4df9fa4002729add73316f74c4085b9 (diff) | |
download | redmine-bfd811304601edbc3c17edc1259a1029c230726d.tar.gz redmine-bfd811304601edbc3c17edc1259a1029c230726d.zip |
Adds p/n access keys for previous/next links (#18692).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@13794 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/show.html.erb')
-rw-r--r-- | app/views/issues/show.html.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index e5a3298668..6a514ac88 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -8,14 +8,16 @@ <%= link_to_if @prev_issue_id, "\xc2\xab #{l(:label_previous)}", (@prev_issue_id ? issue_path(@prev_issue_id) : nil), - :title => "##{@prev_issue_id}" %> | + :title => "##{@prev_issue_id}", + :accesskey => accesskey(:previous) %> | <% if @issue_position && @issue_count %> <span class="position"><%= l(:label_item_position, :position => @issue_position, :count => @issue_count) %></span> | <% end %> <%= link_to_if @next_issue_id, "#{l(:label_next)} \xc2\xbb", (@next_issue_id ? issue_path(@next_issue_id) : nil), - :title => "##{@next_issue_id}" %> + :title => "##{@next_issue_id}", + :accesskey => accesskey(:next) %> </div> <% end %> |