diff --git a/routers/org/setting.go b/routers/org/setting.go index 7de784c5b8..0aeefb50af 100644 --- a/routers/org/setting.go +++ b/routers/org/setting.go @@ -31,6 +31,7 @@ func Settings(ctx *context.Context) { ctx.Data["Title"] = ctx.Tr("org.settings") ctx.Data["PageIsSettingsOptions"] = true ctx.Data["CurrentVisibility"] = ctx.Org.Organization.Visibility + ctx.Data["RepoAdminChangeTeamAccess"] = ctx.Org.Organization.RepoAdminChangeTeamAccess ctx.HTML(200, tplSettingsOptions) } diff --git a/templates/org/settings/options.tmpl b/templates/org/settings/options.tmpl index 28660fe365..d58c77ad10 100644 --- a/templates/org/settings/options.tmpl +++ b/templates/org/settings/options.tmpl @@ -60,7 +60,7 @@