mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Added toggle for the emailOnlyPosts
flag
closes https://github.com/TryGhost/Team/issues/902 - Toggle will control the `emailOnlyPosts` labs flag enabling "email-only posts" feature
This commit is contained in:
parent
db092be00c
commit
55785d0958
2 changed files with 15 additions and 1 deletions
|
@ -60,6 +60,7 @@ export default Service.extend({
|
|||
featureImgDragDrop: feature('featureImgDragDrop', {developer: true}),
|
||||
oauthLogin: feature('oauthLogin', {developer: true}),
|
||||
checkEmailList: feature('checkEmailList', {developer: true}),
|
||||
emailOnlyPosts: feature('emailOnlyPosts', {developer: true}),
|
||||
|
||||
_user: null,
|
||||
|
||||
|
|
|
@ -310,7 +310,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Check Email</h4>
|
||||
|
@ -323,6 +323,19 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Email-only posts</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Enable posts visible only in email
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="emailOnlyPosts" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Reference in a new issue