1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 19:14:27 +00:00
gitea/templates/mail
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
..
auth Fix invalid params and typo of email templates (#16394) 2021-07-10 19:40:14 +02:00
issue Fix issue with issue default mail template (#16956) (#16975) 2021-09-07 10:06:59 +08:00
notify Localize Email Templates (#16200) 2021-06-23 14:33:21 +02:00
release.tmpl Localize Email Templates (#16200) 2021-06-23 14:33:21 +02:00