{{if .ProfileReadmeContent}}
{{if .ShowMemberAndTeamTab}}
{{.ProfileReadmeContent}}
{{end}}
{{template "shared/repo_search" .}}
{{template "explore/repo_list" .}}
{{template "base/paginate" .}}
{{if .CanCreateOrgRepo}}
{{end}}
{{if .NumMembers}}
{{end}}
{{ctx.Locale.Tr "new_repo"}}
{{if not .DisableNewPullMirrors}}
{{ctx.Locale.Tr "new_migrate"}}
{{end}}
{{end}}
{{if and .ShowMemberAndTeamTab .ShowOrgProfileReadmeSelector}}
{{- $viewAsRole := Iif (.IsViewingOrgAsMember) (ctx.Locale.Tr "org.members.member") (ctx.Locale.Tr "settings.visibility.public") -}}
{{svg "octicon-eye"}} {{ctx.Locale.Tr "org.view_as_role" $viewAsRole}}
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
{{if .IsViewingOrgAsMember}}{{ctx.Locale.Tr "org.view_as_member_hint"}}{{else}}{{ctx.Locale.Tr "org.view_as_public_hint"}}{{end}}
{{ctx.Locale.Tr "org.members"}} {{.NumMembers}} {{svg "octicon-chevron-right"}}
{{$isMember := .IsOrganizationMember}}
{{range .Members}}
{{if or $isMember (call $.IsPublicMember .ID)}}
{{ctx.AvatarUtils.Avatar . 48}}
{{end}}
{{end}}
{{end}}
{{if .IsOrganizationMember}}
{{ctx.Locale.Tr "org.teams"}}
{{.Org.NumTeams}} {{svg "octicon-chevron-right"}}
{{range .Teams}}
{{end}}
{{if .IsOrganizationOwner}}
{{end}}
{{end}}