From 49933c7fb09cc98ae0e57a483d68011ac67fd492 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 25 Nov 2021 00:12:54 +0800 Subject: Create menus for organization pages (#17802) * Create menus for organization pages * Fix frontend lint * Fix frontend lint --- routers/web/org/home.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers') diff --git a/routers/web/org/home.go b/routers/web/org/home.go index 0dc441fe84..52f0282b5c 100644 --- a/routers/web/org/home.go +++ b/routers/web/org/home.go @@ -142,6 +142,7 @@ func Home(ctx *context.Context) { ctx.Data["Members"] = members ctx.Data["Teams"] = ctx.Org.Teams ctx.Data["DisableNewPullMirrors"] = setting.Mirror.DisableNewPull + ctx.Data["PageIsViewRepositories"] = true pager := context.NewPagination(int(count), setting.UI.User.RepoPagingNum, page, 5) pager.SetDefaultParams(ctx) -- cgit v1.2.3