Add mail notify for new collaborator
This commit is contained in:
parent
07c3d497a7
commit
02687cbdf3
7 changed files with 93 additions and 18 deletions
18
templates/mail/notify/collaborator.tmpl
Normal file
18
templates/mail/notify/collaborator.tmpl
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
16
templates/mail/notify/mention.tmpl
Normal file
16
templates/mail/notify/mention.tmpl
Normal file
|
@ -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>{{.ActUserName}} mentioned you.</p>
|
||||
<p>
|
||||
---
|
||||
<br>
|
||||
<a href="{{.AppUrl}}{{.IssueLink}}">View it on Gogs</a>.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue