From 50eddaa2089e36f4625aad1d3f06fb8c5abfabf1 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Fri, 2 Jul 2021 22:27:42 +0530 Subject: [PATCH] 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. --- core/frontend/helpers/tpl/content-cta.hbs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/frontend/helpers/tpl/content-cta.hbs b/core/frontend/helpers/tpl/content-cta.hbs index 4b37a32727..c5106be66f 100644 --- a/core/frontend/helpers/tpl/content-cta.hbs +++ b/core/frontend/helpers/tpl/content-cta.hbs @@ -7,6 +7,9 @@ {{#has visibility="members"}}

This post is for subscribers only

{{/has}} + {{#has visibility="filter"}} +

This post is for subscribers on specific product only

+ {{/has}} {{#if @member}} Upgrade your account {{else}}