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">
|
<span class="uppercase">
|
||||||
<i class="ion ion-ios-email-outline"></i> {{ trans('dashboard.subscribers.subscribers') }}
|
<i class="ion ion-ios-email-outline"></i> {{ trans('dashboard.subscribers.subscribers') }}
|
||||||
</span>
|
</span>
|
||||||
@if($currentUser->isAdmin && $enableSubscribers)
|
@if($currentUser->isAdmin)
|
||||||
<a class="btn btn-md btn-success pull-right" href="{{ cachet_route('dashboard.subscribers.create') }}">
|
<a class="btn btn-md btn-success pull-right" href="{{ cachet_route('dashboard.subscribers.create') }}">
|
||||||
{{ trans('dashboard.subscribers.add.title') }}
|
{{ trans('dashboard.subscribers.add.title') }}
|
||||||
</a>
|
</a>
|
||||||
@@ -19,11 +19,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<p class="lead">
|
<p class="lead">
|
||||||
@if($enableSubscribers)
|
|
||||||
{{ trans('dashboard.subscribers.description') }}
|
{{ trans('dashboard.subscribers.description') }}
|
||||||
@else
|
|
||||||
{{ trans('dashboard.subscribers.description_disabled') }}
|
|
||||||
@endif
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="striped-list">
|
<div class="striped-list">
|
||||||
|
|||||||
Reference in New Issue
Block a user