2018-03-27 19:54:05 +05:30
|
|
|
- if @domain.errors.any?
|
2019-09-04 21:01:54 +05:30
|
|
|
.alert.alert-danger
|
|
|
|
- @domain.errors.full_messages.each do |msg|
|
|
|
|
= msg
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2019-12-26 22:10:19 +05:30
|
|
|
.form-group.border-section
|
|
|
|
.row
|
|
|
|
- if @domain.persisted?
|
|
|
|
.col-sm-2
|
|
|
|
= _("Domain")
|
2019-09-04 21:01:54 +05:30
|
|
|
.col-sm-10
|
2019-12-26 22:10:19 +05:30
|
|
|
= external_link(@domain.url, @domain.url)
|
|
|
|
- else
|
|
|
|
.col-sm-2
|
|
|
|
= f.label :domain, _("Domain")
|
2019-09-04 21:01:54 +05:30
|
|
|
.col-sm-10
|
2019-12-26 22:10:19 +05:30
|
|
|
.input-group
|
|
|
|
= f.text_field :domain, required: true, autocomplete: "off", class: "form-control"
|
2019-09-04 21:01:54 +05:30
|
|
|
|
2019-12-26 22:10:19 +05:30
|
|
|
- if @domain.persisted?
|
|
|
|
= render 'dns'
|
|
|
|
|
|
|
|
- if Gitlab.config.pages.external_https
|
|
|
|
= render 'certificate', f: f
|
2018-03-27 19:54:05 +05:30
|
|
|
- else
|
2019-12-26 22:10:19 +05:30
|
|
|
.border-section.nothing-here-block
|
2019-03-02 22:35:43 +05:30
|
|
|
= _("Support for custom certificates is disabled. Ask your system's administrator to enable it.")
|