- {{template "base/alert" .}}
-
- {{if not .AdditionalScopes}}
- {{ctx.Locale.Tr "auth.authorize_application_description"}}
- {{end}}
- {{ctx.Locale.Tr "auth.authorize_application_created_by" .ApplicationCreatorLinkHTML}}
- {{ctx.Locale.Tr "auth.authorize_application_with_scopes" (HTMLFormat "%s" .Scope)}}
-
-
+
+
+
+ {{template "base/alert" .}}
+
+ {{if not .AdditionalScopes}}
+ {{ctx.Locale.Tr "auth.authorize_application_description"}}
+ {{end}}
+ {{ctx.Locale.Tr "auth.authorize_application_created_by" .ApplicationCreatorLinkHTML}}
+ {{ctx.Locale.Tr "auth.authorize_application_with_scopes" (HTMLFormat "%s" .Scope)}}
+
+
+
+
{{ctx.Locale.Tr "auth.authorize_redirect_notice" .ApplicationRedirectDomainHTML}}
+
+
+
diff --git a/templates/user/auth/grant_error.tmpl b/templates/user/auth/grant_error.tmpl
index e37c4f6544..7a4521d331 100644
--- a/templates/user/auth/grant_error.tmpl
+++ b/templates/user/auth/grant_error.tmpl
@@ -1,15 +1,12 @@
{{template "base/head" .}}
-
- {{if .IsRepo}}{{template "repo/header" .}}{{end}}
-
-
-
-
{{.Error.ErrorDescription}}
-
-
{{ctx.Locale.Tr "auth.authorization_failed_desc"}}
-
+
+
+
+
{{.Error.ErrorDescription}}
+
+
{{ctx.Locale.Tr "auth.authorization_failed_desc"}}