From 1410a4237e8fb7e64ab88e431ec8747e9f80fa83 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Mon, 26 Sep 2022 15:52:10 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20default=20content=20CTA?= =?UTF-8?q?=20message=20to=20reflect=20page=20vs=20post?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/TryGhost/Team/issues/1898 - the default content cta always used the terminology as `post` when showing message that users don't have access to some content - this caused confusion when users were looking at a page and message showed "This post is for subscribers only" - updates the message to correctly reflect `page` vs `post` on the default cta --- .../core/frontend/helpers/tpl/content-cta.hbs | 6 +-- .../unit/frontend/helpers/content.test.js | 52 +++++++++++++++++++ .../frontend/helpers/test_tpl/content-cta.hbs | 18 +++++-- 3 files changed, 70 insertions(+), 6 deletions(-) diff --git a/ghost/core/core/frontend/helpers/tpl/content-cta.hbs b/ghost/core/core/frontend/helpers/tpl/content-cta.hbs index bf51cad81a..c2761caae7 100644 --- a/ghost/core/core/frontend/helpers/tpl/content-cta.hbs +++ b/ghost/core/core/frontend/helpers/tpl/content-cta.hbs @@ -2,13 +2,13 @@