2019-03-02 22:35:43 +05:30
|
|
|
- add_to_breadcrumbs _("Pages"), project_pages_path(@project)
|
2020-05-24 23:13:21 +05:30
|
|
|
- breadcrumb_title domain_presenter.domain
|
|
|
|
- page_title domain_presenter.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
|
|
|
|
2020-05-24 23:13:21 +05:30
|
|
|
- if verification_enabled && domain_presenter.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
|
2020-05-24 23:13:21 +05:30
|
|
|
= form_for [@project.namespace.becomes(Namespace), @project, domain_presenter], html: { class: 'fieldset-form' } do |f|
|
2020-01-01 13:55:28 +05:30
|
|
|
= 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'
|