From f430050d244f8bbefc0726b786d49b70bf6a8234 Mon Sep 17 00:00:00 2001 From: zeripath Date: Sun, 15 Jan 2023 23:29:27 +0000 Subject: Fix leaving organization bug on user settings -> orgs (#21983) (#22438) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport #21983 Fix #21772 Co-authored-by: wxiaoguang Co-authored-by: 花墨 Co-authored-by: wxiaoguang Co-authored-by: Lunny Xiao Co-authored-by: KN4CK3R --- templates/user/settings/organization.tmpl | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'templates/user') diff --git a/templates/user/settings/organization.tmpl b/templates/user/settings/organization.tmpl index e25d5e7fa6..703ac8ad8e 100644 --- a/templates/user/settings/organization.tmpl +++ b/templates/user/settings/organization.tmpl @@ -17,9 +17,13 @@ {{range .Orgs}}
-
+ {{$.CsrfTokenHtml}} - +
{{avatar . 28 "mini"}} @@ -36,4 +40,14 @@
+ {{template "base/footer" .}} -- cgit v1.2.3