summaryrefslogtreecommitdiffstats
path: root/routers/org
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2018-12-09 14:42:11 +0800
committerLauris BH <lauris@nix.lv>2018-12-09 08:42:11 +0200
commit7c0c9655325b5413a8bb25bbc5b668d87582e8c8 (patch)
tree13e321d12adc98cb824f07fdfc1e22841cf6d00d /routers/org
parentda5a0b8382c4b5c9913fa02d0a801e543e5a0699 (diff)
downloadgitea-7c0c9655325b5413a8bb25bbc5b668d87582e8c8.tar.gz
gitea-7c0c9655325b5413a8bb25bbc5b668d87582e8c8.zip
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
Diffstat (limited to 'routers/org')
-rw-r--r--routers/org/teams.go2
1 files changed, 2 insertions, 0 deletions
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