debian-mirror-gitlab/app/views/projects/pages/show.html.haml

24 lines
878 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- page_title 'Pages'
2018-05-09 12:01:36 +05:30
%h3.page-title.with-button
2019-12-21 20:55:43 +05:30
= s_('GitLabPages|Pages')
2017-08-17 22:00:37 +05:30
- if can?(current_user, :update_pages, @project) && (Gitlab.config.pages.external_http || Gitlab.config.pages.external_https)
2019-12-21 20:55:43 +05:30
= link_to new_project_pages_domain_path(@project), class: 'btn btn-success float-right', title: s_('GitLabPages|New Domain') do
= s_('GitLabPages|New Domain')
2017-08-17 22:00:37 +05:30
%p.light
2019-12-21 20:55:43 +05:30
= s_('GitLabPages|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-05-09 12:01:36 +05:30
- if Gitlab.config.pages.external_https
= render 'https_only'
2017-08-17 22:00:37 +05:30
%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'