0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-20 04:30:11 +01:00
forgejo/templates
Prasad Katti 4c7a70b348
Fix issue with issue default mail template ()
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 
2021-09-05 09:06:20 +01:00
..
admin Ensure that the default visibility is set on the user create page () 2021-08-28 15:19:52 +01:00
base Make Mermaid.js limit configurable () 2021-07-24 00:21:51 -04:00
custom
explore
mail Fix issue with issue default mail template () 2021-09-05 09:06:20 +01:00
org Add modals to Organization and Team remove/leave () 2021-08-26 22:57:40 -04:00
repo Prevent leave changes dialogs due to autofill fields () 2021-09-02 13:14:37 +01:00
shared
status
swagger Add option to update pull request by rebase () 2021-08-31 16:03:45 +02:00
user Prevent leave changes dialogs due to autofill fields () 2021-09-02 13:14:37 +01:00
home.tmpl
install.tmpl
post-install.tmpl