<% if sub_menu %> <% endif %> <% block templates %><% endblock %>
<% block title %><% endblock %> <% block content %><% endblock %>
<%= stylesheet( 'admin.css' )%> <%= do_action('mailpoet_styles_admin_after') %> <% if is_rtl() %> <%= stylesheet('rtl.css') %> <% endif %> <% block after_css %><% endblock %> <%= javascript( 'vendor.js', 'mailpoet.js' )%> <%= localize({ 'ajaxFailedErrorMessage': __('An error has happened while performing a request, the server has responded with response code %d'), 'senderEmailAddressWarning1': _x('You might not reach the inbox of your subscribers if you use this email address.', 'In the last step, before sending a newsletter. URL: ?page=mailpoet-newsletters#/send/2'), 'senderEmailAddressWarning2': _x('Use an address like %suggested for the Sender and put %originalSender in the Reply-to field below.', 'In the last step, before sending a newsletter. URL: ?page=mailpoet-newsletters#/send/2'), 'senderEmailAddressWarning3': _x('Read more.'), }) %> <% block translations %><% endblock %> <% block after_translations %><% endblock %> <%= javascript( 'admin_vendor_chunk.js', 'admin_vendor.js' )%> <%= do_action('mailpoet_scripts_admin_before') %> <%= javascript( 'admin.js' )%> <%= javascript('lib/analytics.js') %> <% set has_valid_premium_key = mailpoet_has_valid_premium_key() %> <% set helpscout_form_id = 'dd918048-8d73-11e7-b5b5-0ec85169275a' %> <%if has_valid_premium_key %> <% set helpscout_form_id = '6974b88d-8d85-11e7-b5b5-0ec85169275a' %> <% endif %> <% block after_javascript %><% endblock %>