source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "emails/statsNotificationLayout.html";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("emails/statsNotificationLayout.html", "emails/statsNotification.html", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
yield "
|
extensions['MailPoet\Twig\Assets']->generateCdnUrl("logo-orange-400x122.png");
yield "\" width=\"80\" alt=\"new_logo_orange\" style=\"height:auto;max-width:100%;-ms-interpolation-mode:bicubic;border:0;display:block;outline:none;text-align:center\"/>
|
|
";
// line 26
yield $this->extensions['MailPoet\Twig\I18n']->translate("Your stats are in!");
yield "
|
";
// line 33
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["subject"] ?? null), "html", null, true);
yield "
|
|
|
|
";
// line 48
if (($context["subscribersLimitReached"] ?? null)) {
// line 49
yield "
|
";
// line 66
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(MailPoetVendor\Twig\Extension\CoreExtension::replace($this->extensions['MailPoet\Twig\I18n']->translate("Congratulations, you now have more than [subscribersLimit] subscribers!"), ["[subscribersLimit]" => ($context["subscribersLimit"] ?? null)]), "html", null, true);
yield "
|
";
// line 84
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(MailPoetVendor\Twig\Extension\CoreExtension::replace($this->extensions['MailPoet\Twig\I18n']->translate("Our free version is limited to [subscribersLimit] subscribers. You need to upgrade now to be able to continue using MailPoet."), ["[subscribersLimit]" => ($context["subscribersLimit"] ?? null)]), "html", null, true);
yield "
|
|
|
|
|
|
|
";
}
// line 138
yield "
|
extensions['MailPoet\Twig\Functions']->statsColor(($context["clicked"] ?? null));
yield "\">
";
// line 173
yield $this->extensions['MailPoet\Twig\Functions']->statsNumberFormatI18n(($context["clicked"] ?? null));
yield "%
|
extensions['MailPoet\Twig\Functions']->statsColor(($context["clicked"] ?? null));
yield "\">
";
// line 184
yield $this->extensions['MailPoet\Twig\I18n']->translate("clicked");
yield "
|
|
|
|
";
// line 225
yield $this->extensions['MailPoet\Twig\Functions']->statsNumberFormatI18n(($context["opened"] ?? null));
yield "%
|
";
// line 236
yield $this->extensions['MailPoet\Twig\I18n']->translate("opened");
yield "
|
|
";
// line 257
yield $this->extensions['MailPoet\Twig\Functions']->statsNumberFormatI18n(($context["machineOpened"] ?? null));
yield "%
|
";
// line 268
yield $this->extensions['MailPoet\Twig\I18n']->translate("machine-opened");
yield "
|
|
|
|
";
// line 309
yield $this->extensions['MailPoet\Twig\Functions']->statsNumberFormatI18n(($context["unsubscribed"] ?? null));
yield "%
|
";
// line 320
yield $this->extensions['MailPoet\Twig\I18n']->translate("unsubscribed");
yield "
|
|
";
// line 341
yield $this->extensions['MailPoet\Twig\Functions']->statsNumberFormatI18n(($context["bounced"] ?? null));
yield "%
|
";
// line 352
yield $this->extensions['MailPoet\Twig\I18n']->translate("bounced");
yield "
|
|
|
|
";
// line 374
if ((($context["topLinkClicks"] ?? null) > 0)) {
// line 375
yield "
|
";
// line 420
if ((is_string($__internal_compile_0 = ($context["topLink"] ?? null)) && is_string($__internal_compile_1 = "http") && str_starts_with($__internal_compile_0, $__internal_compile_1))) {
// line 421
yield " env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["topLink"] ?? null), "html", null, true);
yield "\" target=\"_blank\" rel=\"noopener noreferrer\"
style=\"color:#008282;text-decoration:underline\">
";
// line 423
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["topLink"] ?? null), "html", null, true);
yield "
";
} else {
// line 426
yield " ";
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["topLink"] ?? null), "html", null, true);
yield "
";
}
// line 428
yield " |
";
// line 435
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(MailPoetVendor\Twig\Extension\CoreExtension::replace($this->extensions['MailPoet\Twig\I18n']->translate("%s unique clicks"), ["%s" => ($context["topLinkClicks"] ?? null)]), "html", null, true);
yield "
|
|
|
|
";
}
// line 451
yield "
|
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "emails/statsNotification.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 620 => 478, 616 => 477, 588 => 451, 569 => 435, 560 => 428, 554 => 426, 548 => 423, 542 => 421, 540 => 420, 528 => 411, 490 => 375, 488 => 374, 463 => 352, 449 => 341, 425 => 320, 411 => 309, 367 => 268, 353 => 257, 329 => 236, 315 => 225, 271 => 184, 267 => 183, 254 => 173, 250 => 172, 236 => 161, 232 => 160, 208 => 138, 182 => 115, 148 => 84, 127 => 66, 108 => 49, 106 => 48, 88 => 33, 78 => 26, 66 => 17, 51 => 4, 47 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("", "emails/statsNotification.html", "/home/circleci/mailpoet/mailpoet/views/emails/statsNotification.html");
}
}