summaryrefslogtreecommitdiffstats
path: root/templates/user/profile.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r--templates/user/profile.tmpl13
1 files changed, 9 insertions, 4 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index e07b4b0dd8..563bc78307 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -104,10 +104,15 @@
</div>
{{if eq .TabName "activity"}}
- {{if .EnableHeatmap}}
- {{template "user/dashboard/heatmap" .}}
- <div class="ui divider"></div>
- {{end}}
+ {{if .Owner.KeepActivityPrivate}}
+ <div class="ui info message">
+ <p>{{.i18n.Tr "user.disabled_public_activity"}}</p>
+ </div>
+ {{end}}
+ {{if .EnableHeatmap}}
+ {{template "user/dashboard/heatmap" .}}
+ <div class="ui divider"></div>
+ {{end}}
<div class="feeds">
{{template "user/dashboard/feeds" .}}
</div>