{{template "ng/base/head" .}} {{template "ng/base/header" .}} {{template "org/base/header" .}}
{{template "ng/base/alert" .}}
{{if .IsOrganizationOwner}} {{.i18n.Tr "org.create_new_team"}} {{end}}
{{range .Teams}}
{{if .IsMember $.SignedUser.Id}} {{$.i18n.Tr "org.teams.leave"}} {{else if $.IsOrganizationOwner}} {{$.i18n.Tr "org.teams.join"}} {{end}} {{.Name}}
{{if .NumMembers}}
{{range .Members}} {{end}}
{{end}}
{{end}}
{{template "ng/base/footer" .}}