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/notify | |
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/notify')
-rw-r--r-- | templates/mail/notify/collaborator.tmpl | 4 | ||||
-rw-r--r-- | templates/mail/notify/mention.tmpl | 17 |
2 files changed, 2 insertions, 19 deletions
diff --git a/templates/mail/notify/collaborator.tmpl b/templates/mail/notify/collaborator.tmpl index a4748093ad..63d5637183 100644 --- a/templates/mail/notify/collaborator.tmpl +++ b/templates/mail/notify/collaborator.tmpl @@ -6,11 +6,11 @@ </head> <body> - <p>You are now a collaborator of this repository.</p> + <p>You have been added as a collaborator of repository: <code>{{.RepoName}}</code></p> <p> --- <br> - View it on Gogs: <a href="{{.AppUrl}}{{.RepoLink}}">{{.RepoLink}}</a> + <a href="{{.Link}}">View it on Gogs</a>. </p> </body> </html> diff --git a/templates/mail/notify/mention.tmpl b/templates/mail/notify/mention.tmpl deleted file mode 100644 index 048a0c9c1c..0000000000 --- a/templates/mail/notify/mention.tmpl +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>{{.Subject}}</title> -</head> - -<body> - <p>@{{.ActUserName}} mentioned you:</p> - <p>{{.Content | Str2html}}</p> - <p> - --- - <br> - <a href="{{.AppUrl}}{{.IssueLink}}">View it on Gogs</a>. - </p> -</body> -</html> |