Skip to content

Commit b3af748

Browse files
yp05327GiteaBot
andauthored
Fix missing badges in org settings page (#24654)
Improve #24232 Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/e5c5a7b8-e071-4713-b622-5ae8e272d6fd) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/5a9e38b5-384e-46c5-8400-dafebbd08fee) Co-authored-by: Giteabot <teabot@gitea.io>
1 parent bcd0733 commit b3af748

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/org/setting.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func Settings(ctx *context.Context) {
4646
ctx.Data["PageIsSettingsOptions"] = true
4747
ctx.Data["CurrentVisibility"] = ctx.Org.Organization.Visibility
4848
ctx.Data["RepoAdminChangeTeamAccess"] = ctx.Org.Organization.RepoAdminChangeTeamAccess
49+
ctx.Data["ContextUser"] = ctx.ContextUser
4950
ctx.HTML(http.StatusOK, tplSettingsOptions)
5051
}
5152

0 commit comments

Comments
 (0)