Commit b8c3f9a628d6830282743b4b419aaf4c37e060e9

Authored by Dmitriy Zaporozhets
1 parent f63cd42b

Extend shortcuts list modal. Mention it at help page

app/views/help/_shortcuts.html.haml
@@ -12,3 +12,19 @@ @@ -12,3 +12,19 @@
12 %span.label.label-inverse ? 12 %span.label.label-inverse ?
13 – 13 –
14 Show this dialog 14 Show this dialog
  15 +
  16 + %h5 Project Files browsing
  17 + %p
  18 + %span.label.label-inverse
  19 + %i.icon-arrow-up
  20 + –
  21 + Move selection up
  22 + %p
  23 + %span.label.label-inverse
  24 + %i.icon-arrow-down
  25 + –
  26 + Move selection down
  27 + %p
  28 + %span.label.label-inverse Enter
  29 + –
  30 + Open selection
app/views/help/index.html.haml
@@ -25,6 +25,9 @@ @@ -25,6 +25,9 @@
25 = link_to "search bar", '#', onclick: "$('#search').focus();" 25 = link_to "search bar", '#', onclick: "$('#search').focus();"
26 on the top of this page 26 on the top of this page
27 %li 27 %li
  28 + Use
  29 + = link_to "shortcuts", '#', onclick: "new Shortcuts()"
  30 + %li
28 Ask in our 31 Ask in our
29 = link_to "mailing list", "https://groups.google.com/forum/#!forum/gitlabhq" 32 = link_to "mailing list", "https://groups.google.com/forum/#!forum/gitlabhq"
30 or on 33 or on
@@ -32,6 +35,7 @@ @@ -32,6 +35,7 @@
32 %li 35 %li
33 Browse our 36 Browse our
34 = link_to "issue tracker", "https://github.com/gitlabhq/gitlabhq/issues" 37 = link_to "issue tracker", "https://github.com/gitlabhq/gitlabhq/issues"
  38 +
35 .span4 39 .span4
36 .ui-box 40 .ui-box
37 .title 41 .title