Add setting to suppress notifications in maintenance mode
This commit is contained in:
@@ -33,6 +33,19 @@ return [
|
||||
|
||||
'enable_subscribers' => true,
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Suppress notifications while in maintenance
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Whether to suppress notification channels when an issue is created during
|
||||
| planned or in-progress maintenance periods.
|
||||
|
|
||||
*/
|
||||
|
||||
'suppress_notifications_in_maintenance' => true,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Automatic Localization
|
||||
|
||||
@@ -155,6 +155,7 @@ return [
|
||||
'banner' => 'Banner Image',
|
||||
'banner-help' => "It's recommended that you upload files no bigger than 930px wide .",
|
||||
'subscribers' => 'Allow people to signup to email notifications?',
|
||||
'suppress_notifications_in_maintenance' => 'Suppress notifications when incident occurs during maintenance period?',
|
||||
'skip_subscriber_verification' => 'Skip verifying of users? (Be warned, you could be spammed)',
|
||||
'automatic_localization' => 'Automatically localise your status page to your visitor\'s language?',
|
||||
'enable_external_dependencies' => 'Enable Third Party Dependencies (Google Fonts, Trackers, etc...)',
|
||||
|
||||
@@ -68,6 +68,17 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="hidden" value="0" name="suppress_notifications_in_maintenance">
|
||||
<input type="checkbox" value="1" name="suppress_notifications_in_maintenance" {{ Config::get('setting.suppress_notifications_in_maintenance') ? 'checked' : null }}>
|
||||
{{ trans('forms.settings.app-setup.suppress_notifications_in_maintenance') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="checkbox">
|
||||
|
||||
Reference in New Issue
Block a user