summaryrefslogtreecommitdiffstats
path: root/templates/mail
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-17 15:45:36 -0400
committerUnknwon <u@gogs.io>2015-09-17 15:45:36 -0400
commit562e47f31ced80adc6ffa629e2d8459465c369e9 (patch)
tree3f199d41d4bfebddd8235a46c6c5221dd099c77f /templates/mail
parent9d36fc698627f290f01cd3cc5a7f4eaec7a669fd (diff)
downloadgitea-562e47f31ced80adc6ffa629e2d8459465c369e9.tar.gz
gitea-562e47f31ced80adc6ffa629e2d8459465c369e9.zip
finish all new template for current ones
Diffstat (limited to 'templates/mail')
-rw-r--r--templates/mail/notify/collaborator.tmpl18
-rw-r--r--templates/mail/notify/mention.tmpl17
2 files changed, 17 insertions, 18 deletions
diff --git a/templates/mail/notify/collaborator.tmpl b/templates/mail/notify/collaborator.tmpl
index 36a3149daa..9b7e76edb7 100644
--- a/templates/mail/notify/collaborator.tmpl
+++ b/templates/mail/notify/collaborator.tmpl
@@ -1,18 +1,16 @@
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>{{.Subject}}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>{{.Subject}}</title>
</head>
<body>
- <p>You can now push to this repository.</p>
- <p>
- ---
- <br>
- View it on Gogs:
- <br>
- <a href="{{.AppUrl}}{{.RepoLink}}">{{.AppUrl}}{{.RepoLink}}</a>
- </p>
+ <p>You are now a collaborator of this repository.</p>
+ <p>
+ ---
+ <br>
+ View it on Gogs: <a href="{{.AppUrl}}{{.RepoLink}}">{{.RepoLink}}</a>
+ </p>
</body>
</html>
diff --git a/templates/mail/notify/mention.tmpl b/templates/mail/notify/mention.tmpl
index be022d0dd7..6c6fba32c5 100644
--- a/templates/mail/notify/mention.tmpl
+++ b/templates/mail/notify/mention.tmpl
@@ -1,16 +1,17 @@
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>{{.Subject}}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>{{.Subject}}</title>
</head>
<body>
- <p>{{.ActUserName}} mentioned you.</p>
- <p>
- ---
- <br>
- <a href="{{.AppUrl}}{{.IssueLink}}">View it on Gogs</a>.
- </p>
+ <p>@{{.ActUserName}} mentioned you:</p>
+ <p>{{.Content | Str2html}}</p>
+ <p>
+ ---
+ <br>
+ <a href="{{.AppUrl}}{{.IssueLink}}">View it on Gogs</a>.
+ </p>
</body>
</html>