From a2ef0e1ae551c9184511a88d3790b184bf053958 Mon Sep 17 00:00:00 2001
From: Simon Detheridge
Date: Fri, 5 Oct 2018 12:04:00 +0100
Subject: [PATCH] Add additional CTA link to emails
Some mail clients don't show the CTA button correctly, or at all. Add an additional, smaller link to the bottom of the email for people who can't see the button.
bug: sharelatex/web-sharelatex-internal#987
Signed-off-by: Simon Detheridge
---
.../coffee/Features/Email/Bodies/SingleCTAEmailBody.coffee | 5 +++++
.../Features/Email/Bodies/ol-SingleCTAEmailBody.coffee | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/services/web/app/coffee/Features/Email/Bodies/SingleCTAEmailBody.coffee b/services/web/app/coffee/Features/Email/Bodies/SingleCTAEmailBody.coffee
index bffa485f07..192f572beb 100644
--- a/services/web/app/coffee/Features/Email/Bodies/SingleCTAEmailBody.coffee
+++ b/services/web/app/coffee/Features/Email/Bodies/SingleCTAEmailBody.coffee
@@ -32,6 +32,11 @@ module.exports = _.template """
<%= secondaryMessage %>
+ If the button above does not appear, please open the link in your browser here:
+ <%= ctaURL %>
+
+ If the button above does not appear, please open the link in your browser here:
+ <%= ctaURL %>
+