<% extends 'layout.html' %> <% block templates %> <%= partial( 'newsletter_editor_template_tools_generic', 'newsletter/templates/blocks/base/toolsGeneric.hbs' ) %> <%= partial( 'newsletter_editor_template_automated_latest_content_block', 'newsletter/templates/blocks/automatedLatestContent/block.hbs' ) %> <%= partial( 'newsletter_editor_template_automated_latest_content_widget', 'newsletter/templates/blocks/automatedLatestContent/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_automated_latest_content_settings', 'newsletter/templates/blocks/automatedLatestContent/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_automated_latest_content_layout_block', 'newsletter/templates/blocks/automatedLatestContentLayout/block.hbs' ) %> <%= partial( 'newsletter_editor_template_automated_latest_content_layout_widget', 'newsletter/templates/blocks/automatedLatestContentLayout/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_automated_latest_content_layout_settings', 'newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_button_block', 'newsletter/templates/blocks/button/block.hbs' ) %> <%= partial( 'newsletter_editor_template_button_widget', 'newsletter/templates/blocks/button/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_button_settings', 'newsletter/templates/blocks/button/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_container_block', 'newsletter/templates/blocks/container/block.hbs' ) %> <%= partial( 'newsletter_editor_template_container_block_empty', 'newsletter/templates/blocks/container/emptyBlock.hbs' ) %> <%= partial( 'newsletter_editor_template_container_one_column_widget', 'newsletter/templates/blocks/container/oneColumnLayoutWidget.hbs' ) %> <%= partial( 'newsletter_editor_template_container_two_column_widget', 'newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs' ) %> <%= partial( 'newsletter_editor_template_container_two_column_12_widget', 'newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs' ) %> <%= partial( 'newsletter_editor_template_container_two_column_21_widget', 'newsletter/templates/blocks/container/twoColumnLayoutWidget21.hbs' ) %> <%= partial( 'newsletter_editor_template_container_three_column_widget', 'newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs' ) %> <%= partial( 'newsletter_editor_template_container_settings', 'newsletter/templates/blocks/container/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_container_column_settings', 'newsletter/templates/blocks/container/columnSettings.hbs' ) %> <%= partial( 'newsletter_editor_template_divider_block', 'newsletter/templates/blocks/divider/block.hbs' ) %> <%= partial( 'newsletter_editor_template_divider_widget', 'newsletter/templates/blocks/divider/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_divider_settings', 'newsletter/templates/blocks/divider/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_footer_block', 'newsletter/templates/blocks/footer/block.hbs' ) %> <%= partial( 'newsletter_editor_template_footer_widget', 'newsletter/templates/blocks/footer/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_footer_settings', 'newsletter/templates/blocks/footer/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_header_block', 'newsletter/templates/blocks/header/block.hbs' ) %> <%= partial( 'newsletter_editor_template_header_widget', 'newsletter/templates/blocks/header/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_header_settings', 'newsletter/templates/blocks/header/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_image_block', 'newsletter/templates/blocks/image/block.hbs' ) %> <%= partial( 'newsletter_editor_template_image_widget', 'newsletter/templates/blocks/image/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_image_settings', 'newsletter/templates/blocks/image/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_posts_block', 'newsletter/templates/blocks/posts/block.hbs' ) %> <%= partial( 'newsletter_editor_template_posts_widget', 'newsletter/templates/blocks/posts/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_posts_settings', 'newsletter/templates/blocks/posts/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_posts_settings_display_options', 'newsletter/templates/blocks/posts/settingsDisplayOptions.hbs' ) %> <%= partial( 'newsletter_editor_template_posts_settings_selection', 'newsletter/templates/blocks/posts/settingsSelection.hbs' ) %> <%= partial( 'newsletter_editor_template_posts_settings_selection_empty', 'newsletter/templates/blocks/posts/settingsSelectionEmpty.hbs' ) %> <%= partial( 'newsletter_editor_template_posts_settings_single_post', 'newsletter/templates/blocks/posts/settingsSinglePost.hbs' ) %> <%= partial( 'newsletter_editor_template_products_block', 'newsletter/templates/blocks/products/block.hbs' ) %> <%= partial( 'newsletter_editor_template_products_widget', 'newsletter/templates/blocks/products/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_products_settings', 'newsletter/templates/blocks/products/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_products_settings_display_options', 'newsletter/templates/blocks/products/settingsDisplayOptions.hbs' ) %> <%= partial( 'newsletter_editor_template_products_settings_selection', 'newsletter/templates/blocks/products/settingsSelection.hbs' ) %> <%= partial( 'newsletter_editor_template_products_settings_selection_empty', 'newsletter/templates/blocks/products/settingsSelectionEmpty.hbs' ) %> <%= partial( 'newsletter_editor_template_products_settings_single_post', 'newsletter/templates/blocks/products/settingsSinglePost.hbs' ) %> <%= partial( 'newsletter_editor_template_social_block', 'newsletter/templates/blocks/social/block.hbs' ) %> <%= partial( 'newsletter_editor_template_social_block_icon', 'newsletter/templates/blocks/social/blockIcon.hbs' ) %> <%= partial( 'newsletter_editor_template_social_widget', 'newsletter/templates/blocks/social/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_social_settings', 'newsletter/templates/blocks/social/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_social_settings_icon', 'newsletter/templates/blocks/social/settingsIcon.hbs' ) %> <%= partial( 'newsletter_editor_template_social_settings_icon_selector', 'newsletter/templates/blocks/social/settingsIconSelector.hbs' ) %> <%= partial( 'newsletter_editor_template_social_settings_styles', 'newsletter/templates/blocks/social/settingsStyles.hbs' ) %> <%= partial( 'newsletter_editor_template_spacer_block', 'newsletter/templates/blocks/spacer/block.hbs' ) %> <%= partial( 'newsletter_editor_template_spacer_widget', 'newsletter/templates/blocks/spacer/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_spacer_settings', 'newsletter/templates/blocks/spacer/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_text_block', 'newsletter/templates/blocks/text/block.hbs' ) %> <%= partial( 'newsletter_editor_template_text_widget', 'newsletter/templates/blocks/text/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_text_settings', 'newsletter/templates/blocks/text/settings.hbs' ) %> <%= partial( 'newsletter_editor_template_heading', 'newsletter/templates/components/heading.hbs' ) %> <%= partial( 'newsletter_editor_template_history', 'newsletter/templates/components/history.hbs' ) %> <%= partial( 'newsletter_editor_template_save', 'newsletter/templates/components/save.hbs' ) %> <%= partial( 'newsletter_editor_template_styles', 'newsletter/templates/components/styles.hbs' ) %> <%= partial( 'newsletter_editor_template_newsletter_preview', 'newsletter/templates/components/newsletterPreview.hbs' ) %> <%= partial( 'newsletter_editor_template_sidebar', 'newsletter/templates/components/sidebar/sidebar.hbs' ) %> <%= partial( 'newsletter_editor_template_sidebar_content', 'newsletter/templates/components/sidebar/content.hbs' ) %> <%= partial( 'newsletter_editor_template_sidebar_layout', 'newsletter/templates/components/sidebar/layout.hbs' ) %> <%= partial( 'newsletter_editor_template_sidebar_preview', 'newsletter/templates/components/sidebar/preview.hbs' ) %> <%= partial( 'newsletter_editor_template_sidebar_styles', 'newsletter/templates/components/sidebar/styles.hbs' ) %> <%= partial( 'newsletter_editor_template_woocommerce_content_block', 'newsletter/templates/blocks/woocommerceContent/block.hbs' ) %> <%= partial( 'newsletter_editor_template_woocommerce_content_widget', 'newsletter/templates/blocks/woocommerceContent/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_woocommerce_heading_block', 'newsletter/templates/blocks/woocommerceHeading/block.hbs' ) %> <%= partial( 'newsletter_editor_template_woocommerce_heading_widget', 'newsletter/templates/blocks/woocommerceHeading/widget.hbs' ) %> <%= partial( 'newsletter_editor_template_woocommerce_heading_settings', 'newsletter/templates/blocks/woocommerceHeading/settings.hbs' ) %> <% endblock %> <% block content %>

