From bab6e1ed87ba9abd23bff6f0d886de5ddb1a1a99 Mon Sep 17 00:00:00 2001 From: "Philipp A. Beckmann" Date: Tue, 25 Feb 2020 16:58:37 +0100 Subject: [PATCH] Fixed wrong AppSubUrl in multiple templates (#10447) * Fixed wrong AppSubUrl in OAuth2 app edit page * Replaced all other occurrences of $.AppSubURL for support of sub-paths --- templates/explore/code.tmpl | 2 +- templates/repo/settings/lfs_locks.tmpl | 2 +- templates/user/settings/applications_oauth2_edit.tmpl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl index eb7da976b..418d669fe 100644 --- a/templates/explore/code.tmpl +++ b/templates/explore/code.tmpl @@ -18,7 +18,7 @@
{{range $term := .SearchResultLanguages}} - + {{$term.Language}}
{{$term.Count}}
diff --git a/templates/repo/settings/lfs_locks.tmpl b/templates/repo/settings/lfs_locks.tmpl index 4830fb254..bb6d55a70 100644 --- a/templates/repo/settings/lfs_locks.tmpl +++ b/templates/repo/settings/lfs_locks.tmpl @@ -34,7 +34,7 @@ {{end}} -
+ {{$lock.Owner.DisplayName}} diff --git a/templates/user/settings/applications_oauth2_edit.tmpl b/templates/user/settings/applications_oauth2_edit.tmpl index d1b0beb60..c978ad5c2 100644 --- a/templates/user/settings/applications_oauth2_edit.tmpl +++ b/templates/user/settings/applications_oauth2_edit.tmpl @@ -30,14 +30,14 @@
{{.i18n.Tr "settings.oauth2_regenerate_secret_hint"}} -
+ {{.CsrfTokenHtml}} {{.i18n.Tr "settings.oauth2_regenerate_secret"}}
-
+ {{.CsrfTokenHtml}}