about summary refs log tree commit diff
path: root/app/views/admin/settings/about/show.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2023-02-04 04:56:06 +0100
committerGitHub <noreply@github.com>2023-02-04 04:56:06 +0100
commit8f590b0a211716bcbfc0f2278a452469f3346f55 (patch)
treea7c7bcebe085ed589dd2549ab536d80de8df2ebf /app/views/admin/settings/about/show.html.haml
parent01584f03e8159cbb7b411f33bd4f66f7131ce993 (diff)
Add setting for status page URL (#23390)
Diffstat (limited to 'app/views/admin/settings/about/show.html.haml')
-rw-r--r--app/views/admin/settings/about/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin/settings/about/show.html.haml b/app/views/admin/settings/about/show.html.haml
index 366d213f6..2aaa64abe 100644
--- a/app/views/admin/settings/about/show.html.haml
+++ b/app/views/admin/settings/about/show.html.haml
@@ -27,6 +27,9 @@
       = 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 }
 
   .actions