summaryrefslogtreecommitdiffstats
path: root/api/templates
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-10-13 09:47:31 -0700
committer=Corey Hulen <corey@hulen.com>2015-10-13 09:47:31 -0700
commit0187e702eae59fd5435ea2b061d1087a3882eb09 (patch)
tree190d87e563ea52e74881119da886ecda2d51fd7d /api/templates
parent6bf3383bced0636f28d561abb26e21fcb76cb108 (diff)
downloadchat-0187e702eae59fd5435ea2b061d1087a3882eb09.tar.gz
chat-0187e702eae59fd5435ea2b061d1087a3882eb09.tar.bz2
chat-0187e702eae59fd5435ea2b061d1087a3882eb09.zip
PLT-602 combining welcome and verify email
Diffstat (limited to 'api/templates')
-rw-r--r--api/templates/welcome_body.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/api/templates/welcome_body.html b/api/templates/welcome_body.html
index 94b597cbb..b7cb3704d 100644
--- a/api/templates/welcome_body.html
+++ b/api/templates/welcome_body.html
@@ -15,6 +15,17 @@
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto">
+ {{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>
+ <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>
+ </p>
+ </td>
+ </tr>
+ {{end}}
<tr>
<td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;">
<h2 style="font-weight: normal; margin-top: 10px;">You can sign-in to your new team from the web address:</h2>