Add email footer token to identify if inline comments are present
Add a new mail template that is appended to the end of mails related to users adding comments on changes. The new template adds an extra token at the end of the mail: Gerrit-HasInlineComments: Yes or Gerrit-HasInlineComments: No which will be set depending on whether or not the reviewer has left any inline comments. This will allow users to filter their incoming notification emails according to whether or not the review contains inline comments. Bug: Issue 1531 Change-Id: Iafa5d69cc8a502c7afb1338dec681ca47c63338b
This commit is contained in:
@@ -49,7 +49,14 @@ Comment.vm
|
||||
|
||||
The `Comment.vm` template will determine the contents of the email related to
|
||||
a user submitting comments on changes. It is a `ChangeEmail`: see
|
||||
`ChangeSubject.vm` and `ChangeFooter.vm`.
|
||||
`ChangeSubject.vm`, `ChangeFooter.vm` and `CommentFooter.vm`.
|
||||
|
||||
CommentFooter.vm
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
The `CommentFooter.vm` template will determine the contents of the footer
|
||||
text that will be appended to emails related to a user submitting comments on
|
||||
changes. See `ChangeSubject.vm`, `Comment.vm` and `ChangeFooter.vm`.
|
||||
|
||||
Merged.vm
|
||||
~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user