Clean up org pages layout (#37445)

1. Fix overview sidebar regression
2. Remove unnecessary classes and styles
3. Fix "org invite" page
This commit is contained in:
wxiaoguang
2026-04-28 07:30:27 +08:00
committed by GitHub
parent 89d358d8a7
commit 4952a48b4e
8 changed files with 52 additions and 101 deletions
+2
View File
@@ -609,6 +609,8 @@ func DeleteTeam(ctx *context.Context) {
// TeamInvite renders the team invite page
func TeamInvite(ctx *context.Context) {
invite, org, team, inviter, err := getTeamInviteFromContext(ctx)
// TODO: to quickly debug the UI, can uncomment this (don't worry, it won't pass CI lint)
// invite, org, team, inviter, err = &org_model.TeamInvite{}, &org_model.Organization{}, &org_model.Team{}, ctx.Doer, nil
if err != nil {
if org_model.IsErrTeamInviteNotFound(err) {
ctx.NotFound(err)