mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-08 14:03:24 +09:00
frontend refactor
This commit is contained in:
@@ -106,7 +106,10 @@ func Dashboard(ctx *context.Context) {
|
||||
ctx.Data["Title"] = ctxUser.DisplayName() + " - " + ctx.Tr("dashboard")
|
||||
ctx.Data["PageIsDashboard"] = true
|
||||
ctx.Data["PageIsNews"] = true
|
||||
ctx.Data["SearchLimit"] = setting.UI.User.RepoPagingNum
|
||||
|
||||
ctx.PageData["dashboardRepoList"] = map[string]interface{}{
|
||||
"searchLimit": setting.UI.User.RepoPagingNum,
|
||||
}
|
||||
|
||||
if setting.Service.EnableUserHeatmap {
|
||||
data, err := models.GetUserHeatmapDataByUserTeam(ctxUser, ctx.Org.Team, ctx.User)
|
||||
|
||||
Reference in New Issue
Block a user