summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-24 12:24:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-24 12:24:00 +0000
commitbfd811304601edbc3c17edc1259a1029c230726d (patch)
tree9d8923db0f497f5e7d97e70407d2d3381c10f21e /app/views/repositories
parente723081ff4df9fa4002729add73316f74c4085b9 (diff)
downloadredmine-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/repositories')
-rw-r--r--app/views/repositories/revision.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb
index d945972f5..64dfd75ea 100644
--- a/app/views/repositories/revision.html.erb
+++ b/app/views/repositories/revision.html.erb
@@ -1,13 +1,15 @@
<div class="contextual">
&#171;
<% unless @changeset.previous.nil? -%>
- <%= link_to_revision(@changeset.previous, @repository, :text => l(:label_previous)) %>
+ <%= link_to_revision(@changeset.previous, @repository,
+ :text => l(:label_previous), :accesskey => accesskey(:previous)) %>
<% else -%>
<%= l(:label_previous) %>
<% end -%>
|
<% unless @changeset.next.nil? -%>
- <%= link_to_revision(@changeset.next, @repository, :text => l(:label_next)) %>
+ <%= link_to_revision(@changeset.next, @repository,
+ :text => l(:label_next), :accesskey => accesskey(:next)) %>
<% else -%>
<%= l(:label_next) %>
<% end -%>