Subscribers don't need to be enabled to send emails. Closes #1994
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
<input type="text" name="occurred_at" class="form-control" rel="datepicker-custom" data-date-format="YYYY-MM-DD HH:mm" placeholder="{{ trans('forms.optional') }}">
|
||||
</div>
|
||||
<input type="hidden" name="notify" value="0">
|
||||
@if(subscribers_enabled())
|
||||
@if($enable_subscribers)
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="notify" value="1" checked="{{ Binput::old('notify', 'checked') }}">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<span class="uppercase">
|
||||
<i class="ion ion-ios-email-outline"></i> {{ trans('dashboard.subscribers.subscribers') }}
|
||||
</span>
|
||||
@if($current_user->isAdmin && subscribers_enabled())
|
||||
@if($current_user->isAdmin && $enable_subscribers)
|
||||
<a class="btn btn-md btn-success pull-right" href="{{ cachet_route('dashboard.subscribers.create') }}">
|
||||
{{ trans('dashboard.subscribers.add.title') }}
|
||||
</a>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<li>
|
||||
<a class="btn btn-link" href="{{ cachet_route('feed.atom') }}">{{ trans('cachet.atom-feed') }}</a>
|
||||
</li>
|
||||
@if(subscribers_enabled())
|
||||
@if($enable_subscribers)
|
||||
<li>
|
||||
<a class="btn btn-success btn-outline" href="{{ cachet_route('subscribe') }}">{{ trans('cachet.subscriber.button') }}</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user