{{template "base/alert" .}}
{{template "shared/user/profile_big_avatar" .}}
{{template "user/overview/header" .}} {{if eq .TabName "activity"}} {{if eq .SignedUserID .ContextUser.ID}}

{{if .ContextUser.KeepActivityPrivate}} {{ctx.Locale.Tr "user.public_activity.visibility_hint.self_private" "/user/settings#keep-activity-private"}} {{else}} {{ctx.Locale.Tr "user.public_activity.visibility_hint.self_public" "/user/settings#keep-activity-private"}} {{end}}

{{else}} {{if .IsAdmin}}
{{if .ContextUser.KeepActivityPrivate}} {{ctx.Locale.Tr "user.public_activity.visibility_hint.admin_private"}} {{else}} {{ctx.Locale.Tr "user.public_activity.visibility_hint.admin_public"}} {{end}}
{{else}} {{if .ContextUser.KeepActivityPrivate}}

{{ctx.Locale.Tr "user.disabled_public_activity"}}

{{end}} {{end}} {{end}} {{if or .IsAdmin (eq .SignedUserID .ContextUser.ID) (not .ContextUser.KeepActivityPrivate)}} {{template "user/heatmap" .}} {{template "user/dashboard/feeds" .}} {{end}} {{else if eq .TabName "stars"}}
{{template "shared/repo_search" .}} {{template "explore/repo_list" .}} {{template "base/paginate" .}}
{{else if eq .TabName "following"}} {{template "repo/user_cards" .}} {{else if eq .TabName "followers"}} {{template "repo/user_cards" .}} {{else if eq .TabName "overview"}}
{{.ProfileReadme}}
{{else}} {{template "shared/repo_search" .}} {{template "explore/repo_list" .}} {{template "base/paginate" .}} {{end}}