From 40447752ff97aa306295685dcf4ddd3b13f48320 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 6 Nov 2023 18:14:54 +0100 Subject: [PATCH] [GITEA] Detect file rename and show in history (squash) ctx.Locale --- templates/repo/commits.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}}