Display unapproved key notice for sending step, disable send buttons

[MAILPOET-2729]
This commit is contained in:
Jan Jakeš
2020-03-17 12:27:22 +01:00
committed by Veljko V
parent 5160498c22
commit 7d352062ba
4 changed files with 40 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
{{#if mssKeyPendingApproval }}
<div class="mailpoet_error">
<%= __('Youll soon be able to send once our team reviews your account. In the meantime, you can send previews to [link]your authorized emails[/link].')|replaceLinkTags('https://account.mailpoet.com/authorization', {'target': '_blank'})|raw %>
<%= __('Youll soon be able to send once our team reviews your account. In the meantime, you can send previews to [link]your authorized emails[/link].')|replaceLinkTags('https://account.mailpoet.com/authorization', {'target': '_blank', 'rel': 'noopener noreferrer'})|raw %>
</div>
{{/if}}

View File

@@ -58,6 +58,7 @@
<% endif %>
<% endautoescape %>
var mailpoet_beacon_articles = ['57fdc312c697911f2d324fd7', '5a0257ac2c7d3a272c0d7ad6', '58f671152c7d3a057f8858e8'];
var mailpoet_mss_key_pending_approval = '<%= mss_key_pending_approval %>';
</script>
<% endblock %>
@@ -241,6 +242,7 @@
'finalNewsletterStep': __('Final Step: Last Details'),
'saveDraftAndClose': __('Save as draft and close'),
'helpTooltipSendEmail': __('You cannot send the same email twice, as that would be considered spam. <br /> If you must send the same email more than one time, simply duplicate this email first.'),
'pendingKeyApprovalNotice': __('Youll soon be able to send once our team reviews your account. In the meantime, you can send previews to [link]your authorized emails[/link].'),
'orSimply': __('or simply'),
'goBackToDesign': __('go back to the Design page'),
'websiteTimeIs': __("Your websites time is"),