mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
✨ Allowed setting expiry for complimentary subscriptions
closes https://github.com/TryGhost/Team/issues/1727 - allows site owners to give cardless free trials to members by setting expiry on complimentary subscriptions - also allows complimentary members to upgrade as paid member
This commit is contained in:
parent
326bb97d2c
commit
968380132b
@ -226,19 +226,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Cardless trials</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Add support for expiring complimentary subscriptions
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="compExpiring" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
|
@ -16,7 +16,8 @@ const messages = {
|
||||
// flags in this list always return `true`, allows quick global enable prior to full flag removal
|
||||
const GA_FEATURES = [
|
||||
'newsletterPaywall',
|
||||
'freeTrial'
|
||||
'freeTrial',
|
||||
'compExpiring'
|
||||
];
|
||||
|
||||
// NOTE: this allowlist is meant to be used to filter out any unexpected
|
||||
@ -30,8 +31,7 @@ const ALPHA_FEATURES = [
|
||||
'urlCache',
|
||||
'beforeAfterCard',
|
||||
'memberAttribution',
|
||||
'searchHelper',
|
||||
'compExpiring'
|
||||
'searchHelper'
|
||||
];
|
||||
|
||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||
|
Loading…
Reference in New Issue
Block a user