1%div
2- if Gitlab::CurrentSettings.help_page_text.present?
3  .gl-mt-3.md
4    = markdown_field(Gitlab::CurrentSettings.current_application_settings, :help_page_text)
5  %hr
6
7%h1
8  = default_brand_title
9  - if user_signed_in?
10    %span= link_to_version
11    = version_status_badge
12  %hr
13
14- unless Gitlab::CurrentSettings.help_page_hide_commercial_content?
15  %p.slead
16    = _('GitLab is open source software to collaborate on code.')
17    %br
18    = _('Manage git repositories with fine-grained access controls that keep your code secure.')
19    %br
20    = _('Perform code reviews and enhance collaboration with merge requests.')
21    %br
22    = _('Each project can also have an issue tracker and a wiki.')
23    %br
24    = _('Used by more than 100,000 organizations, GitLab is the most popular solution to manage git repositories on-premises.')
25    %br
26    - link_to_promo = link_to(promo_host, promo_url, target: '_blank', rel: 'noopener noreferrer')
27    = _("Read more about GitLab at %{link_to_promo}.").html_safe % { link_to_promo: link_to_promo }
28
29%p= link_to _('Check the current instance configuration '), help_instance_configuration_url
30%hr
31
32.row.gl-mt-3
33  .col-md-8
34    .documentation-index.md
35      = markdown(@help_index)
36  .col-md-4
37    .card.links-card
38      .card-header
39        = _('Quick help')
40      %ul.content-list
41        %li= link_to _('See our website for help'), support_url
42        %li
43          %button.btn-blank.btn-link.js-trigger-search-bar{ type: 'button' }
44            = _('Use the search bar on the top of this page')
45        %li
46          %button.btn-blank.btn-link.js-trigger-shortcut{ type: 'button' }
47            = _('Use shortcuts')
48        - unless Gitlab::CurrentSettings.help_page_hide_commercial_content?
49          %li= link_to _('Get a support subscription'), "https://#{ApplicationHelper.promo_host}/pricing/"
50          %li= link_to _('Compare GitLab editions'), "https://#{ApplicationHelper.promo_host}/features/#compare"
51