2016-02-15 14:01:42 +00:00
|
|
|
- page_title 'Pages'
|
2017-03-07 21:59:06 +00:00
|
|
|
|
2018-04-06 08:22:57 +00:00
|
|
|
%h3.page-title.with-button
|
2016-02-14 20:22:44 +00:00
|
|
|
Pages
|
2016-02-09 17:06:55 +00:00
|
|
|
|
2016-02-19 14:11:26 +00:00
|
|
|
- if can?(current_user, :update_pages, @project) && (Gitlab.config.pages.external_http || Gitlab.config.pages.external_https)
|
2018-04-09 17:42:45 +00:00
|
|
|
= link_to new_project_pages_domain_path(@project), class: 'btn btn-new float-right', title: 'New Domain' do
|
2016-02-14 20:22:44 +00:00
|
|
|
New Domain
|
2016-02-10 14:06:31 +00:00
|
|
|
|
2016-02-14 20:22:44 +00:00
|
|
|
%p.light
|
2016-02-15 14:01:42 +00:00
|
|
|
With GitLab Pages you can host your static websites on GitLab.
|
2016-02-14 20:22:44 +00: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.
|
|
|
|
|
2018-01-03 08:07:03 +00:00
|
|
|
- if Gitlab.config.pages.external_https
|
|
|
|
= render 'https_only'
|
|
|
|
|
2016-02-14 20:22:44 +00:00
|
|
|
%hr.clearfix
|
|
|
|
|
2017-04-07 03:27:35 +00:00
|
|
|
= render 'access'
|
|
|
|
= render 'use'
|
|
|
|
- if Gitlab.config.pages.external_http || Gitlab.config.pages.external_https
|
|
|
|
= render 'list'
|
2016-02-14 20:22:44 +00:00
|
|
|
- else
|
2017-04-07 03:27:35 +00:00
|
|
|
= render 'no_domains'
|
|
|
|
= render 'destroy'
|