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/issue | |
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/issue')
-rw-r--r-- | templates/mail/issue/comment.tmpl | 16 | ||||
-rw-r--r-- | templates/mail/issue/mention.tmpl | 17 |
2 files changed, 33 insertions, 0 deletions
diff --git a/templates/mail/issue/comment.tmpl b/templates/mail/issue/comment.tmpl new file mode 100644 index 0000000000..5dabb51950 --- /dev/null +++ b/templates/mail/issue/comment.tmpl @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>{{.Subject}}</title> +</head> + +<body> + <p>{{.Body | Str2html}}</p> + <p> + --- + <br> + <a href="{{.Link}}">View it on Gogs</a>. + </p> +</body> +</html> diff --git a/templates/mail/issue/mention.tmpl b/templates/mail/issue/mention.tmpl new file mode 100644 index 0000000000..53ff367e24 --- /dev/null +++ b/templates/mail/issue/mention.tmpl @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>{{.Subject}}</title> +</head> + +<body> + <p>@{{.Doer.Name}} mentioned you:</p> + <p>{{.Body | Str2html}}</p> + <p> + --- + <br> + <a href="{{.Link}}">View it on Gogs</a>. + </p> +</body> +</html>
\ No newline at end of file |