2016-02-15 09:01:42 -05:00
|
|
|
- page_title 'Pages'
|
2017-03-07 16:59:06 -05:00
|
|
|
= render "projects/settings/head"
|
|
|
|
|
2016-02-14 15:22:44 -05:00
|
|
|
%h3.page_title
|
|
|
|
Pages
|
2016-02-09 12:06:55 -05:00
|
|
|
|
2016-02-19 09:11:26 -05:00
|
|
|
- if can?(current_user, :update_pages, @project) && (Gitlab.config.pages.external_http || Gitlab.config.pages.external_https)
|
2016-02-15 09:01:42 -05:00
|
|
|
= link_to new_namespace_project_pages_domain_path(@project.namespace, @project), class: 'btn btn-new pull-right', title: 'New Domain' do
|
2016-02-14 15:22:44 -05:00
|
|
|
%i.fa.fa-plus
|
|
|
|
New Domain
|
2016-02-10 09:06:31 -05:00
|
|
|
|
2016-02-14 15:22:44 -05:00
|
|
|
%p.light
|
2016-02-15 09:01:42 -05:00
|
|
|
With GitLab Pages you can host your static websites on GitLab.
|
2016-02-14 15:22:44 -05:00
|
|
|
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'
|