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/profile.tmpl | |
parent | c03a9b3e422ded9d8200a83b94ab56ddb4740d94 (diff) | |
download | gitea-e09fe487734238708c2f9fc7c47dbb2132250400.tar.gz gitea-e09fe487734238708c2f9fc7c47dbb2132250400.zip |
Refactor heatmap to vue component (#5401)
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r-- | templates/user/profile.tmpl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 3f535ba140..350032e564 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -96,8 +96,13 @@ {{if eq .TabName "activity"}} {{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}} <div class="feeds"> |