diff options
author | Lunny Xiao | 2022-03-05 04:59:29 +0800 |
---|---|---|
committer | GitHub | 2022-03-04 20:59:29 +0000 |
commit | 814750e647722ecf5ed2938844744bed139fffd5 (patch) | |
tree | b264a5f0e08a770a71e9c1c47e8a7f59b2d6d509 | |
parent | 997deecbfa77fe00d8260da2921073a0565dc735 (diff) |
Fix update hint bug (#18996)
-rw-r--r-- | templates/admin/dashboard.tmpl | 2 |
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"> |