diff options
author | Lauris BH <lauris@nix.lv> | 2018-11-27 11:36:54 +0200 |
---|---|---|
committer | Jonas Franz <info@jonasfranz.software> | 2018-11-27 10:36:54 +0100 |
commit | e09fe487734238708c2f9fc7c47dbb2132250400 (patch) | |
tree | bd302a98f3badfe9e2b74283e2d068bfd92bb5f8 /templates/user/dashboard | |
parent | c03a9b3e422ded9d8200a83b94ab56ddb4740d94 (diff) | |
download | gitea-e09fe487734238708c2f9fc7c47dbb2132250400.tar.gz gitea-e09fe487734238708c2f9fc7c47dbb2132250400.zip |
Refactor heatmap to vue component (#5401)
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r-- | templates/user/dashboard/dashboard.tmpl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index ac094f24c7..e7b378e364 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -6,8 +6,13 @@ <div class="ui mobile reversed stackable grid"> <div class="ten wide column"> {{if .EnableHeatmap}} - <div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.i18n.Tr "user.heatmap.loading"}}</div> - <div id="user-heatmap"></div> + <div id="user-heatmap" style="padding-right: 40px"> + <activity-heatmap :locale="locale" :suburl="suburl" :user="heatmapUser"> + <div slot="loading"> + <div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.i18n.Tr "user.heatmap.loading"}}</div> + </div> + </activity-heatmap> + </div> <div class="ui divider"></div> {{end}} {{template "user/dashboard/feeds" .}} |