aboutsummaryrefslogtreecommitdiffstats
path: root/routers/org/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/org/home.go')
-rw-r--r--routers/org/home.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/org/home.go b/routers/org/home.go
index 0a9f176bdc..9ca0258784 100644
--- a/routers/org/home.go
+++ b/routers/org/home.go
@@ -127,6 +127,8 @@ func Home(ctx *context.Context) {
ctx.Data["Members"] = members
ctx.Data["Teams"] = org.Teams
+ ctx.Data["DisabledMirrors"] = setting.Repository.DisableMirrors
+
pager := context.NewPagination(int(count), setting.UI.User.RepoPagingNum, page, 5)
pager.SetDefaultParams(ctx)
ctx.Data["Page"] = pager