mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-12 12:21:43 +01: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
17 lines
626 B
Handlebars
17 lines
626 B
Handlebars
{{template "base/head" .}}
|
|
<div class="page-content ui one column stackable center aligned page grid oauth2-authorize-application-box {{if .IsRepo}}repository{{end}}">
|
|
{{if .IsRepo}}{{template "repo/header" .}}{{end}}
|
|
<div class="column seven wide">
|
|
<div class="ui middle centered raised segments">
|
|
<h1 class="ui top attached header">
|
|
{{.locale.Tr "auth.authorization_failed" }}
|
|
</h1>
|
|
<h3 class="ui attached segment">{{.Error.ErrorDescription}}</h3>
|
|
<div class="ui attached segment">
|
|
<p>{{.locale.Tr "auth.authorization_failed_desc"}}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|