diff options
author | gordon-- <gordon_vdlg@gmx.de> | 2021-02-20 23:08:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 17:08:58 -0500 |
commit | 343c75635713ecbb494b7729558d0ba05eaf85dc (patch) | |
tree | 1c0e61f4d9e015b0036238517c246e1b50fba646 /routers/user | |
parent | f3e64f677fd242850beafb1767504722f2dc2703 (diff) | |
download | gitea-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.go | 1 | ||||
-rw-r--r-- | routers/user/profile.go | 1 |
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 |