7f8a520f8a
Rename btn-new, btn-create and btn-save to btn-success Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
26 lines
806 B
Text
26 lines
806 B
Text
- page_title 'Pages'
|
|
|
|
%h3.page-title.with-button
|
|
Pages
|
|
|
|
- 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-success float-right', title: 'New Domain' do
|
|
New Domain
|
|
|
|
%p.light
|
|
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.
|
|
|
|
- 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'
|