Files
piratepoet/views/emails/statsNotification.txt
Amine Ben hammou d2494469c0 Rename method and variables for clarity
[MAILPOET-2624]
2020-01-14 10:57:20 +00:00

39 lines
1.1 KiB
Plaintext

<% extends 'emails/statsNotificationLayout.txt' %>
<% block content %>
<%= __('Your stats are in!') %>
<%= subject %>
<% if subscribersLimitReached %>
<%= __('Congratulations, you now have more than [subscribersLimit] subscribers!')|replace({'[subscribersLimit]': subscribersLimit}) %>
<% if hasValidApiKey %>
<%= __('Your plan is limited to [subscribersLimit] subscribers.')|replace({'[subscribersLimit]': subscribersLimit}) %>
<% else %>
<%= __('Our free version is limited to [subscribersLimit] subscribers.')|replace({'[subscribersLimit]': subscribersLimit}) %>
<% endif %>
<%= __('You need to upgrade now to be able to continue using MailPoet.') %>
<%= __('Upgrade Now') %>
<%= upgradeNowLink %>
<% endif %>
<%= __('open rate') %>: <%= number_format_i18n(opened) %>%
<%= opened_stats_text(opened) %>
<%= __('click rate') %>: <%= number_format_i18n(clicked) %>%
<%= clicked_stats_text(opened) %>
<% if topLinkClicks > 0 %>
<%= __('Most clicked link') %>
<%= topLink %>
<%= __('%s unique clicks')|replace({'%s': topLinkClicks}) %>
<% endif %>
<%= __('View all stats') %>
<%= linkStats %>
<% endblock %>