Updated wording on unsubscribe confirmation with paid conditional

refs https://github.com/TryGhost/Team/issues/1228

- We were displaying a message referencing paid subscriptions to all users, which was causing confusion
- We don't have the `member.paid` flag in this context, so we use the match helper on member.status not free
This commit is contained in:
Matt Hanley 2022-02-02 12:31:38 +00:00
parent ca2b078fcf
commit 6d4538cc2b

View File

@ -42,8 +42,10 @@
{{#if member}} {{#if member}}
<p> <p>
<span class="gh-flow-em">{{member.email}}</span> has been successfully unsubscribed from emails. <span class="gh-flow-em">{{member.email}}</span> has been successfully unsubscribed from emails.
{{#match member.status "!=" "free"}}
<br> <br>
Don't worry, this will not cancel your paid subscription to {{@site.title}}. Don't worry, this will not cancel your paid subscription to {{@site.title}}.
{{/match}}
</p> </p>
<p>Didn't mean to do this? Manage your account <a href="{{@site.url}}/#/portal/account">here</a>.</p> <p>Didn't mean to do this? Manage your account <a href="{{@site.url}}/#/portal/account">here</a>.</p>
{{/if}} {{/if}}