Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with issue default mail template (#16956) #16975

Merged
merged 3 commits into from
Sep 7, 2021

Commits on Sep 6, 2021

  1. Fix issue with issue default mail template (go-gitea#16956)

    Backport go-gitea#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 go-gitea#16877
    prasadkatti committed Sep 6, 2021
    Configuration menu
    Copy the full SHA
    ea388c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2eed022 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2021

  1. Configuration menu
    Copy the full SHA
    baa9ceb View commit details
    Browse the repository at this point in the history