From c8c90a783d842bb36b51cf03aafc1322e1120a98 Mon Sep 17 00:00:00 2001
From: adam-james <21064735+adam-james-v@users.noreply.github.com>
Date: Wed, 26 Jan 2022 15:25:35 -0800
Subject: [PATCH] Add question link to the 'stopped working' email template.
 (#19815)

* Add question link to the 'stopped working' email template.

* Adjusted copy from alert email to correctly indicate how to unsubscribe
---
 src/metabase/email/alert_stopped_working.mustache | 2 +-
 src/metabase/email/alert_you_were_added.mustache  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/metabase/email/alert_stopped_working.mustache b/src/metabase/email/alert_stopped_working.mustache
index 8fe2de49e19..41543efad15 100644
--- a/src/metabase/email/alert_stopped_working.mustache
+++ b/src/metabase/email/alert_stopped_working.mustache
@@ -1,3 +1,3 @@
 {{> metabase/email/_header }}
-    <p>Alerts about {{questionName}} have stopped because {{deletionCause}}.</p>
+    <p>Alerts about <a href="{{questionURL}}">{{questionName}}</a> have stopped because {{deletionCause}}.</p>
 {{> metabase/email/_footer}}
diff --git a/src/metabase/email/alert_you_were_added.mustache b/src/metabase/email/alert_you_were_added.mustache
index ec4d73b3ba0..47c685bfee4 100644
--- a/src/metabase/email/alert_you_were_added.mustache
+++ b/src/metabase/email/alert_you_were_added.mustache
@@ -1,5 +1,5 @@
 {{> metabase/email/_header }}
     <p>You’re now getting alerts about <a href="{{questionURL}}">{{questionName}}</a>.</p>
     <p>We’ll send you an email {{alertCondition}}.</p>
-    <p>If you don’t want to receive these alerts, you can <a href="{{questionURL}}">go to this question</a> and unsubscribe from the menu in the top-right.</p>
+    <p>If you don’t want to receive these alerts, you can <a href="{{questionURL}}">go to this question</a> and unsubscribe by clicking the bell icon on the bottom right.</p>
 {{> metabase/email/_footer}}
-- 
GitLab