From 373731f5e85566eb385e92f604e81232e3d6ba1a Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 17 Sep 2015 01:54:12 -0400 Subject: user gomail and new activate account email tpl - #1496: fallback plain text - #1002: add date header - #913: fix encoding of header --- templates/mail/auth/activate.tmpl | 15 +++++++++++ templates/mail/auth/active.tmpl | 33 ------------------------ templates/mail/auth/register_success.tmpl | 43 ++++++++++++------------------- 3 files changed, 31 insertions(+), 60 deletions(-) create mode 100644 templates/mail/auth/activate.tmpl delete mode 100644 templates/mail/auth/active.tmpl (limited to 'templates/mail/auth') diff --git a/templates/mail/auth/activate.tmpl b/templates/mail/auth/activate.tmpl new file mode 100644 index 0000000000..5822770e1c --- /dev/null +++ b/templates/mail/auth/activate.tmpl @@ -0,0 +1,15 @@ + + + + + {{.User.Name}}, please activate your account + + + +

Hi {{.User.Name}}, thanks for registering at {{.AppName}}!

+

Please click the following link to verify your e-mail address within {{.ActiveCodeLives}} hours:

+

{{.AppUrl}}user/activate?code={{.Code}}

+

Not working? Try copying and pasting it to your browser.

+

© 2015 Gogs: Go Git Service

+ + diff --git a/templates/mail/auth/active.tmpl b/templates/mail/auth/active.tmpl deleted file mode 100644 index b9dacc7575..0000000000 --- a/templates/mail/auth/active.tmpl +++ /dev/null @@ -1,33 +0,0 @@ - - - - -{{.User.Name}}, please activate your account - - -
-
-
-
-

{{.AppName}}

-
-
- Hi {{.User.Name}}, -
-
-

Please click the following link to verify your e-mail address within {{.ActiveCodeLives}} hours.

-

- {{.AppUrl}}user/activate?code={{.Code}} -

-

Not working? Try copying and pasting it to your browser.

-
-
-
-
-
- © 2014 Gogs: Go Git Service -
-
-
- - diff --git a/templates/mail/auth/register_success.tmpl b/templates/mail/auth/register_success.tmpl index 5e4cb84ba6..7b642ea052 100644 --- a/templates/mail/auth/register_success.tmpl +++ b/templates/mail/auth/register_success.tmpl @@ -1,33 +1,22 @@ - + - -{{.User.Name}}, welcome to {{.AppName}} + + {{.User.Name}}, welcome to {{.AppName}} - -
-
-
-
-

{{.AppName}}

-
-
- Hi {{.User.Name}}, this is your registration email for {{.AppName}}! -
-
-

Please click the following link to verify your e-mail address within {{.ActiveCodeLives}} hours.

-

- {{.AppUrl}}user/activate?code={{.Code}} -

-

Not working? Try copying and pasting it to your browser.

-
-
-
-
-
- © 2014 Gogs: Go Git Service -
+ + +
+
+ + {{.AppName}}
-
+
+

Hi {{.User.Name}}, this is your registration email for {{.AppName}}!

+

Please click the following link to verify your e-mail address within {{.ActiveCodeLives}} hours:

+

{{.AppUrl}}user/activate?code={{.Code}}

+

Not working? Try copying and pasting it to your browser.

+
+ -- cgit v1.2.3