Updated default content cta for restricted post/page access to custom filters

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

With multiple products, we have re-enabled segmentation by product for posts behind alpha feature flag. This change handles the default content cta to show custom message if the post's access is restricted to specific products when behind the flag.
This commit is contained in:
Rishabh 2021-07-02 22:27:42 +05:30 committed by Rishabh Garg
parent 3e9a23355f
commit 50eddaa208

View File

@ -7,6 +7,9 @@
{{#has visibility="members"}}
<h2>This post is for subscribers only</h2>
{{/has}}
{{#has visibility="filter"}}
<h2>This post is for subscribers on specific product only</h2>
{{/has}}
{{#if @member}}
<a class="gh-btn" data-portal="account/plans" style="color:{{accentColor}}">Upgrade your account</a>
{{else}}