From b8c3f9a628d6830282743b4b419aaf4c37e060e9 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 9 Jul 2013 18:34:44 +0300 Subject: [PATCH] Extend shortcuts list modal. Mention it at help page --- app/views/help/_shortcuts.html.haml | 16 ++++++++++++++++ app/views/help/index.html.haml | 4 ++++ 2 files changed, 20 insertions(+), 0 deletions(-) diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml index 793cb45..e979e7c 100644 --- a/app/views/help/_shortcuts.html.haml +++ b/app/views/help/_shortcuts.html.haml @@ -12,3 +12,19 @@ %span.label.label-inverse ? – Show this dialog + + %h5 Project Files browsing + %p + %span.label.label-inverse + %i.icon-arrow-up + – + Move selection up + %p + %span.label.label-inverse + %i.icon-arrow-down + – + Move selection down + %p + %span.label.label-inverse Enter + – + Open selection diff --git a/app/views/help/index.html.haml b/app/views/help/index.html.haml index 80ddc05..6529da7 100644 --- a/app/views/help/index.html.haml +++ b/app/views/help/index.html.haml @@ -25,6 +25,9 @@ = link_to "search bar", '#', onclick: "$('#search').focus();" on the top of this page %li + Use + = link_to "shortcuts", '#', onclick: "new Shortcuts()" + %li Ask in our = link_to "mailing list", "https://groups.google.com/forum/#!forum/gitlabhq" or on @@ -32,6 +35,7 @@ %li Browse our = link_to "issue tracker", "https://github.com/gitlabhq/gitlabhq/issues" + .span4 .ui-box .title -- libgit2 0.21.2