summaryrefslogtreecommitdiffstats
path: root/templates/mail/notify
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-16 00:36:39 +0800
committerUnknwon <u@gogs.io>2016-07-16 00:36:39 +0800
commitf1b8d52eb3ac230ed5a275f4a844ddb0cf48041e (patch)
tree51dda05a9fb7a985a4e91f3e1708ffddf3fee19c /templates/mail/notify
parent7ca5f8f119593023809e6130db75154597c52426 (diff)
downloadgitea-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.tmpl4
-rw-r--r--templates/mail/notify/mention.tmpl17
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>