diff options
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> |