mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Put email post toggle behind members feature flag
This commit is contained in:
parent
7866546fab
commit
6419222f31
2 changed files with 15 additions and 11 deletions
|
@ -1,8 +1,10 @@
|
||||||
import Component from '@ember/component';
|
import Component from '@ember/component';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import {isEmpty} from '@ember/utils';
|
import {isEmpty} from '@ember/utils';
|
||||||
|
import {inject as service} from '@ember/service';
|
||||||
|
|
||||||
export default Component.extend({
|
export default Component.extend({
|
||||||
|
feature: service(),
|
||||||
|
|
||||||
post: null,
|
post: null,
|
||||||
saveType: null,
|
saveType: null,
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
<div class="gh-publishmenu-radio-desc">Set automatic future publish date</div>
|
<div class="gh-publishmenu-radio-desc">Set automatic future publish date</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{#if this.feature.labs.members}}
|
||||||
<div class="flex mb4">
|
<div class="flex mb4">
|
||||||
<div class="for-switch mr3">
|
<div class="for-switch mr3">
|
||||||
<label class="switch" for="email-when-published-checkbox">
|
<label class="switch" for="email-when-published-checkbox">
|
||||||
|
@ -36,4 +37,5 @@
|
||||||
<div class="gh-publishmenu-radio-desc">Send email when published</div>
|
<div class="gh-publishmenu-radio-desc">Send email when published</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{/if}}
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Add table
Reference in a new issue