<%= __('Newsletter Editor') %>

<% endblock %> <% block translations %> <% set helpTooltipSendPreview = __("Didn't receive the test email? Read our [link]quick guide[/link] to sending issues.

A MailPoet logo will appear in the footer of all emails sent with the free version of MailPoet.") |replaceLinkTags('https://kb.mailpoet.com/article/146-my-newsletters-are-not-being-received', {'target' : '_blank', 'data-beacon-article': '580846f09033604df5166ed1'}) |escape('js') %> <%= localize({ 'close': __('Close'), 'failedToFetchAvailablePosts': __('Failed to fetch available posts'), 'failedToFetchRenderedPosts': __('Failed to fetch rendered posts'), 'shortcodesWindowTitle': __('Select a shortcode'), 'unsubscribeLinkMissing': __('All emails must include an "Unsubscribe" link. Add a footer widget to your email to continue.'), 'newsletterIsEmpty': __('Poet, please add prose to your masterpiece before you send it to your followers.'), 'emailAlreadySent': __('This email has already been sent. It can be edited, but not sent again. Duplicate this email if you want to send it again.'), 'automatedLatestContentMissing': _x('Please add an “Automatic Latest Content” widget to the email from the right sidebar.', '(Please reuse the current translation used for the string “Automatic Latest Content”) This Error message is displayed when a user tries to send a “Post Notification” email without any “Automatic Latest Content” widget inside'), 'newsletterPreviewEmailMissing': __('Enter an email address to send the preview newsletter to.'), 'newsletterPreviewSent': __('Your test email has been sent!'), 'newsletterPreviewErrorNotice': __('The email could not be sent due to a technical issue with %$1s'), 'newsletterPreviewErrorCheckConfiguration': __('Please check your sending method configuration, you may need to consult with your hosting company.'), 'newsletterPreviewErrorUseSendingService': __('The easy alternative is to send emails with MailPoet Sending Service instead, like thousands of other users do.'), 'newsletterPreviewErrorSignUpForSendingService': __('Sign up for free in minutes'), 'newsletterPreviewErrorCheckSettingsNotice': __('Check your [link]sending method settings[/link].'), 'templateNameMissing': __('Please add a template name'), 'helpTooltipSendPreview': helpTooltipSendPreview, 'helpTooltipDesignerSubjectLine': __("You can add MailPoet shortcodes here. For example, you can add your subscribers' first names by using this shortcode: [subscriber:firstname | default:reader]. Simply copy and paste the shortcode into the field."), 'helpTooltipDesignerPreheader': __("This optional text will appear in your subscribers' inboxes, beside the subject line. Write something enticing!"), 'helpTooltipDesignerFullWidth': __("This option eliminates padding around the image."), 'helpTooltipDesignerIdealWidth': __("Use images with widths of at least 1,000 pixels to ensure sharp display on high density screens, like mobile devices."), 'templateSaved': __('Template has been saved.'), 'templateSaveFailed': __('Template has not been saved, please try again'), 'categoriesAndTags': __('Categories & tags'), 'noPostsToDisplay': __('There is no content to display.'), 'previewShouldOpenInNewTab': __('Your preview should open in a new tab. Please ensure your browser is not blocking popups from this page.'), 'newsletterPreview': __('Newsletter Preview'), 'newsletterBodyIsCorrupted': __('Contents of this newsletter are corrupted and may be lost, you may need to add new content to this newsletter, or create a new one. If possible, please contact us and report this issue.'), 'saving': __('Saving...'), 'unsavedChangesWillBeLost': __('There are unsaved changes which will be lost if you leave this page.'), 'selectColor': _x('Select', 'select color'), 'cancelColorSelection': _x('Cancel', 'cancel color selection'), 'newsletterIsPaused': __('Email sending has been paused.'), 'tutorialVideoTitle': __('Before you start, this is how you drag and drop in MailPoet'), 'selectType': __('Select type'), 'events': __('Events'), 'conditions': _x('Conditions', 'Configuration options for automatic email events'), 'template': __('Template'), 'designer': __('Designer'), 'send': __('Send'), 'canUndo': _x('Undo', 'A button title when user can undo the change in editor', 'mailpoet'), 'canNotUndo': _x('No actions available to undo.', "A button title when user can't undo the change in editor", 'mailpoet'), 'canRedo': _x('Redo', 'A button title when user can redo the change in editor', 'mailpoet'), 'canNotRedo': _x('No actions available to redo.', "A button title when user can't redo the change in editor", 'mailpoet'), }) %> <% endblock %> <% block after_css %> <%= stylesheet( 'newsletterEditor.css' ) %> <% endblock %> <% block after_javascript %> <%= javascript( 'newsletter_editor.js' ) %> <%= do_action('mailpoet_newsletter_editor_after_javascript') %> <% endblock %>