From 7c0c9655325b5413a8bb25bbc5b668d87582e8c8 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 9 Dec 2018 14:42:11 +0800 Subject: Improve team members and repositories settings UI (#5457) * improve team members and repositories settings UI * use tab on team pages * add default description on team members and repos * add blank on numbers and texts * improve translation --- routers/org/teams.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'routers/org') diff --git a/routers/org/teams.go b/routers/org/teams.go index 1aee99fb88..80309dff44 100644 --- a/routers/org/teams.go +++ b/routers/org/teams.go @@ -228,6 +228,7 @@ func NewTeamPost(ctx *context.Context, form auth.CreateTeamForm) { func TeamMembers(ctx *context.Context) { ctx.Data["Title"] = ctx.Org.Team.Name ctx.Data["PageIsOrgTeams"] = true + ctx.Data["PageIsOrgTeamMembers"] = true if err := ctx.Org.Team.GetMembers(); err != nil { ctx.ServerError("GetMembers", err) return @@ -239,6 +240,7 @@ func TeamMembers(ctx *context.Context) { func TeamRepositories(ctx *context.Context) { ctx.Data["Title"] = ctx.Org.Team.Name ctx.Data["PageIsOrgTeams"] = true + ctx.Data["PageIsOrgTeamRepos"] = true if err := ctx.Org.Team.GetRepositories(); err != nil { ctx.ServerError("GetRepositories", err) return -- cgit v1.2.3