diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index 19c294044..0f1e12781 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -2111,6 +2111,7 @@ "background_effects_button": "Enable background effects", "new_layout_title": "New layout", "new_layout_message": "We’ve introduced a modernized layout for Trilium. The ribbon has been removed and seamlessly integrated into the main interface, with a new status bar and expandable sections (such as promoted attributes) taking over key functions.\n\nThe new layout is enabled by default, and can be temporarily disabled via Options → Appearance.", + "new_layout_button": "More info", "dismiss": "Dismiss" }, "settings": { diff --git a/apps/client/src/widgets/dialogs/call_to_action_definitions.ts b/apps/client/src/widgets/dialogs/call_to_action_definitions.ts index 056672b16..d783b1dbb 100644 --- a/apps/client/src/widgets/dialogs/call_to_action_definitions.ts +++ b/apps/client/src/widgets/dialogs/call_to_action_definitions.ts @@ -1,3 +1,4 @@ +import appContext from "../../components/app_context"; import { t } from "../../services/i18n"; import options from "../../services/options"; import utils from "../../services/utils"; @@ -50,7 +51,13 @@ const CALL_TO_ACTIONS: CallToAction[] = [ title: t("call_to_action.new_layout_title"), message: t("call_to_action.new_layout_message"), enabled: () => true, - buttons: [] + buttons: [ + { + + text: t("call_to_action.new_layout_button"), + onClick: () => appContext.tabManager.openInNewTab("_help_IjZS7iK5EXtb", "_help", true) + } + ] }, { id: "background_effects",