debian-mirror-gitlab/app/views/help/_shortcuts.html.haml

346 lines
10 KiB
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
#modal-shortcuts.modal{ tabindex: -1 }
2019-12-04 20:38:33 +05:30
.modal-dialog.modal-lg.modal-1040
2014-09-02 18:07:02 +05:30
.modal-content
.modal-header
2018-11-08 19:23:39 +05:30
%h4.modal-title
2019-10-12 21:52:04 +05:30
= _('Keyboard Shortcuts')
2015-04-26 12:48:37 +05:30
%small
2019-10-12 21:52:04 +05:30
= link_to _('(Show all)'), '#', class: 'js-more-help-button'
2020-03-13 15:44:24 +05:30
.js-toggle-shortcuts
2018-11-08 19:23:39 +05:30
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } ×
2016-09-29 09:46:39 +05:30
.modal-body
.row
.col-lg-4
2019-12-04 20:38:33 +05:30
%table.shortcut-mappings.text-2
2016-09-29 09:46:39 +05:30
%tbody
%tr
%th
2019-10-12 21:52:04 +05:30
%th= _('Global Shortcuts')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd ?
%td= _('Toggle this dialog')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd shift p
%td= _('Go to your projects')
2019-10-12 21:52:04 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd shift g
%td= _('Go to your groups')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd shift a
%td= _('Go to the activity feed')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd shift l
%td= _('Go to the milestone list')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd shift s
%td= _('Go to your snippets')
2016-09-29 09:46:39 +05:30
%tr
2017-08-17 22:00:37 +05:30
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd s
%td= _('Start search')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd shift i
%td= _('Go to your issues')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd shift m
%td= _('Go to your merge requests')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd shift t
%td= _('Go to your To-Do list')
2017-08-17 22:00:37 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd p
%kbd b
%td= _('Toggle the Performance Bar')
%tbody
2017-08-17 22:00:37 +05:30
%tr
2019-12-04 20:38:33 +05:30
%th
2020-05-24 23:13:21 +05:30
%th= _('Editing')
2017-08-17 22:00:37 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
- if browser.platform.mac?
2020-05-24 23:13:21 +05:30
%kbd ⌘ shift p
2019-12-04 20:38:33 +05:30
- else
2020-05-24 23:13:21 +05:30
%kbd ctrl shift p
%td= _('Toggle Markdown preview')
2017-08-17 22:00:37 +05:30
%tr
%td.shortcut
2020-05-24 23:13:21 +05:30
%kbd
%i.fa.fa-arrow-up
%td= _('Edit your most recent comment in a thread (from an empty textarea)')
2016-09-29 09:46:39 +05:30
%tbody
%tr
%th
2020-05-24 23:13:21 +05:30
%th= _('Wiki')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd e
%td= _('Edit wiki page')
%tbody
2016-09-29 09:46:39 +05:30
%tr
2019-12-04 20:38:33 +05:30
%th
2020-05-24 23:13:21 +05:30
%th= _('Repository Graph')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2020-05-24 23:13:21 +05:30
%kbd
%i.fa.fa-arrow-left
\/
%kbd h
%td= _('Scroll left')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-right
\/
%kbd l
%td= _('Scroll right')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd
%i.fa.fa-arrow-up
2020-05-24 23:13:21 +05:30
\/
%kbd k
%td= _('Scroll up')
%tr
%td.shortcut
%kbd
%i.fa.fa-arrow-down
\/
%kbd j
%td= _('Scroll down')
%tr
%td.shortcut
%kbd
shift
%i.fa.fa-arrow-up
\/ k
%td= _('Scroll to top')
%tr
%td.shortcut
%kbd
shift
%i.fa.fa-arrow-down
\/ j
%td= _('Scroll to bottom')
2016-09-29 09:46:39 +05:30
.col-lg-4
2019-12-04 20:38:33 +05:30
%table.shortcut-mappings.text-2
2016-09-29 09:46:39 +05:30
%tbody
%tr
%th
2019-10-12 21:52:04 +05:30
%th= _('Project')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
%kbd p
2019-12-04 20:38:33 +05:30
%td= _('Go to the project\'s overview page')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
%kbd v
2019-12-04 20:38:33 +05:30
%td= _('Go to the project\'s activity feed')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
2019-12-04 20:38:33 +05:30
%kbd r
%td= _('Go to releases')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
2019-12-04 20:38:33 +05:30
%kbd f
%td= _('Go to files')
%tr
%td.shortcut
%kbd t
%td= _('Go to find file')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
2019-12-04 20:38:33 +05:30
%kbd c
%td= _('Go to commits')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
%kbd n
2019-12-04 20:38:33 +05:30
%td= _('Go to repository graph')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
%kbd d
2019-12-04 20:38:33 +05:30
%td= _('Go to repository charts')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
%kbd i
2019-12-04 20:38:33 +05:30
%td= _('Go to issues')
%tr
%td.shortcut
%kbd i
%td= _('New issue')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
%kbd b
2019-12-04 20:38:33 +05:30
%td= _('Go to issue boards')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
%kbd m
2019-12-04 20:38:33 +05:30
%td= _('Go to merge requests')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
2019-12-04 20:38:33 +05:30
%kbd j
%td= _('Go to jobs')
2018-11-08 19:23:39 +05:30
%tr
%td.shortcut
%kbd g
%kbd l
2019-12-04 20:38:33 +05:30
%td= _('Go to metrics')
%tr
%td.shortcut
%kbd g
%kbd e
%td= _('Go to environments')
2018-11-08 19:23:39 +05:30
%tr
%td.shortcut
%kbd g
%kbd k
2019-12-04 20:38:33 +05:30
%td= _('Go to kubernetes')
2018-11-08 19:23:39 +05:30
%tr
%td.shortcut
%kbd g
%kbd s
2019-12-04 20:38:33 +05:30
%td= _('Go to snippets')
2017-08-17 22:00:37 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd g
%kbd w
2019-12-04 20:38:33 +05:30
%td= _('Go to wiki')
2017-08-17 22:00:37 +05:30
%tbody
%tr
%th
2019-12-04 20:38:33 +05:30
%th= _('Project Files')
2017-08-17 22:00:37 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd
2017-08-17 22:00:37 +05:30
%i.fa.fa-arrow-up
2019-10-12 21:52:04 +05:30
%td= _('Move selection up')
2017-08-17 22:00:37 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd
2017-08-17 22:00:37 +05:30
%i.fa.fa-arrow-down
2019-10-12 21:52:04 +05:30
%td= _('Move selection down')
2017-08-17 22:00:37 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd enter
2019-10-12 21:52:04 +05:30
%td= _('Open Selection')
2017-08-17 22:00:37 +05:30
%tr
2019-12-04 20:38:33 +05:30
%td.shortcut
%kbd esc
2019-12-26 22:10:19 +05:30
%td= _('Go back (while searching for files)')
2017-08-17 22:00:37 +05:30
%tr
%td.shortcut
2018-11-08 19:23:39 +05:30
%kbd y
2019-12-04 20:38:33 +05:30
%td= _('Go to file permalink (while viewing a file)')
.col-lg-4
%table.shortcut-mappings.text-2
2018-11-08 19:23:39 +05:30
%tbody
%tr
%th
2020-05-24 23:13:21 +05:30
%th= _('Epics, Issues, and Merge Requests')
2019-12-04 20:38:33 +05:30
%tr
%td.shortcut
%kbd r
%td= _('Comment/Reply (quoting selected text)')
%tr
%td.shortcut
%kbd e
%td= _('Edit description')
%tr
%td.shortcut
%kbd l
%td= _('Change label')
2020-05-24 23:13:21 +05:30
%tbody
%tr
%th
%th= _('Issues and Merge Requests')
%tr
%td.shortcut
%kbd a
%td= _('Change assignee')
%tr
%td.shortcut
%kbd m
%td= _('Change milestone')
%tbody
%tr
%th
%th= _('Merge Requests')
2019-12-04 20:38:33 +05:30
%tr
%td.shortcut
%kbd ]
\/
%kbd j
2020-05-24 23:13:21 +05:30
%td= _('Next file in diff')
2019-12-04 20:38:33 +05:30
%tr
%td.shortcut
%kbd [
\/
%kbd k
2020-05-24 23:13:21 +05:30
%td= _('Previous file in diff')
2018-11-08 19:23:39 +05:30
%tr
%td.shortcut
- if browser.platform.mac?
%kbd ⌘ p
- else
%kbd ctrl p
2020-05-24 23:13:21 +05:30
%td= _('Go to file')
2019-02-15 15:39:39 +05:30
%tr
%td.shortcut
2019-12-04 20:38:33 +05:30
%kbd n
2020-05-24 23:13:21 +05:30
%td= _('Next unresolved discussion')
2019-12-04 20:38:33 +05:30
%tr
%td.shortcut
%kbd p
2020-05-24 23:13:21 +05:30
%td= _('Previous unresolved discussion')
2019-12-04 20:38:33 +05:30
%tbody
2016-09-29 09:46:39 +05:30
%tr
%th
2020-05-24 23:13:21 +05:30
%th= _('Merge Request Commits')
2019-12-04 20:38:33 +05:30
%tr
%td.shortcut
2020-05-24 23:13:21 +05:30
%kbd c
%td= _('Next commit')
2019-12-04 20:38:33 +05:30
%tr
%td.shortcut
2020-05-24 23:13:21 +05:30
%kbd x
%td= _('Previous commit')
2019-12-04 20:38:33 +05:30
%tbody
%tr
%th
2020-05-24 23:13:21 +05:30
%th= _('Web IDE')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2020-05-24 23:13:21 +05:30
- if browser.platform.mac?
%kbd ⌘ p
- else
%kbd ctrl p
%td= _('Go to file')
2016-09-29 09:46:39 +05:30
%tr
%td.shortcut
2020-05-24 23:13:21 +05:30
- if browser.platform.mac?
%kbd ⌘ enter
- else
%kbd ctrl enter
%td= _('Commit (when editing commit message)')