0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:24:06 +01:00
gitea/templates/mail
Prasad Katti 4c7a70b348
Fix issue with issue default mail template (#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
2021-09-05 09:06:20 +01: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) 2021-09-05 09:06:20 +01: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