Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update Leave Me Alone voucher email

Anand Baburajane983091a29c0
diff --git a/server/mail-templates/discount_coupon_leave_me_alone.html b/server/mail-templates/discount_coupon_leave_me_alone.html
index 79c642f0dd..a96df04ff5 100644
--- a/server/mail-templates/discount_coupon_leave_me_alone.html
+++ b/server/mail-templates/discount_coupon_leave_me_alone.html
@@ -1,9 +1,9 @@
{{template "base" .}} {{define "content"}}
-<h2>Ente Friends - Leave Me Alone discount code</h2>
+<h2>Ente Friends - Leave Me Alone voucher code</h2>
<p>Hello,</p>
-<p>Use coupon code <strong>{{.CouponCode}}</strong> to get:</p>
+<p>Use voucher code <strong>{{.CouponCode}}</strong> for one of these offers:</p>
<ul>
<li>10% off Leave Me Alone's 7 day pass</li>
@@ -11,6 +11,11 @@
<li>65% off Leave Me Alone's Yearly InboxZero Hero plan</li>
</ul>
+<p>
+ Redeem your voucher code at
+ <a href="https://app.leavemealone.com/signup/voucher">https://app.leavemealone.com/signup/voucher</a>.
+</p>
+
<p>
Best,<br />
Team Ente
diff --git a/server/pkg/controller/discountcoupon/controller.go b/server/pkg/controller/discountcoupon/controller.go
index 39522274e2..08d2cca063 100644
--- a/server/pkg/controller/discountcoupon/controller.go
+++ b/server/pkg/controller/discountcoupon/controller.go
@@ -157,7 +157,7 @@ func (c *Controller) sendCouponEmail(ctx context.Context, user ente.User, coupon
subject = "Ente Friends - Windscribe discount code"
templateName = "discount_coupon_windscribe.html"
case "LeaveMeAlone":
- subject = "Ente Friends - Leave Me Alone discount code"
+ subject = "Ente Friends - Leave Me Alone voucher code"
templateName = "discount_coupon_leave_me_alone.html"
case "Test":
subject = "Ente Friends - Test trial code"