aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-03-05 04:59:29 +0800
committerGitHub <noreply@github.com>2022-03-04 20:59:29 +0000
commit814750e647722ecf5ed2938844744bed139fffd5 (patch)
treeb264a5f0e08a770a71e9c1c47e8a7f59b2d6d509 /templates/admin
parent997deecbfa77fe00d8260da2921073a0565dc735 (diff)
downloadgitea-814750e647722ecf5ed2938844744bed139fffd5.tar.gz
gitea-814750e647722ecf5ed2938844744bed139fffd5.zip
Fix update hint bug (#18996)
Diffstat (limited to 'templates/admin')
-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 d9e056973a..5a4b82f1b9 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">