BigW Consortium Gitlab

show.html.haml 884 Bytes
Newer Older
1
- page_title 'Pages'
2 3
= render "projects/settings/head"

4 5
%h3.page_title
  Pages
6

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

12
%p.light
13
  With GitLab Pages you can host your static websites on GitLab.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
  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.

%hr.clearfix

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