{{template "base/alert" .}}
{{if eq .SignedUserID .ContextUser.ID}}
{{/* the size doesn't take affect (and no need to take affect), image size(width) should be controlled by the parent container since this is not a flex layout*/}}
{{avatar $.Context .ContextUser 256}}
{{else}}
{{avatar $.Context .ContextUser 256}}
{{end}}
{{if .ContextUser.FullName}}{{.ContextUser.FullName}}{{end}}
{{.ContextUser.Name}}
{{if .EnableFeed}}
{{svg "octicon-rss" 18}}
{{end}}
-
{{if .ContextUser.Location}}
- {{svg "octicon-location"}} {{.ContextUser.Location}} {{end}} {{if (eq .SignedUserID .ContextUser.ID)}}
- {{svg "octicon-mail"}} {{.ContextUser.Email}} {{if .ShowUserEmail}} {{svg "octicon-unlock"}} {{else}} {{svg "octicon-lock"}} {{end}} {{else}} {{if .ShowUserEmail}}
- {{svg "octicon-mail"}} {{.ContextUser.Email}} {{end}} {{end}} {{if .ContextUser.Website}}
- {{svg "octicon-link"}} {{.ContextUser.Website}} {{end}} {{if $.RenderedDescription}}
-
{{$.RenderedDescription|Str2html}}
{{end}}
{{range .OpenIDs}}
{{if .Show}}
- {{svg "fontawesome-openid"}} {{.URI}} {{end}} {{end}}
- {{svg "octicon-clock"}} {{.locale.Tr "user.joined_on" (DateTime "short" .ContextUser.CreatedUnix) | Safe}} {{if and .Orgs .HasOrgsVisible}}
-
-
{{range .Orgs}}
{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
- {{avatar $.Context .}} {{end}} {{end}}
{{end}}
{{if .Badges}}
-
-
{{range .Badges}}
- {{end}}
{{end}}
{{if and .IsSigned (ne .SignedUserID .ContextUser.ID)}}
- {{if $.IsFollowing}} {{else}} {{end}}
- {{if $.IsBlocked}} {{else}} {{end}} {{end}}
{{template "user/overview/header" .}}
{{if eq .TabName "activity"}}
{{if .ContextUser.KeepActivityPrivate}}
{{end}}
{{template "user/heatmap" .}}
{{template "user/dashboard/feeds" .}}
{{else if eq .TabName "stars"}}
{{template "explore/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 or (eq .TabName "repositories") (not .ProfileReadme)}}
{{template "explore/repo_search" .}}
{{template "explore/repo_list" .}}
{{template "base/paginate" .}}
{{else if .ProfileReadme}}
{{$.ProfileReadme|Str2html}}
{{end}}