gitlab-org--gitlab-foss/app/views/projects/pages/show.html.haml

27 lines
802 B
Plaintext
Raw Normal View History

2016-02-15 14:01:42 +00:00
- page_title 'Pages'
%h3.page-title.with-button
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)
= link_to new_project_pages_domain_path(@project), class: 'btn btn-new float-right', title: 'New Domain' do
New Domain
%p.light
2016-02-15 14:01:42 +00:00
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.
2018-01-03 08:07:03 +00:00
- 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'