diff options
author | Jimmy Praet <jimmy.praet@telenet.be> | 2021-06-23 06:14:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 00:14:22 -0400 |
commit | 17030ced75059ec21f6fb1945a751c3ebef29a32 (patch) | |
tree | 6d7d79c766335728961e02eb80da4ae08fbf7d9b /templates | |
parent | 66f8da538a8b1bd63ea1a0f97202ee0d46c15c4f (diff) | |
download | gitea-17030ced75059ec21f6fb1945a751c3ebef29a32.tar.gz gitea-17030ced75059ec21f6fb1945a751c3ebef29a32.zip |
Improve notifications for WIP draft PR's (#14663)
* #14559 Reduce amount of email notifications for WIP draft PR's
don't notify repo watchers of WIP draft PR's
* #13190 Notification when WIP Pull Request is ready for review
* Send email notification to repo watchers when WIP PR is created
* Send ui notification to repo watchers when WIP PR is created
* send specific email notification when PR is marked ready for review
instead of reusing the CreatePullRequest action
* Fix lint error
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/mail/issue/default.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/mail/issue/default.tmpl b/templates/mail/issue/default.tmpl index 4b492dad8a..02832c7e4d 100644 --- a/templates/mail/issue/default.tmpl +++ b/templates/mail/issue/default.tmpl @@ -51,6 +51,8 @@ <b>@{{.Doer.Name}}</b> commented on this pull request. {{else if eq .ActionName "review_dismissed"}} <b>@{{.Doer.Name}}</b> dismissed last review from {{.Comment.Review.Reviewer.Name}} for this pull request. + {{else if eq .ActionName "ready_for_review"}} + <b>@{{.Doer.Name}}</b> marked this pull request ready for review. {{end}} {{- if eq .Body ""}} |