Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.1 on 2022-01-26 at 16:00 UTC+1 (a few minutes of down time)

show.html.haml 809 Bytes
Newer Older
1
- page_title 'Pages'
2

3
4
%h3.page_title
  Pages
5

Kamil Trzcinski's avatar
Kamil Trzcinski committed
6
  - if can?(current_user, :update_pages, @project) && (Gitlab.config.pages.external_http || Gitlab.config.pages.external_https)
7
    = link_to new_project_pages_domain_path(@project), class: 'btn btn-new pull-right', title: 'New Domain' do
8
9
      %i.fa.fa-plus
      New Domain
10

11
%p.light
12
  With GitLab Pages you can host your static websites on GitLab.
13
14
15
  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.

Rob Watson's avatar
Rob Watson committed
16
17
18
- if Gitlab.config.pages.external_https
  = render 'https_only'

19
20
%hr.clearfix

21
22
23
24
= render 'access'
= render 'use'
- if Gitlab.config.pages.external_http || Gitlab.config.pages.external_https
  = render 'list'
25
- else
26
27
  = render 'no_domains'
= render 'destroy'