diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-04-26 03:48:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 15:48:30 -0400 |
commit | 0e8045d8ea51b1bf856cfd9c57cabd8187a3a2ab (patch) | |
tree | 90294cc32a89f4354ed3ad76d328dd2973b50fbf /templates/status | |
parent | 9219534447411f6ffe507fee64f89c619c29d501 (diff) | |
download | gitea-0e8045d8ea51b1bf856cfd9c57cabd8187a3a2ab.tar.gz gitea-0e8045d8ea51b1bf856cfd9c57cabd8187a3a2ab.zip |
Fix template function DateTime (#24317)
Before, 500 error
![image](https://user-images.githubusercontent.com/2114189/234170176-403ffd1b-ec27-42be-bff9-86184dc8d74d.png)
Diffstat (limited to 'templates/status')
-rw-r--r-- | templates/status/500.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index 27c087bc18..bca0387756 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -6,7 +6,7 @@ <div class="ui container gt-mt-5"> {{if .ErrorMsg}} <p>{{.locale.Tr "error.occurred"}}:</p> - <pre class="gt-whitespace-pre-wrap">{{.ErrorMsg}}</pre> + <pre class="gt-whitespace-pre-wrap gt-break-all">{{.ErrorMsg}}</pre> {{end}} <div class="center gt-mt-5"> |