mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
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:
parent
3e9a23355f
commit
50eddaa208
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user