You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
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>
3 years ago
..
admin Ensure that the default visibility is set on the user create page (#16845) (#16862) 3 years ago
base Add custom emoji support (#16004) 4 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Issue sidebar and misc css fixes (#15524) 4 years ago
mail Fix issue with issue default mail template (#16956) (#16975) 3 years ago
org Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
repo Prevent leave changes dialogs due to autofill fields (#16912) (#16920) 3 years ago
shared Remove branch URL before IssueRefURL (#15968) 4 years ago
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
swagger Swagger AccessToken fixes (#16574) (#16597) 4 years ago
user Add fluid to ui container class to remove margin (#16396) (#16976) 3 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
install.tmpl Remove utf8 option from installation page (#16126) 4 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago