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
|
2021-01-29 00:20:46 +05:30
|
|
|
.gl-alert.gl-alert-warning
|
2018-05-09 12:01:36 +05:30
|
|
|
.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-10-24 23:57:45 +05:30
|
|
|
= form_for [@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
|
2021-04-17 20:07:23 +05:30
|
|
|
= f.submit _('Save Changes'), class: "gl-button btn btn-confirm"
|
|
|
|
= link_to _('Cancel'), project_pages_path(@project), class: 'gl-button btn btn-default btn-inverse'
|