From d145dbe042eaa341e384754ebbfc1e4c935f1a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lys=C3=BD?= Date: Wed, 2 Mar 2022 10:56:10 +0100 Subject: [PATCH] Change texts in the 4th onboarding wizard step [MAILPOET-4168] --- .../send/congratulate/success_pitch_mss.tsx | 4 ++-- .../js/src/wizard/steps/pitch_mss_step.jsx | 18 +++++++++++++++--- mailpoet/views/mss_pitch_translations.html | 19 ++++++++++++------- 3 files changed, 29 insertions(+), 12 deletions(-) diff --git a/mailpoet/assets/js/src/newsletters/send/congratulate/success_pitch_mss.tsx b/mailpoet/assets/js/src/newsletters/send/congratulate/success_pitch_mss.tsx index 3907bde861..343b79c9da 100644 --- a/mailpoet/assets/js/src/newsletters/send/congratulate/success_pitch_mss.tsx +++ b/mailpoet/assets/js/src/newsletters/send/congratulate/success_pitch_mss.tsx @@ -3,7 +3,7 @@ import MailPoet from 'mailpoet'; import Heading from 'common/typography/heading/heading'; import WelcomeWizardStepLayoutBody from '../../../wizard/layout/step_layout_body.jsx'; -import { BenefitsList, Controls } from '../../../wizard/steps/pitch_mss_step.jsx'; +import { FreeBenefitsList, Controls } from '../../../wizard/steps/pitch_mss_step.jsx'; type Props = { MSSPitchIllustrationUrl: string; @@ -48,7 +48,7 @@ function PitchMss(props: Props): JSX.Element { {MailPoet.I18n.t('welcomeWizardMSSFreeListTitle')} : - + { props.onFinish(); setIsClosing(true); }} diff --git a/mailpoet/assets/js/src/wizard/steps/pitch_mss_step.jsx b/mailpoet/assets/js/src/wizard/steps/pitch_mss_step.jsx index 927fa054f4..0b1dd0ecea 100644 --- a/mailpoet/assets/js/src/wizard/steps/pitch_mss_step.jsx +++ b/mailpoet/assets/js/src/wizard/steps/pitch_mss_step.jsx @@ -5,7 +5,7 @@ import Button from '../../common/button/button'; import Heading from '../../common/typography/heading/heading'; import List from '../../common/typography/list/list'; -export function BenefitsList() { +export function FreeBenefitsList() { return (
  • {MailPoet.I18n.t('welcomeWizardMSSList1')}
  • @@ -16,6 +16,18 @@ export function BenefitsList() { ); } +export function NotFreeBenefitsList() { + return ( + +
  • {MailPoet.I18n.t('welcomeWizardMSSNotFreeList1')}
  • +
  • {MailPoet.I18n.t('welcomeWizardMSSNotFreeList2')}
  • +
  • {MailPoet.I18n.t('welcomeWizardMSSNotFreeList3')}
  • +
  • {MailPoet.I18n.t('welcomeWizardMSSNotFreeList4')}
  • +
  • {MailPoet.I18n.t('welcomeWizardMSSNotFreeList5')}
  • +
    + ); +} + export function Controls(props) { return ( <> @@ -78,7 +90,7 @@ function FreePlanSubscribers(props) { {MailPoet.I18n.t('welcomeWizardMSSFreeListTitle')} : - + - +