aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLunny Xiao2022-03-05 04:59:29 +0800
committerGitHub2022-03-04 20:59:29 +0000
commit814750e647722ecf5ed2938844744bed139fffd5 (patch)
treeb264a5f0e08a770a71e9c1c47e8a7f59b2d6d509
parent997deecbfa77fe00d8260da2921073a0565dc735 (diff)
Fix update hint bug (#18996)
-rw-r--r--templates/admin/dashboard.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl
index d9e056973..5a4b82f1b 100644
--- a/templates/admin/dashboard.tmpl
+++ b/templates/admin/dashboard.tmpl
@@ -5,7 +5,7 @@
{{template "base/alert" .}}
{{if .NeedUpdate}}
<div class="ui negative message flash-error">
- <p>{{.i18n.Tr "admin.dashboard.new_version_hint" (.RemoteVersion | Str2html) (AppVer | Str2html)}}</p>
+ <p>{{(.i18n.Tr "admin.dashboard.new_version_hint" .RemoteVersion AppVer) | Str2html}}</p>
</div>
{{end}}
<h4 class="ui top attached header">