aboutsummaryrefslogtreecommitdiffstats
path: root/templates/status/500.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2021-12-15 14:59:57 +0800
committerGitHub <noreply@github.com>2021-12-15 14:59:57 +0800
commit4da1d9781025aa4a85899b1ddeb25aabbaa82703 (patch)
tree9714f71f2fb042e44d418fbcfc56cd8440a1bbb1 /templates/status/500.tmpl
parent9d943bf374e56e4d403303a6a2caafc1c79cdb6f (diff)
downloadgitea-4da1d9781025aa4a85899b1ddeb25aabbaa82703.tar.gz
gitea-4da1d9781025aa4a85899b1ddeb25aabbaa82703.zip
Refactor HTTP request context (#17979)
Diffstat (limited to 'templates/status/500.tmpl')
-rw-r--r--templates/status/500.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index e2eeb407b8..43ff2c12e8 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -3,8 +3,10 @@
<p style="margin-top: 100px"><img class="ui centered image" src="{{AssetUrlPrefix}}/img/500.png" alt="500"/></p>
<div class="ui divider"></div>
<br>
- {{if .ErrorMsg}}<p>{{.i18n.Tr "error.occurred"}}:</p>
- <pre style="text-align: left">{{.ErrorMsg}}</pre>{{end}}
+ {{if .ErrorMsg}}
+ <p>{{.i18n.Tr "error.occurred"}}:</p>
+ <pre style="text-align: left">{{.ErrorMsg}}</pre>
+ {{end}}
{{if .ShowFooterVersion}}<p>{{.i18n.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}}
{{if .IsAdmin}}<p>{{.i18n.Tr "error.report_message" | Safe}}</p>{{end}}
</div>