diff --git a/routers/org/setting.go b/routers/org/setting.go index 7de784c5b..0aeefb50a 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 28660fe36..d58c77ad1 100644 --- a/templates/org/settings/options.tmpl +++ b/templates/org/settings/options.tmpl @@ -60,7 +60,7 @@