affects #6755 Signed-off-by: Michael Gnehr <michael@gnehr.de>
This commit is contained in:
parent
f849766998
commit
1e585d7991
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ func Settings(ctx *context.Context) {
|
||||||
func SettingsPost(ctx *context.Context, form auth.UpdateOrgSettingForm) {
|
func SettingsPost(ctx *context.Context, form auth.UpdateOrgSettingForm) {
|
||||||
ctx.Data["Title"] = ctx.Tr("org.settings")
|
ctx.Data["Title"] = ctx.Tr("org.settings")
|
||||||
ctx.Data["PageIsSettingsOptions"] = true
|
ctx.Data["PageIsSettingsOptions"] = true
|
||||||
|
ctx.Data["CurrentVisibility"] = structs.VisibleType(ctx.Org.Organization.Visibility)
|
||||||
|
|
||||||
if ctx.HasError() {
|
if ctx.HasError() {
|
||||||
ctx.HTML(200, tplSettingsOptions)
|
ctx.HTML(200, tplSettingsOptions)
|
||||||
|
|
Reference in a new issue