+
+ setReplyToName(event.target.value)}
+ />
+ setReplyToEmail(event.target.value)}
+ />
+
+ >
+ );
+}
diff --git a/assets/js/src/settings/pages/basics/index.tsx b/assets/js/src/settings/pages/basics/index.tsx
new file mode 100644
index 0000000000..bae72a8f4b
--- /dev/null
+++ b/assets/js/src/settings/pages/basics/index.tsx
@@ -0,0 +1,12 @@
+import React from 'react';
+import { SaveButton } from 'settings/components';
+import DefaultSender from './default_sender';
+
+export default function Basics() {
+ return (
+
+
+
+
+ );
+}
diff --git a/assets/js/src/settings/store/selectors.ts b/assets/js/src/settings/store/selectors.ts
index 478f88eb09..7c308a2d26 100644
--- a/assets/js/src/settings/store/selectors.ts
+++ b/assets/js/src/settings/store/selectors.ts
@@ -28,3 +28,7 @@ export function hasWooCommerce(state: State) {
export function isNewUser(state: State) {
return state.flags.newUser;
}
+
+export function isMssActive(state: State) {
+ return _.get(state, 'mta.method') === 'MailPoet';
+}
diff --git a/views/settings.html b/views/settings.html
index 7a9680ee5f..41137b9687 100644
--- a/views/settings.html
+++ b/views/settings.html
@@ -35,13 +35,17 @@
'saveSettings': __('Save settings'),
'settingsSaved': __('Settings saved'),
+ 'defaultSenderTitle': __('Default sender'),
+ 'defaultSenderDescription': __('These email addresses will be selected by default for each new email.'),
+ 'from': __('From'),
+ 'yourName': __('Your name'),
+ 'replyTo': __('Reply-to'),
+
+
'reinstallConfirmation': __('Are you sure? All of your MailPoet data will be permanently erased (newsletters, statistics, subscribers, etc.).'),
'announcementHeader': __('Get notified when someone subscribes'),
'announcementParagraph1': __('It’s been a popular feature request from our users, we hope you get lots of emails about all your new subscribers!'),
'announcementParagraph2': __('(You can turn this feature off if it’s too many emails.)'),
- 'yourName': __('Your name'),
- 'from': __('From'),
- 'replyTo': __('Reply-to'),
'premiumTabActivationKeyLabel': __('Activation Key', 'mailpoet'),
'premiumTabDescription': __('This key is used to validate your free or paid subscription. Paying customers will enjoy automatic upgrades of their Premium plugin and access to faster support.', 'mailpoet'),