aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-11-25 00:12:54 +0800
committerGitHub <noreply@github.com>2021-11-25 00:12:54 +0800
commit49933c7fb09cc98ae0e57a483d68011ac67fd492 (patch)
tree8d28bc3463dae5e97a2eec8476d1b659898c4b8d /routers
parent71ed96b0d5048b900b7f323d9febb921f641a0bd (diff)
downloadgitea-49933c7fb09cc98ae0e57a483d68011ac67fd492.tar.gz
gitea-49933c7fb09cc98ae0e57a483d68011ac67fd492.zip
Create menus for organization pages (#17802)
* Create menus for organization pages * Fix frontend lint * Fix frontend lint
Diffstat (limited to 'routers')
-rw-r--r--routers/web/org/home.go1
1 files changed, 1 insertions, 0 deletions
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)