diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index b3d983029b..7b3b27af1d 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -15,7 +15,7 @@ {{template "repo/commits_table" .}} {{if .OldFilename}}
- {{.locale.Tr "repo.commits.renamed_from" .OldFilename}} ({{.locale.Tr "repo.commits.browse_further"}}) + {{ctx.Locale.Tr "repo.commits.renamed_from" .OldFilename}} ({{ctx.Locale.Tr "repo.commits.browse_further"}})
{{end}}