mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Added feature flag for email alerts
refs https://github.com/TryGhost/Team/issues/1826 - adds alpha flag for setting up email alerts for staff users
This commit is contained in:
parent
7e3b8ff404
commit
7182ee0e85
3 changed files with 16 additions and 1 deletions
|
@ -64,6 +64,7 @@ export default class FeatureService extends Service {
|
|||
@feature('compExpiring') compExpiring;
|
||||
@feature('memberAttribution') memberAttribution;
|
||||
@feature('searchHelper') searchHelper;
|
||||
@feature('emailAlerts') emailAlerts;
|
||||
|
||||
_user = null;
|
||||
|
||||
|
|
|
@ -252,6 +252,19 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Email alerts</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Receive email notifications when somebody signs up, becomes paid, or cancels subscription
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="emailAlerts" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -31,7 +31,8 @@ const ALPHA_FEATURES = [
|
|||
'auditLog',
|
||||
'urlCache',
|
||||
'beforeAfterCard',
|
||||
'memberAttribution'
|
||||
'memberAttribution',
|
||||
'emailAlerts'
|
||||
];
|
||||
|
||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||
|
|
Loading…
Add table
Reference in a new issue