Ghost/core/frontend/helpers/tpl/content-cta.hbs
Peter Zimon 94234e1505 Updated copy for tiers CTA
- Updated "product" copy to "tier" in the default content CTA  when members need to be on a different plan to have access to a post.
2021-07-19 13:14:37 +02:00

21 lines
869 B
Handlebars

{{{html}}}
<aside class="gh-post-upgrade-cta">
<div class="gh-post-upgrade-cta-content" style="background-color: {{accentColor}}">
{{#has visibility="paid"}}
<h2>This post is for paying subscribers only</h2>
{{/has}}
{{#has visibility="members"}}
<h2>This post is for subscribers only</h2>
{{/has}}
{{#has visibility="filter"}}
<h2>This post is for subscribers on a higher tier only</h2>
{{/has}}
{{#if @member}}
<a class="gh-btn" data-portal="account/plans" style="color:{{accentColor}}">Upgrade your account</a>
{{else}}
<a class="gh-btn" data-portal="signup" style="color:{{accentColor}}">Subscribe now</a>
<p><small>Already have an account? <a data-portal="signin">Sign in</a></small></p>
{{/if}}
</div>
</aside>