mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 01:34:25 +00:00
d55a0b7238
* Refactor `i18n` to `locale` - Currently we're using the `i18n` variable naming for the `locale` struct. This contains locale's specific information and cannot be used for general i18n purpose, therefore refactoring it to `locale` makes more sense. - Ref: https://github.com/go-gitea/gitea/pull/20096#discussion_r906699200 * Update routers/install/install.go
14 lines
567 B
Handlebars
14 lines
567 B
Handlebars
{{template "base/head" .}}
|
|
<div class="page-content ui container full-screen-width center">
|
|
<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>{{.locale.Tr "error.occurred"}}:</p>
|
|
<pre style="text-align: left">{{.ErrorMsg}}</pre>
|
|
{{end}}
|
|
{{if .ShowFooterVersion}}<p>{{.locale.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}}
|
|
{{if .IsAdmin}}<p>{{.locale.Tr "error.report_message" | Safe}}</p>{{end}}
|
|
</div>
|
|
{{template "base/footer" .}}
|