Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ramsay <jramsay@gitlab.com>2018-05-18 17:27:30 +0300
committerJames Ramsay <james@jramsay.com.au>2018-05-18 17:52:12 +0300
commitf2479b608c042b2c4a7b85e38da92834c5c5ceb2 (patch)
treee8b6d4ddfd637144eed30ff374db04c5d1f88f48 /app/views/help
parentff944005c30e6f7fc71fd1dc7393ae178b33584e (diff)
Add web shortcut to docs and shortcut modal
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/_shortcuts.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml
index 2244d16f0a6..9a3a03a7671 100644
--- a/app/views/help/_shortcuts.html.haml
+++ b/app/views/help/_shortcuts.html.haml
@@ -231,6 +231,17 @@
%td.shortcut
.key y
%td Go to file permalink
+ %tbody
+ %tr
+ %th
+ %th Web IDE
+ %tr
+ %td.shortcut
+ - if browser.platform.mac?
+ .key &#8984; p
+ - else
+ .key ctrl p
+ %td Go to file
.col-lg-4
%table.shortcut-mappings
%tbody.hidden-shortcut.network{ style: 'display:none' }