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
|
|
|
|
= icon('warning', class: 'mr-2')
|
|
|
|
= _("Something went wrong while obtaining the Let's Encrypt certificate.")
|
|
|
|
.row.mx-0.mt-3
|
2020-05-08 06:09:40 +00:00
|
|
|
= link_to s_('GitLabPagesDomains|Retry'), retry_auto_ssl_project_pages_domain_path(@project, domain_presenter), class: "btn btn-sm btn-grouped btn-warning", method: :post
|
|
|
|
- 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.")
|