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

22 lines
901 B
Text
Raw Normal View History

2019-03-02 22:35:43 +05:30
- add_to_breadcrumbs _("Pages"), project_pages_path(@project)
2018-03-27 19:54:05 +05:30
- breadcrumb_title @domain.domain
2020-01-01 13:55:28 +05:30
- page_title @domain.domain
2018-03-27 19:54:05 +05:30
2018-03-17 18:26:18 +05:30
- verification_enabled = Gitlab::CurrentSettings.pages_domain_verification_enabled?
2018-05-09 12:01:36 +05:30
2018-03-17 18:26:18 +05:30
- if verification_enabled && @domain.unverified?
2018-05-09 12:01:36 +05:30
= content_for :flash_message do
.alert.alert-warning
.container-fluid.container-limited
2019-03-02 22:35:43 +05:30
= _("This domain is not verified. You will need to verify ownership before access is enabled.")
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
%h3.page-title
= _('Pages Domain')
= render 'projects/pages_domains/helper_text'
%div
= form_for [@project.namespace.becomes(Namespace), @project, @domain], html: { class: 'fieldset-form' } do |f|
= render 'form', { f: f }
.form-actions.d-flex.justify-content-between
= f.submit _('Save Changes'), class: "btn btn-success"
= link_to _('Cancel'), project_pages_path(@project), class: 'btn btn-default btn-inverse'