Fixes #2542
This commit is contained in:
@@ -153,6 +153,7 @@ return [
|
||||
'not_verified' => 'Not verified',
|
||||
'subscriber' => ':email, subscribed :date',
|
||||
'no_subscriptions' => 'Subscribed to all updates',
|
||||
'global' => 'Globally subscribed',
|
||||
'add' => [
|
||||
'title' => 'Add a new subscriber',
|
||||
'success' => 'Subscriber has been added!',
|
||||
|
||||
@@ -34,7 +34,9 @@
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
@if($subscriber->subscriptions->count() > 0)
|
||||
@if($subscriber->global)
|
||||
<p>{{ trans('dashboard.subscribers.global') }}</p>
|
||||
@elseif($subscriber->subscriptions->isNotEmpty())
|
||||
{!! $subscriber->subscriptions->map(function ($subscription) {
|
||||
return sprintf('<span class="label label-primary">%s</span>', $subscription->component->name);
|
||||
})->implode(' ') !!}
|
||||
|
||||
Reference in New Issue
Block a user