From c516295bb8f6d72312eae4a67d14e904ec1fa4f2 Mon Sep 17 00:00:00 2001 From: Pascal Breuer Date: Mon, 11 May 2020 17:51:10 +0200 Subject: Add config option to disable incident history --- static/admin/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'static/admin/config.yml') diff --git a/static/admin/config.yml b/static/admin/config.yml index 98a6059..2d35ab3 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -193,6 +193,12 @@ collections: min: 1 max: 100 default: 10 + # Incidents history + - label: 'Should the incident history be enabled?' + name: 'incidentHistoryFormat' + hint: 'This also disables the RSS feed.' + widget: 'boolean' + default: true # Incidents view format - label: 'Should the incident history be sorted by year or month?' name: 'incidentHistoryFormat' -- cgit v1.2.3-70-g09d2 From ff4731c733fc7ac5ca164670ee851532074e8b7c Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com> Date: Mon, 18 May 2020 20:28:17 +0300 Subject: fix value --- static/admin/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'static/admin/config.yml') diff --git a/static/admin/config.yml b/static/admin/config.yml index 2d35ab3..c1c3507 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -194,9 +194,9 @@ collections: max: 100 default: 10 # Incidents history - - label: 'Should the incident history be enabled?' - name: 'incidentHistoryFormat' - hint: 'This also disables the RSS feed.' + - label: 'Should the incident history be shown?' + name: 'enableIncidentHistory' + hint: 'By disabling the incident history, you also disabl the RSS feed. To ensure no incidents are shown, you should delete them after they are resolved. This ootion overrides any other options that tailor your incident history’s look.' widget: 'boolean' default: true # Incidents view format -- cgit v1.2.3-70-g09d2 From 7db76cc6fd2f19c2d48f33ce2d010e1d2d67ef2a Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com> Date: Mon, 18 May 2020 20:33:15 +0300 Subject: Typos --- static/admin/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/admin/config.yml') diff --git a/static/admin/config.yml b/static/admin/config.yml index c1c3507..0eb6f48 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -196,7 +196,7 @@ collections: # Incidents history - label: 'Should the incident history be shown?' name: 'enableIncidentHistory' - hint: 'By disabling the incident history, you also disabl the RSS feed. To ensure no incidents are shown, you should delete them after they are resolved. This ootion overrides any other options that tailor your incident history’s look.' + hint: 'By disabling the incident history, you also disable the RSS feed. To ensure no incidents are shown, you should delete them after they are resolved. This option overrides any other options that tailor your incident history’s look.' widget: 'boolean' default: true # Incidents view format -- cgit v1.2.3-70-g09d2 From 50d99f38b5fffdf22c5c229a9b2540928244282f Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com> Date: Tue, 19 May 2020 11:59:23 +0300 Subject: Update config.yml --- static/admin/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'static/admin/config.yml') diff --git a/static/admin/config.yml b/static/admin/config.yml index 0eb6f48..87e00c4 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -194,11 +194,11 @@ collections: max: 100 default: 10 # Incidents history - - label: 'Should the incident history be shown?' - name: 'enableIncidentHistory' + - label: 'Should the incident history be hidden?' + name: 'disableIncidentHistory' hint: 'By disabling the incident history, you also disable the RSS feed. To ensure no incidents are shown, you should delete them after they are resolved. This option overrides any other options that tailor your incident history’s look.' widget: 'boolean' - default: true + default: false # Incidents view format - label: 'Should the incident history be sorted by year or month?' name: 'incidentHistoryFormat' -- cgit v1.2.3-70-g09d2