diff options
author | Unknwon <u@gogs.io> | 2015-09-25 19:45:44 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-25 19:45:44 -0400 |
commit | 21e13cb51e73471d186b963e26404f89abd81fce (patch) | |
tree | 9dfcbb3f446321066d2e49feb3b71b99d1c6bdca /templates/mail | |
parent | 986447335dd4057003b2715034948e87a47bed6b (diff) | |
download | gitea-21e13cb51e73471d186b963e26404f89abd81fce.tar.gz gitea-21e13cb51e73471d186b963e26404f89abd81fce.zip |
#1525 Triggere mailer for admin created accounts
Diffstat (limited to 'templates/mail')
-rw-r--r-- | templates/mail/auth/register_notify.tmpl | 13 | ||||
-rw-r--r-- | templates/mail/auth/register_success.tmpl | 22 |
2 files changed, 13 insertions, 22 deletions
diff --git a/templates/mail/auth/register_notify.tmpl b/templates/mail/auth/register_notify.tmpl new file mode 100644 index 0000000000..ae9d76b727 --- /dev/null +++ b/templates/mail/auth/register_notify.tmpl @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>{{.User.Name}}, 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>© 2015 <a target="_blank" href="http://gogs.io">Gogs: Go Git Service</a></p> +</body> +</html> diff --git a/templates/mail/auth/register_success.tmpl b/templates/mail/auth/register_success.tmpl deleted file mode 100644 index 7b642ea052..0000000000 --- a/templates/mail/auth/register_success.tmpl +++ /dev/null @@ -1,22 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>{{.User.Name}}, welcome to {{.AppName}}</title> -</head> - -<body class="mail register success"> - <div class="ui segment"> - <div class="ui header"> - <img class="ui image" src="{{.AppUrl}}/img/favicon.png"> - {{.AppName}} - </div> - <div class="ui divider"></div> - <p>Hi <b>{{.User.Name}}</b>, this is your registration email for {{.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>Not working? Try copying and pasting it to your browser.</p> - </div> - <p class="copyright text grey">© 2015 <a target="_blank" href="http://gogs.io">Gogs: Go Git Service</a></p> -</body> -</html> |