summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/dashboard/dashboard.tmpl5
-rw-r--r--templates/user/profile.tmpl5
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index bddcc4925b..ac094f24c7 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/templates/user/dashboard/dashboard.tmpl
@@ -5,6 +5,11 @@
{{template "base/alert" .}}
<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 class="ui divider"></div>
+ {{end}}
{{template "user/dashboard/feeds" .}}
</div>
<div id="app" class="six wide column">
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 6cac300408..3f535ba140 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -95,6 +95,11 @@
</div>
{{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 class="ui divider"></div>
+ {{end}}
<div class="feeds">
{{template "user/dashboard/feeds" .}}
</div>