<% extends 'emails/statsNotificationLayout.html' %> <% block content %> <% if is_garden() %> <%- include 'emails/statsNotificationAutomatedEmailsGarden.html' -%> <% else %>
<% if not is_garden() %> <% endif %>
new_logo_orange

<%= __('Your monthly stats are in!') %>

<% for newsletter in newsletters %>

<%= newsletter.subject %>

<%= stats_number_format_i18n(newsletter.clicked) %>% <%= __('clicked') %>

<%= stats_number_format_i18n(newsletter.opened) %>% <%= __('opened') %>

<%= stats_number_format_i18n(newsletter.machineOpened) %>% <%= __('machine-opened') %>

<%= stats_number_format_i18n(newsletter.unsubscribed) %>% <%= __('unsubscribed') %>

<%= stats_number_format_i18n(newsletter.bounced) %>% <%= __('bounced') %>

<% if newsletter.notTracked > 0 %>
<% if newsletter.trackedSent > 0 %> <%= _n('%1$s of your recipients is not tracked, so open and click rates are based on the other %2$s.', '%1$s of your recipients are not tracked, so open and click rates are based on the other %2$s.', newsletter.notTracked)|replace({'%1$s': newsletter.notTracked, '%2$s': newsletter.trackedSent}) %> <% else %> <%= _n('Your %1$s recipient is not tracked, so open and click rates cannot be measured.', 'None of your %1$s recipients are tracked, so open and click rates cannot be measured.', newsletter.notTracked)|replace({'%1$s': newsletter.notTracked}) %> <% endif %>
<% endif %> <% endfor %> <% endif %> <% endblock %>