From a05ebec9ad218f9d2b9465ec23f89803fe3ad8e5 Mon Sep 17 00:00:00 2001 From: zeripath Date: Wed, 28 Jul 2021 19:09:08 +0100 Subject: [PATCH] Update templates/repo/commits_table.tmpl --- templates/repo/commits_table.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 3022ca8d4c36..7bdcb340d9fe 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -3,7 +3,7 @@ {{if or .PageIsCommits (gt .CommitCount 0)}} {{.CommitCount}} {{.i18n.Tr "repo.commits.commits"}} {{if .Branch}}({{.Branch}}){{end}} {{else if .IsNothingToCompare }} - {{.i18n.Tr "repo.commits.nothing_to_compare" $.BaseBranch $.HeadBranch }} {{if .Branch}}({{.Branch}}){{end}} + {{.i18n.Tr "repo.commits.nothing_to_compare" }} {{if .Branch}}({{.Branch}}){{end}} {{else}} {{.i18n.Tr "repo.commits.no_commits" $.BaseBranch $.HeadBranch }} {{if .Branch}}({{.Branch}}){{end}}