From aad9529f31d9ec6966aaffab1083b6108031a505 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Fri, 2 Oct 2015 16:30:21 -0700 Subject: Initial cosmetic changes to the process of verifying a changed email --- api/templates/email_change_body.html | 3 +- api/templates/email_change_subject.html | 2 +- api/templates/email_change_verify_body.html | 56 ++++++++++++++++++++++++++ api/templates/email_change_verify_subject.html | 1 + 4 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 api/templates/email_change_verify_body.html create mode 100644 api/templates/email_change_verify_subject.html (limited to 'api/templates') diff --git a/api/templates/email_change_body.html b/api/templates/email_change_body.html index 0ec4ace2a..7addb6f35 100644 --- a/api/templates/email_change_body.html +++ b/api/templates/email_change_body.html @@ -18,7 +18,7 @@

You updated your email

-

You updated your email for {{.Props.TeamDisplayName}} on {{ .Props.TeamURL }}
If this change wasn't initiated by you, please reply to this email and let us know.

+

You email address for {{.Props.TeamDisplayName}} has been changed.
If you did not make this change, please contact the system administrator.

@@ -51,4 +51,3 @@ {{end}} - diff --git a/api/templates/email_change_subject.html b/api/templates/email_change_subject.html index 5690b148a..962ae868e 100644 --- a/api/templates/email_change_subject.html +++ b/api/templates/email_change_subject.html @@ -1 +1 @@ -{{define "email_change_subject"}}You updated your email for {{.Props.TeamDisplayName}} on {{ .Props.Domain }}{{end}} +{{define "email_change_subject"}}[{{.ClientProps.SiteName}}] Your email address has changed for {{.Props.TeamDisplayName}}{{end}} diff --git a/api/templates/email_change_verify_body.html b/api/templates/email_change_verify_body.html new file mode 100644 index 000000000..296a3d968 --- /dev/null +++ b/api/templates/email_change_verify_body.html @@ -0,0 +1,56 @@ +{{define "verify_new_email_body"}} + + + + + +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + + + + +
+

You updated your email

+

To finish updating your email address for {{.Props.TeamDisplayName}}, please click the link below to confirm this is the right address.

+

+ Verify Email +

+
+ Any questions at all, mail us any time: {{.ClientProps.FeedbackEmail}}.
+ Best wishes,
+ The {{.ClientProps.SiteName}} Team
+
+
+

+ +

+

+ (c) 2015 SpinPunch, Inc. 855 El Camino Real, 13A-168, Palo Alto, CA, 94301.
+ If you no longer wish to receive these emails, click on the following link: Unsubscribe +

+
+
+
+ +{{end}} diff --git a/api/templates/email_change_verify_subject.html b/api/templates/email_change_verify_subject.html new file mode 100644 index 000000000..f1cebd710 --- /dev/null +++ b/api/templates/email_change_verify_subject.html @@ -0,0 +1 @@ +{{define "verify_new_email_subject"}}[{{.ClientProps.SiteName}}] Verify new email address for {{.Props.TeamDisplayName}}{{end}} -- cgit v1.2.3-1-g7c22 From 817fa66ac4db9522488c1760417ca57cb1b56c20 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Mon, 5 Oct 2015 14:18:05 -0700 Subject: Added better verification when a user changes his or her email --- api/templates/email_change_verify_body.html | 2 +- api/templates/email_change_verify_subject.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'api/templates') diff --git a/api/templates/email_change_verify_body.html b/api/templates/email_change_verify_body.html index 296a3d968..356f2454c 100644 --- a/api/templates/email_change_verify_body.html +++ b/api/templates/email_change_verify_body.html @@ -1,4 +1,4 @@ -{{define "verify_new_email_body"}} +{{define "email_change_verify_body"}} diff --git a/api/templates/email_change_verify_subject.html b/api/templates/email_change_verify_subject.html index f1cebd710..5e2ac1452 100644 --- a/api/templates/email_change_verify_subject.html +++ b/api/templates/email_change_verify_subject.html @@ -1 +1 @@ -{{define "verify_new_email_subject"}}[{{.ClientProps.SiteName}}] Verify new email address for {{.Props.TeamDisplayName}}{{end}} +{{define "email_change_verify_subject"}}[{{.ClientProps.SiteName}}] Verify new email address for {{.Props.TeamDisplayName}}{{end}} -- cgit v1.2.3-1-g7c22 From c84fe62ca199485dccefc37e00ca2bef45d47c6d Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Tue, 6 Oct 2015 08:58:31 -0700 Subject: Added new email to email change notification --- api/templates/email_change_body.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/templates') diff --git a/api/templates/email_change_body.html b/api/templates/email_change_body.html index 7addb6f35..5c5f6c777 100644 --- a/api/templates/email_change_body.html +++ b/api/templates/email_change_body.html @@ -18,7 +18,7 @@ -- cgit v1.2.3-1-g7c22

You updated your email

-

You email address for {{.Props.TeamDisplayName}} has been changed.
If you did not make this change, please contact the system administrator.

+

You email address for {{.Props.TeamDisplayName}} has been changed to {{.Props.NewEmail}}.
If you did not make this change, please contact the system administrator.