Add setting for status page URL (#23390)

This commit is contained in:
Eugen Rochko
2023-02-04 04:56:06 +01:00
committed by GitHub
parent 01584f03e8
commit 8f590b0a21
8 changed files with 25 additions and 5 deletions

View File

@ -26,6 +26,9 @@
.fields-row__column.fields-row__column-6.fields-group
= f.input :show_domain_blocks_rationale, wrapper: :with_label, collection: %i(disabled users all), label_method: lambda { |value| t("admin.settings.domain_blocks.#{value}") }, include_blank: false, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li'
.fields-group
= f.input :status_page_url, wrapper: :with_block_label, input_html: { placeholder: "https://status.#{Rails.configuration.x.local_domain}" }
.fields-group
= f.input :site_terms, wrapper: :with_block_label, as: :text, input_html: { rows: 8 }