diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-12-21 09:42:28 -0600 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-12-21 09:42:28 -0600 |
commit | c46f7b2a2620a5b90003b40727bb3c1705dd1a0f (patch) | |
tree | 5808b9617af781c8cfb614d11540bdefc872851e /app/views/help/index.html.haml | |
parent | 0e50e9d9d48752a58b640064075f7786f86e7433 (diff) | |
parent | 450317298ce177722b721353a0161d4347536120 (diff) | |
download | gitlab-ce-c46f7b2a2620a5b90003b40727bb3c1705dd1a0f.tar.gz |
Merge branch 'master' into fix-webpack-chunk-naming
Diffstat (limited to 'app/views/help/index.html.haml')
-rw-r--r-- | app/views/help/index.html.haml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/views/help/index.html.haml b/app/views/help/index.html.haml index 021de4f0caf..b8692009225 100644 --- a/app/views/help/index.html.haml +++ b/app/views/help/index.html.haml @@ -1,3 +1,5 @@ += webpack_bundle_tag 'docs' + %div - if current_application_settings.help_page_text.present? = markdown_field(current_application_settings, :help_page_text) @@ -37,8 +39,12 @@ Quick help %ul.well-list %li= link_to 'See our website for getting help', support_url - %li= link_to 'Use the search bar on the top of this page', '#', onclick: 'Shortcuts.focusSearch(event)' - %li= link_to 'Use shortcuts', '#', onclick: 'Shortcuts.toggleHelp()' + %li + %button.btn-blank.btn-link.js-trigger-search-bar{ type: 'button' } + Use the search bar on the top of this page + %li + %button.btn-blank.btn-link.js-trigger-shortcut{ type: 'button' } + Use shortcuts - unless current_application_settings.help_page_hide_commercial_content? %li= link_to 'Get a support subscription', 'https://about.gitlab.com/pricing/' %li= link_to 'Compare GitLab editions', 'https://about.gitlab.com/features/#compare' |