feat(lored,user): add activity feed for user overview tab

This commit is contained in:
Guz
2025-09-30 17:51:35 -03:00
parent e85523121d
commit ca2a695a64
3 changed files with 64 additions and 56 deletions

View File

@@ -26,7 +26,19 @@
{{else if eq .TabName "followers"}}
{{template "repo/user_cards" .}}
{{else if eq .TabName "overview"}}
<div id="readme_profile" class="render-content markup">{{.ProfileReadmeContent}}</div>
{{if .HasUserProfileReadme}}
<div id="readme_profile" class="render-content markup">{{.ProfileReadmeContent}}</div>
{{end}}
{{if (and (or .HeatmapData .Feeds) (not .ContextUser.KeepActivityPrivate))}}
<div class="divider"></div>
{{end}}
{{if .ContextUser.KeepActivityPrivate}}
<div class="ui info message">
<p>{{ctx.Locale.Tr "user.disabled_public_activity"}}</p>
</div>
{{end}}
{{template "user/heatmap" .}}
{{template "user/dashboard/feeds" .}}
{{else if eq .TabName "organizations"}}
{{template "repo/user_cards" .}}
{{else}}