summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
authorgordon-- <gordon_vdlg@gmx.de>2021-02-20 23:08:58 +0100
committerGitHub <noreply@github.com>2021-02-20 17:08:58 -0500
commit343c75635713ecbb494b7729558d0ba05eaf85dc (patch)
tree1c0e61f4d9e015b0036238517c246e1b50fba646 /routers/user
parentf3e64f677fd242850beafb1767504722f2dc2703 (diff)
downloadgitea-343c75635713ecbb494b7729558d0ba05eaf85dc.tar.gz
gitea-343c75635713ecbb494b7729558d0ba05eaf85dc.zip
Heatmap days clickable (#13935)
* Heatmap days clickable * Error handling * Unselect filter * better dayclick handler * made linter happy * clickable heatmap for profiles Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/home.go1
-rw-r--r--routers/user/profile.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index a8a8a5f3d7..a8020b64e0 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -156,6 +156,7 @@ func Dashboard(ctx *context.Context) {
IncludePrivate: true,
OnlyPerformedBy: false,
IncludeDeleted: false,
+ Date: ctx.Query("date"),
})
if ctx.Written() {
diff --git a/routers/user/profile.go b/routers/user/profile.go
index e19407baa7..5dfee07d76 100644
--- a/routers/user/profile.go
+++ b/routers/user/profile.go
@@ -202,6 +202,7 @@ func Profile(ctx *context.Context) {
IncludePrivate: showPrivate,
OnlyPerformedBy: true,
IncludeDeleted: false,
+ Date: ctx.Query("date"),
})
if ctx.Written() {
return