2020-05-08 06:09:40 +00:00
|
|
|
- if domain_presenter.enabled?
|
|
|
|
- if domain_presenter.auto_ssl_enabled
|
|
|
|
- if domain_presenter.show_auto_ssl_failed_warning?
|
2020-04-14 21:09:52 +00:00
|
|
|
.form-group.border-section.js-shown-if-auto-ssl{ class: ("d-none" unless auto_ssl_available_and_enabled) }
|
|
|
|
.row
|
|
|
|
.col-sm-10.offset-sm-2
|
|
|
|
.bs-callout.bs-callout-warning.mt-0
|
|
|
|
.row.align-items-center.mx-2
|
2020-10-29 15:09:12 +00:00
|
|
|
= sprite_icon('warning-solid', css_class: ' mr-2 gl-text-orange-600')
|
2020-04-14 21:09:52 +00:00
|
|
|
= _("Something went wrong while obtaining the Let's Encrypt certificate.")
|
|
|
|
.row.mx-0.mt-3
|
2021-04-10 03:09:09 +00:00
|
|
|
= link_to s_('GitLabPagesDomains|Retry'), retry_auto_ssl_project_pages_domain_path(@project, domain_presenter), class: "gl-button btn btn-default btn-sm btn-grouped", method: :post
|
2020-05-08 06:09:40 +00:00
|
|
|
- elsif !domain_presenter.certificate_gitlab_provided?
|
2020-04-14 21:09:52 +00:00
|
|
|
.form-group.border-section.js-shown-if-auto-ssl{ class: ("d-none" unless auto_ssl_available_and_enabled) }
|
|
|
|
.row
|
|
|
|
.col-sm-10.offset-sm-2
|
|
|
|
.bs-callout.bs-callout-info.mt-0
|
|
|
|
= _("GitLab is obtaining a Let's Encrypt SSL certificate for this domain. This process can take some time. Please try again later.")
|
2019-11-15 18:06:24 +00:00
|
|
|
- else
|
|
|
|
.form-group.border-section.js-shown-if-auto-ssl{ class: ("d-none" unless auto_ssl_available_and_enabled) }
|
|
|
|
.row
|
|
|
|
.col-sm-10.offset-sm-2
|
|
|
|
.bs-callout.bs-callout-warning.mt-0
|
|
|
|
= _("A Let's Encrypt SSL certificate can not be obtained until your domain is verified.")
|