From 826afa1622b4246bb46fccc2a51cb5a70d236f73 Mon Sep 17 00:00:00 2001
From: Lunny Xiao
Date: Fri, 14 Jan 2022 00:43:25 +0800
Subject: [PATCH] Fix unsupported compare
---
templates/repo/release/list.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl
index 7e99d48f3b445..add7ea1d3972a 100644
--- a/templates/repo/release/list.tmpl
+++ b/templates/repo/release/list.tmpl
@@ -99,7 +99,7 @@
{{.Publisher.Name}}
{{ end }}
- {{$.i18n.Tr "repo.release.ahead.commits" .NumCommitsBehind | Str2html}} {{$.i18n.Tr "repo.release.ahead.target" $.DefaultBranch}}
+ {{$.i18n.Tr "repo.release.ahead.commits" .NumCommitsBehind | Str2html}} {{$.i18n.Tr "repo.release.ahead.target" $.DefaultBranch}}
{{if $.Permission.CanRead $.UnitTypeCode}}