Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.html.haml « pages « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e1a3b9bea6c5a5aa51be5dca58c5ecb6c7b7392 (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
- page_title 'Pages'

%h3.page-title.with-button
  Pages

  - if can?(current_user, :update_pages, @project) && (Gitlab.config.pages.external_http || Gitlab.config.pages.external_https)
    = link_to new_project_pages_domain_path(@project), class: 'btn btn-new float-right', title: 'New Domain' do
      New Domain

%p.light
  With GitLab Pages you can host your static websites on GitLab.
  Combined with the power of GitLab CI and the help of GitLab Runner
  you can deploy static pages for your individual projects, your user or your group.

- if Gitlab.config.pages.external_https
  = render 'https_only'

%hr.clearfix

= render 'access'
= render 'use'
- if Gitlab.config.pages.external_http || Gitlab.config.pages.external_https
  = render 'list'
- else
  = render 'no_domains'
= render 'destroy'