From 814750e647722ecf5ed2938844744bed139fffd5 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 5 Mar 2022 04:59:29 +0800 Subject: [PATCH] Fix update hint bug (#18996) --- templates/admin/dashboard.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index d9e056973ae..5a4b82f1b96 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -5,7 +5,7 @@ {{template "base/alert" .}} {{if .NeedUpdate}}
-

{{.i18n.Tr "admin.dashboard.new_version_hint" (.RemoteVersion | Str2html) (AppVer | Str2html)}}

+

{{(.i18n.Tr "admin.dashboard.new_version_hint" .RemoteVersion AppVer) | Str2html}}

{{end}}