Skip to content

add missing template variable on organisation settings #7385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add missing template variable on organisation settings
fix #6755

Signed-off-by: Michael Gnehr <[email protected]>
  • Loading branch information
Cherrg committed Jul 8, 2019
commit aca42079fa9941e13b2733952393963e07d81c0f
1 change: 1 addition & 0 deletions routers/org/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func Settings(ctx *context.Context) {
func SettingsPost(ctx *context.Context, form auth.UpdateOrgSettingForm) {
ctx.Data["Title"] = ctx.Tr("org.settings")
ctx.Data["PageIsSettingsOptions"] = true
ctx.Data["CurrentVisibility"] = structs.VisibleType(ctx.Org.Organization.Visibility)

if ctx.HasError() {
ctx.HTML(200, tplSettingsOptions)
Expand Down