Show a different message when subscribers are disabled
This commit is contained in:
@@ -147,14 +147,15 @@ return [
|
|||||||
],
|
],
|
||||||
// Subscribers
|
// Subscribers
|
||||||
'subscribers' => [
|
'subscribers' => [
|
||||||
'subscribers' => 'Subscribers',
|
'subscribers' => 'Subscribers',
|
||||||
'description' => 'Subscribers will receive email updates when incidents are created or components are updated.',
|
'description' => 'Subscribers will receive email updates when incidents are created or components are updated.',
|
||||||
'verified' => 'Verified',
|
'description_disabled' => 'To use this feature, you need allow people to signup for notifications.',
|
||||||
'not_verified' => 'Not verified',
|
'verified' => 'Verified',
|
||||||
'subscriber' => ':email, subscribed :date',
|
'not_verified' => 'Not verified',
|
||||||
'no_subscriptions' => 'Subscribed to all updates',
|
'subscriber' => ':email, subscribed :date',
|
||||||
'global' => 'Globally subscribed',
|
'no_subscriptions' => 'Subscribed to all updates',
|
||||||
'add' => [
|
'global' => 'Globally subscribed',
|
||||||
|
'add' => [
|
||||||
'title' => 'Add a new subscriber',
|
'title' => 'Add a new subscriber',
|
||||||
'success' => 'Subscriber has been added!',
|
'success' => 'Subscriber has been added!',
|
||||||
'failure' => 'Something went wrong adding the subscriber, please try again.',
|
'failure' => 'Something went wrong adding the subscriber, please try again.',
|
||||||
|
|||||||
@@ -18,7 +18,13 @@
|
|||||||
<div class="content-wrapper header-fixed">
|
<div class="content-wrapper header-fixed">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<p class="lead">{{ trans('dashboard.subscribers.description') }}</p>
|
<p class="lead">
|
||||||
|
@if($enable_subscribers)
|
||||||
|
{{ trans('dashboard.subscribers.description') }}
|
||||||
|
@else
|
||||||
|
{{ trans('dashboard.subscribers.description_disabled') }}
|
||||||
|
@endif
|
||||||
|
</p>
|
||||||
|
|
||||||
<div class="striped-list">
|
<div class="striped-list">
|
||||||
@foreach($subscribers as $subscriber)
|
@foreach($subscribers as $subscriber)
|
||||||
|
|||||||
Reference in New Issue
Block a user