diff options
author | Sam Bigelow <sbigelow@gitlab.com> | 2019-08-12 09:41:04 +0300 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2019-08-12 09:41:04 +0300 |
commit | eba44228039d54ef3b84db4cf695a9058beb166d (patch) | |
tree | ce0702fed1d4854c2961db48db913059d193c0d5 /app/views/help | |
parent | ff81c0a35a44f8f57e9b87787f74e66aa47b4f88 (diff) |
Add kbd shortcuts for discussion navigation
Add keyboard shortcuts `p` and `n` to navigate duscussions.
Diffstat (limited to 'app/views/help')
-rw-r--r-- | app/views/help/_shortcuts.html.haml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml index 46d7c367aa7..0624f66b3a5 100644 --- a/app/views/help/_shortcuts.html.haml +++ b/app/views/help/_shortcuts.html.haml @@ -332,7 +332,7 @@ %td.shortcut %kbd l %td Change Label - %tbody.hidden-shortcut{ style: 'display:none' } + %tbody.hidden-shortcut.merge_requests{ style: 'display:none' } %tr %th %th Merge Requests @@ -368,6 +368,14 @@ \/ %kbd k %td Move to previous file + %tr + %td.shortcut + %kbd n + %td= _("Move to next unresolved discussion") + %tr + %td.shortcut + %kbd p + %td= _("Move to previous unresolved discussion") %tbody.hidden-shortcut{ style: 'display:none' } %tr %th |