index.html.haml 2.06 KB
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
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 6
  %hr

7 8 9 10 11 12 13 14 15
.gl-display-flex.gl-align-items-flex-end
  %h1.gl-mt-5.gl-mb-3
    = default_brand_title
    - if user_signed_in?
      %span= link_to_version
  - if show_version_check?
    %span.gl-mt-5.gl-mb-3.gl-ml-3
      .js-gitlab-version-check{ data: { "size": "lg" } }
%hr
16

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

nuwe1's avatar
nuwe1 committed
32
%p= link_to _('Check the current instance configuration '), help_instance_configuration_url
33
%hr
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
34

35
.row.gl-mt-3
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
36
  .col-md-8
37
    .documentation-index.md
38
      = markdown(@help_index)
39
  .col-md-4
40
    .card.links-card
41
      .card-header
nuwe1's avatar
nuwe1 committed
42
        = _('Quick help')
43
      %ul.content-list
44
        %li= link_to _('See our website for help'), support_url
45 46
        %li
          %button.btn-blank.btn-link.js-trigger-search-bar{ type: 'button' }
nuwe1's avatar
nuwe1 committed
47
            = _('Use the search bar on the top of this page')
48 49
        %li
          %button.btn-blank.btn-link.js-trigger-shortcut{ type: 'button' }
nuwe1's avatar
nuwe1 committed
50
            = _('Use shortcuts')
51
        - unless Gitlab::CurrentSettings.help_page_hide_commercial_content?
52 53
          %li= link_to _('Get a support subscription'), "https://#{ApplicationHelper.promo_host}/pricing/"
          %li= link_to _('Compare GitLab editions'), "https://#{ApplicationHelper.promo_host}/features/#compare"