gitea/templates/mail/issue
Prasad Katti 30708d9ffe
Fix issue with issue default mail template (#16956) (#16975)
Backport #16956

The mail template rendering was failing with the error -
`...vices/mailer/mail.go:301:composeIssueCommentMessages() [E] ExecuteTemplate [issue/default/body]: template: issue/default:65:10: executing "issue/default" at <.i18n.Tr>: can't evaluate field i18n in type *models.Comment`

The issue was the template variable i18n is available in the outer scope.

Fix #16877

Co-authored-by: 6543 <6543@obermui.de>
2021-09-07 10:06:59 +08:00
..
assigned.tmpl Localize Email Templates (#16200) 2021-06-23 14:33:21 +02:00
default.tmpl Fix issue with issue default mail template (#16956) (#16975) 2021-09-07 10:06:59 +08:00