diff options
author | Lunny Xiao | 2022-03-05 02:28:17 +0800 |
---|---|---|
committer | GitHub | 2022-03-04 18:28:17 +0000 |
commit | b811b819e2d50af4b3b2d24ca28551839fd43036 (patch) | |
tree | af0e9f026d946800837fc26aa895401210e40f9c | |
parent | da985b25ce98827a0a89ff69ccc9279b4da85ca7 (diff) |
Fix update hint bug (#19002)
-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"> |