index.html.haml 1.75 KB
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
%div
2
- if Gitlab::CurrentSettings.help_page_text.present?
3 4
  .prepend-top-default.md
    = markdown_field(Gitlab::CurrentSettings.current_application_settings, :help_page_text)
5 6
  %hr

Connor Shea's avatar
Connor Shea committed
7
%h1
8
  = default_brand_title
Connor Shea's avatar
Connor Shea committed
9
  - if user_signed_in?
10
    %span= link_to_version
Connor Shea's avatar
Connor Shea committed
11 12
    = version_status_badge
  %hr
13

14
- unless Gitlab::CurrentSettings.help_page_hide_commercial_content?
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
15 16 17
  %p.slead
    GitLab is open source software to collaborate on code.
    %br
18
    Manage git repositories with fine-grained access controls that keep your code secure.
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
19
    %br
20 21 22 23
    Perform code reviews and enhance collaboration with merge requests.
    %br
    Each project can also have an issue tracker and a wiki.
    %br
dosire's avatar
dosire committed
24
    Used by more than 100,000 organizations, GitLab is the most popular solution to manage git repositories on-premises.
25
    %br
26
    Read more about GitLab at #{link_to promo_host, promo_url, target: '_blank', rel: 'noopener noreferrer'}.
27 28 29

%p= link_to 'Check the current instance configuration ', help_instance_configuration_url
%hr
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
30

31
.row.prepend-top-default
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
32
  .col-md-8
33
    .documentation-index.md
34
      = markdown(@help_index)
35
  .col-md-4
36
    .card.links-card
37
      .card-header
38
        Quick help
39
      %ul.content-list
40
        %li= link_to 'See our website for getting help', support_url
41 42 43 44 45 46
        %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
47
        - unless Gitlab::CurrentSettings.help_page_hide_commercial_content?
48 49
          %li= link_to 'Get a support subscription', 'https://about.gitlab.com/pricing/'
          %li= link_to 'Compare GitLab editions', 'https://about.gitlab.com/features/#compare'