aboutsummaryrefslogtreecommitdiffstats
path: root/routers/user/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/home.go')
-rw-r--r--routers/user/home.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index cbab5c8350..a0e2922898 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -99,6 +99,8 @@ func Dashboard(ctx *context.Context) {
ctx.Data["PageIsDashboard"] = true
ctx.Data["PageIsNews"] = true
ctx.Data["SearchLimit"] = setting.UI.User.RepoPagingNum
+ ctx.Data["EnableHeatmap"] = setting.Service.EnableUserHeatmap
+ ctx.Data["HeatmapUser"] = ctxUser.Name
var err error
var mirrors []*models.Repository