aboutsummaryrefslogtreecommitdiffstats
path: root/templates/status/500.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-02-23 02:05:47 +0800
committerGitHub <noreply@github.com>2024-02-22 18:05:47 +0000
commitc9d0e63c202827756c637d9ca7bbde685c1984b7 (patch)
tree0063802c261722b7225e9802b7818593d9b195e2 /templates/status/500.tmpl
parent5ed17d9895bf678374ef5227ca37870c1c170802 (diff)
downloadgitea-c9d0e63c202827756c637d9ca7bbde685c1984b7.tar.gz
gitea-c9d0e63c202827756c637d9ca7bbde685c1984b7.zip
Remove unnecessary "Str2html" modifier from templates (#29319)
Follow #29165
Diffstat (limited to 'templates/status/500.tmpl')
-rw-r--r--templates/status/500.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index edcb90f9a4..d6cff28174 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -42,7 +42,7 @@
{{end}}
<div class="center gt-mt-5">
{{if or .SignedUser.IsAdmin .ShowFooterVersion}}<p>{{ctx.Locale.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}}
- {{if .SignedUser.IsAdmin}}<p>{{ctx.Locale.Tr "error.report_message" | Str2html}}</p>{{end}}
+ {{if .SignedUser.IsAdmin}}<p>{{ctx.Locale.Tr "error.report_message"}}</p>{{end}}
</div>
</div>
</div>