summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHjf288 <hjf288@gmail.com>2015-12-28 16:15:13 +0000
committerHjf288 <hjf288@gmail.com>2015-12-28 16:15:13 +0000
commit76b1d260b87c85045e43d99033fd5e43d2674369 (patch)
tree58c675caa31dc2a6efe6aab814f892af770b2b11
parent2f04ea6dd292e2b11e1fc4149ae1ea759d31bea5 (diff)
downloadchat-76b1d260b87c85045e43d99033fd5e43d2674369.tar.gz
chat-76b1d260b87c85045e43d99033fd5e43d2674369.tar.bz2
chat-76b1d260b87c85045e43d99033fd5e43d2674369.zip
Correct mail templates to show 'You've been invited to [teamname] team' rather than you've been invited when signing up
-rw-r--r--api/templates/verify_body.html2
-rw-r--r--api/templates/welcome_body.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/api/templates/verify_body.html b/api/templates/verify_body.html
index 97571d9e3..c42b2a372 100644
--- a/api/templates/verify_body.html
+++ b/api/templates/verify_body.html
@@ -17,7 +17,7 @@
<table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto">
<tr>
<td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;">
- <h2 style="font-weight: normal; margin-top: 10px;">You've been invited</h2>
+ <h2 style="font-weight: normal; margin-top: 10px;">You've joined the {{ .Props.TeamDisplayName }} team</h2>
<p>Please verify your email address by clicking below.</p>
<p style="margin: 20px 0 15px">
<a href="{{.Props.VerifyUrl}}" style="background: #2389D7; border-radius: 3px; color: #fff; border: none; outline: none; min-width: 200px; padding: 15px 25px; font-size: 14px; font-family: inherit; cursor: pointer; -webkit-appearance: none;text-decoration: none;">Verify Email</a>
diff --git a/api/templates/welcome_body.html b/api/templates/welcome_body.html
index dbb94cf06..14f8e13c4 100644
--- a/api/templates/welcome_body.html
+++ b/api/templates/welcome_body.html
@@ -18,7 +18,7 @@
{{if .Props.VerifyUrl }}
<tr>
<td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;">
- <h2 style="font-weight: normal; margin-top: 10px;">You've been invited</h2>
+ <h2 style="font-weight: normal; margin-top: 10px;">You've joined the {{ .Props.TeamDisplayName }} team</h2>
<p>Please verify your email address by clicking below.</p>
<p style="margin: 20px 0 15px">
<a href="{{.Props.VerifyUrl}}" style="background: #2389D7; border-radius: 3px; color: #fff; border: none; outline: none; min-width: 200px; padding: 15px 25px; font-size: 14px; font-family: inherit; cursor: pointer; -webkit-appearance: none;text-decoration: none;">Verify Email</a>