{{template "base/alert" .}}
{{range .Members}}
{{$isPublic := index $.MembersIsPublicMember .ID}}
{{end}}
{{template "base/paginate" .}}
{{template "shared/user/name" .}}
{{if not $isPublic}}
{{ctx.Locale.Tr "org.members.private"}}
{{end}}
{{if not $.PublicOnly}}
{{ctx.Locale.Tr "org.members.member_role"}}
{{if index $.MembersIsUserOrgOwner .ID}}{{svg "octicon-shield-lock"}} {{ctx.Locale.Tr "org.members.owner"}}{{else}}{{ctx.Locale.Tr "org.members.member"}}{{end}}
{{if $.IsOrganizationOwner}}
{{ctx.Locale.Tr "admin.users.2fa"}}
{{if index $.MembersTwoFaStatus .ID}}
{{svg "octicon-check"}}
{{else}}
{{svg "octicon-x"}}
{{end}}
{{end}}
{{end}}
{{if or (eq $.SignedUser.ID .ID) $.IsOrganizationOwner}}
{{if $isPublic}}
{{svg "octicon-eye-closed" 12 "icon"}}{{ctx.Locale.Tr "org.members.public_helper"}}
{{else}}
{{svg "octicon-eye" 12 "icon"}}{{ctx.Locale.Tr "org.members.private_helper"}}
{{end}}
{{end}}
{{if eq $.SignedUser.ID .ID}}
{{else if $.IsOrganizationOwner}}
{{end}}