From ebbcbc2015611676b42db2c3f8e9409f917e15bb Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Wed, 7 Aug 2019 13:32:02 +0200 Subject: [PATCH] Add referral id to URLs in twig templates [MAILPOET-2182] --- views/invalidkey.html | 4 ++-- views/premium.html | 6 +++--- views/settings/mta.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/views/invalidkey.html b/views/invalidkey.html index 0c9d7351da..d435b278cf 100644 --- a/views/invalidkey.html +++ b/views/invalidkey.html @@ -10,7 +10,7 @@

- <%= __('Visit MailPoet.com to purchase a key') %> + <%= __('Visit MailPoet.com to purchase a key') %>

-<% endblock %> \ No newline at end of file +<% endblock %> diff --git a/views/premium.html b/views/premium.html index ae000154b1..8888af6508 100644 --- a/views/premium.html +++ b/views/premium.html @@ -9,7 +9,7 @@

<%= __('Don’t miss out on our only sale of the year which ends on November 30.') %>

<%= __('There’s never been a better time to change gears.') %>

@@ -131,7 +131,7 @@

<%= __("Purchase Now") %> @@ -143,7 +143,7 @@ |raw %>

<%= __("Don’t need to use our sending service? Not a problem; we understand. You can also [link]buy the Premium[/link] features separately. Prices start at $149 per year for 1 website, $249 for 4 sites and $499 for an unlimited number of sites.") - |replaceLinkTags('https://account.mailpoet.com/premium?utm_source=plugin&utm_medium=premium&utm_campaign=buy-premium', {'target' : '_blank'}) + |replaceLinkTags(add_referral_id('https://account.mailpoet.com/premium?utm_source=plugin&utm_medium=premium&utm_campaign=buy-premium'), {'target' : '_blank'}) |raw %>

diff --git a/views/settings/mta.html b/views/settings/mta.html index f90b31fd8a..f442b879b9 100644 --- a/views/settings/mta.html +++ b/views/settings/mta.html @@ -97,7 +97,7 @@
- <%= __('Free up to 1,000 subscribers') %> + <%= __('Free up to 1,000 subscribers') %> <%= __("or") %> <%= __("[link]enter your key[/link]")