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

Connor Shea's avatar
Connor Shea committed
6 7 8 9
%h1
  GitLab
  Community Edition
  - if user_signed_in?
10 11
    %span= Gitlab::VERSION + '-thm'
    %small= link_to Gitlab.revision, namespace_project_commits_path('projects.thm.de', 'gitlab', Gitlab.revision)
Connor Shea's avatar
Connor Shea committed
12
  %hr
13

14
- unless Gitlab::CurrentSettings.help_page_hide_commercial_content?
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.
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
    %p= link_to 'Check the current instance configuration ', help_instance_configuration_url
28
  %hr
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
29

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