1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

Fix bug for version update hint (#18701)

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
Lunny Xiao
2022-02-10 22:37:10 +08:00
committed by GitHub
parent 7489d96db6
commit 0c70b4c211
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
{{template "base/alert" .}}
{{if .NeedUpdate}}
<div class="ui negative message flash-error">
<p>"Gitea {{.RemoteVersion | Str2html}} is now available, you are running {{.AppVer | Str2html}}. Check the <a href="https://blog.gitea.io">blog</a> for more details.</p>
<p>{{.i18n.Tr "admin.dashboard.new_version_hint" (.RemoteVersion | Str2html) (AppVer | Str2html)}}</p>
</div>
{{end}}
<h4 class="ui top attached header">