summaryrefslogtreecommitdiff
path: root/app/views/help/index.html.haml
blob: 6a5133a2e935dea27537d71da07105e9873c2cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
%div
  %h1
    GitLab
    社区版
    - if user_signed_in?
      %span= Gitlab::VERSION
      %small= Gitlab::REVISION
      = version_status_badge
  %p.slead
    GitLab 是用于代码协作的开源软件。
    %br
    Manage git repositories with fine-grained access controls that keep your code secure.
    %br
    Perform code reviews and enhance collaboration with merge requests.
    %br
    Each project can also have an issue tracker and a wiki.
    %br
    Used by more than 100,000 organizations, GitLab is the most popular solution to manage git repositories on-premises.
    %br
    了解 Gitlab 更多内容请访问 #{link_to promo_host, promo_url, target: '_blank'}。
    %br
    需要改进中文翻译,比如将上面的大段英文和下面的文档翻译,请#{link_to '派生 https://gitlab.com/larryli/gitlab 项目', 'https://gitlab.com/larryli/gitlab/fork/new'},
    修改文件后提交#{link_to '合并请求', 'https://gitlab.com/larryli/gitlab/merge_requests/new'}。
    - if current_application_settings.help_page_text.present?
      %hr
      = markdown(current_application_settings.help_page_text)

%hr

.row
  .col-md-8
    .documentation-index
      = preserve do
        = markdown(@help_index)
  .col-md-4
    .panel.panel-default
      .panel-heading
        快速帮助
      %ul.well-list
        %li= link_to '查看我们的网站获取帮助', promo_url + '/getting-help/'
        %li= link_to '使用页面顶部的搜索功能', '#', onclick: 'Shortcuts.focusSearch(event)'
        %li= link_to '键盘快捷键', '#', onclick: 'Shortcuts.showHelp(event)'
        %li= link_to '获取技术支持订阅', 'https://about.gitlab.com/pricing/'
        %li= link_to '比较 GitLab 版本', 'https://about.gitlab.com/features/#compare'