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

23 lines
1 KiB
Text
Raw Normal View History

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
2022-07-23 23:45:48 +05:30
= render Pajamas::AlertComponent.new(variant: :warning, dismissible: false) do |c|
= c.body do
.container-fluid.container-limited
= _("This domain is not verified. You will need to verify ownership before access is enabled.")
2017-08-17 22:00:37 +05:30
2022-07-23 23:45:48 +05:30
%h1.page-title.gl-font-size-h-display
2020-01-01 13:55:28 +05:30
= _('Pages Domain')
= render 'projects/pages_domains/helper_text'
%div
2023-03-04 22:38:38 +05:30
= gitlab_ui_form_for [@project, domain_presenter], html: { class: 'fieldset-form' } do |f|
2020-01-01 13:55:28 +05:30
= render 'form', { f: f }
2023-03-04 22:38:38 +05:30
.form-actions.gl-display-flex
= f.submit _('Save Changes'), class: 'gl-mr-3', pajamas_button: true
2021-04-17 20:07:23 +05:30
= link_to _('Cancel'), project_pages_path(@project), class: 'gl-button btn btn-default btn-inverse'