0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Moved the gated email card feature behing an alpha flag

issue https://github.com/TryGhost/Team/issues/842
This commit is contained in:
Thibaut Patel 2021-07-02 12:14:49 +02:00
parent 121bdd6f90
commit a07b40440d
2 changed files with 14 additions and 0 deletions

View file

@ -56,6 +56,7 @@ export default Service.extend({
matchHelper: feature('matchHelper'),
multipleProducts: feature('multipleProducts', {developer: true}),
psmRedesign: feature('psmRedesign', {developer: true}),
emailCardSegments: feature('emailCardSegments', {developer: true}),
_user: null,

View file

@ -280,6 +280,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Gated content in emails</h4>
<p class="gh-expandable-description">
Experimental feature to gate email card only to free/paid members.
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="emailCardSegments" />
</div>
</div>
</div>
</div>
</div>
{{/if}}