aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLunny Xiao2022-03-05 02:28:17 +0800
committerGitHub2022-03-04 18:28:17 +0000
commitb811b819e2d50af4b3b2d24ca28551839fd43036 (patch)
treeaf0e9f026d946800837fc26aa895401210e40f9c
parentda985b25ce98827a0a89ff69ccc9279b4da85ca7 (diff)
Fix update hint bug (#19002)
-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">