mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Added flag for newsletter paywall feature (#2430)
refs https://github.com/TryGhost/Team/issues/1680
This commit is contained in:
parent
b5b88e7c5e
commit
47fa59ea72
@ -59,6 +59,7 @@ export default class FeatureService extends Service {
|
||||
@feature('urlCache') urlCache;
|
||||
@feature('beforeAfterCard') beforeAfterCard;
|
||||
@feature('comments') comments;
|
||||
@feature('newsletterPaywall') newsletterPaywall;
|
||||
|
||||
_user = null;
|
||||
|
||||
|
@ -226,6 +226,19 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Newsletter Paywall</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Extends public preview card for newsletters
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="newsletterPaywall" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user