diff options
author | Unknwon <u@gogs.io> | 2016-07-16 00:36:39 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-07-16 00:36:39 +0800 |
commit | f1b8d52eb3ac230ed5a275f4a844ddb0cf48041e (patch) | |
tree | 51dda05a9fb7a985a4e91f3e1708ffddf3fee19c /templates/mail/auth | |
parent | 7ca5f8f119593023809e6130db75154597c52426 (diff) | |
download | gitea-f1b8d52eb3ac230ed5a275f4a844ddb0cf48041e.tar.gz gitea-f1b8d52eb3ac230ed5a275f4a844ddb0cf48041e.zip |
#2854 fix no mail notification when issue is closed/reopened
Diffstat (limited to 'templates/mail/auth')
-rw-r--r-- | templates/mail/auth/activate.tmpl | 8 | ||||
-rw-r--r-- | templates/mail/auth/activate_email.tmpl | 10 | ||||
-rw-r--r-- | templates/mail/auth/register_notify.tmpl | 10 | ||||
-rw-r--r-- | templates/mail/auth/reset_passwd.tmpl | 10 |
4 files changed, 19 insertions, 19 deletions
diff --git a/templates/mail/auth/activate.tmpl b/templates/mail/auth/activate.tmpl index dfbc3ba86b..f03c165694 100644 --- a/templates/mail/auth/activate.tmpl +++ b/templates/mail/auth/activate.tmpl @@ -2,14 +2,14 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>{{.User.Name}}, please activate your account</title> + <title>{{.Username}}, please activate your account</title> </head> <body> - <p>Hi <b>{{.User.Name}}</b>, thanks for registering at {{.AppName}}!</p> + <p>Hi <b>{{.Username}}</b>, thanks for registering at {{AppName}}!</p> <p>Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>:</p> - <p><a href="{{.AppUrl}}user/activate?code={{.Code}}">{{.AppUrl}}user/activate?code={{.Code}}</a></p> + <p><a href="{{AppUrl}}user/activate?code={{.Code}}">{{AppUrl}}user/activate?code={{.Code}}</a></p> <p>Not working? Try copying and pasting it to your browser.</p> - <p>© 2015 <a target="_blank" href="http://gogs.io">Gogs: Go Git Service</a></p> + <p>© 2016 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p> </body> </html> diff --git a/templates/mail/auth/activate_email.tmpl b/templates/mail/auth/activate_email.tmpl index 73d7f616ef..65cb5045b3 100644 --- a/templates/mail/auth/activate_email.tmpl +++ b/templates/mail/auth/activate_email.tmpl @@ -2,14 +2,14 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>{{.User.Name}}, please verify your e-mail address</title> + <title>{{.Username}}, please verify your e-mail address</title> </head> <body> - <p>Hi <b>{{.User.Name}}</b>,</p> - <p>Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>:</p> - <p><a href="{{.AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}">{{.AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}</a></p> + <p>Hi <b>{{.Username}}</b>,</p> + <p>Please click the following link to verify your email address within <b>{{.ActiveCodeLives}} hours</b>:</p> + <p><a href="{{AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}">{{AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}</a></p> <p>Not working? Try copying and pasting it to your browser.</p> - <p>© 2015 <a target="_blank" href="http://gogs.io">Gogs: Go Git Service</a></p> + <p>© 2016 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p> </body> </html> diff --git a/templates/mail/auth/register_notify.tmpl b/templates/mail/auth/register_notify.tmpl index 864ed55acd..75a4356459 100644 --- a/templates/mail/auth/register_notify.tmpl +++ b/templates/mail/auth/register_notify.tmpl @@ -2,13 +2,13 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>{{.User.Name}}, welcome to {{.AppName}}</title> + <title>{{.Username}}, welcome to {{AppName}}</title> </head> <body> - <p>Hi <b>{{.User.Name}}</b>, this is your registration confirmation email for {{.AppName}}!</p> - <p>You can now login via username: {{.User.Name}}.</p> - <p><a href="{{.AppUrl}}user/login">{{.AppUrl}}user/login</a></p> - <p>© 2015 <a target="_blank" href="http://gogs.io">Gogs: Go Git Service</a></p> + <p>Hi <b>{{.Username}}</b>, this is your registration confirmation email for {{AppName}}!</p> + <p>You can now login via username: {{.Username}}.</p> + <p><a href="{{AppUrl}}user/login">{{AppUrl}}user/login</a></p> + <p>© 2016 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p> </body> </html> diff --git a/templates/mail/auth/reset_passwd.tmpl b/templates/mail/auth/reset_passwd.tmpl index eb29477828..aae0558052 100644 --- a/templates/mail/auth/reset_passwd.tmpl +++ b/templates/mail/auth/reset_passwd.tmpl @@ -2,14 +2,14 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>{{.User.Name}}, you have requested to reset your password</title> + <title>{{.Username}}, you have requested to reset your password</title> </head> <body> - <p>Hi <b>{{.User.Name}}</b>,</p> - <p>Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>:</p> - <p><a href="{{.AppUrl}}user/reset_password?code={{.Code}}">{{.AppUrl}}user/reset_password?code={{.Code}}</a></p> + <p>Hi <b>{{.Username}}</b>,</p> + <p>Please click the following link to verify your email address within <b>{{.ResetPwdCodeLives}} hours</b>:</p> + <p><a href="{{AppUrl}}user/reset_password?code={{.Code}}">{{AppUrl}}user/reset_password?code={{.Code}}</a></p> <p>Not working? Try copying and pasting it to your browser.</p> - <p>© 2015 <a target="_blank" href="http://gogs.io">Gogs: Go Git Service</a></p> + <p>© 2016 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p> </body> </html> |