mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00:00
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792)
* make repo as "pending transfer" if on transfer start doer has no right to create repo in new destination * if new pending transfer ocured, create UI & Mail notifications
This commit is contained in:
17
templates/mail/notify/repo_transfer.tmpl
Normal file
17
templates/mail/notify/repo_transfer.tmpl
Normal file
@ -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>{{.Subject}}.
|
||||
To accept or reject it visit <a href="{{.Link}}">{{.Repo}}</a> or just ignore it.
|
||||
<p>
|
||||
---
|
||||
<br>
|
||||
<a href="{{.Link}}">View it on Gitea</a>.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user