Admin permision should override setting
enableSubscribers is used for Signup on the main dashboard, but cannot be forced for Admin on control
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<span class="uppercase">
|
||||
<i class="ion ion-ios-email-outline"></i> {{ trans('dashboard.subscribers.subscribers') }}
|
||||
</span>
|
||||
@if($currentUser->isAdmin && $enableSubscribers)
|
||||
@if($currentUser->isAdmin)
|
||||
<a class="btn btn-md btn-success pull-right" href="{{ cachet_route('dashboard.subscribers.create') }}">
|
||||
{{ trans('dashboard.subscribers.add.title') }}
|
||||
</a>
|
||||
@@ -19,11 +19,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<p class="lead">
|
||||
@if($enableSubscribers)
|
||||
{{ trans('dashboard.subscribers.description') }}
|
||||
@else
|
||||
{{ trans('dashboard.subscribers.description_disabled') }}
|
||||
@endif
|
||||
</p>
|
||||
|
||||
<div class="striped-list">
|
||||
|
||||
Reference in New Issue
Block a user