From f9ce41620af1c2ba3eddaf05e78c510b60a37abe Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Fri, 6 May 2022 15:12:38 +0100 Subject: [PATCH] Updated confirm publish button text no issue - button text changed to include the post type and time of publish - the button text has become more complex than a static string so the logic was moved into a getter on the confirm component backing class --- .../modals/publish-flow/confirm.hbs | 4 +-- .../modals/publish-flow/confirm.js | 30 +++++++++++++++++++ .../editor-labs/publish-management.js | 5 +--- 3 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 ghost/admin/app/components/editor-labs/modals/publish-flow/confirm.js diff --git a/ghost/admin/app/components/editor-labs/modals/publish-flow/confirm.hbs b/ghost/admin/app/components/editor-labs/modals/publish-flow/confirm.hbs index 992d1f7dc2..12c98d112d 100644 --- a/ghost/admin/app/components/editor-labs/modals/publish-flow/confirm.hbs +++ b/ghost/admin/app/components/editor-labs/modals/publish-flow/confirm.hbs @@ -1,5 +1,5 @@
-
Ready, set, publish.
+
Ready, set, publish.
Share it with the world.

@@ -57,7 +57,7 @@