{{if .Team.IsMember $.SignedUser.Id}} {{$.i18n.Tr "org.teams.leave"}} {{else if .IsOrganizationOwner}} {{$.i18n.Tr "org.teams.join"}} {{end}} {{.Team.Name}}

{{if .Team.Description}}{{.Team.Description}}{{else}}{{.i18n.Tr "org.teams.no_desc"}}{{end}}


{{if eq .Team.LowerName "owners"}} {{.i18n.Tr "org.teams.owners_permission_desc" | Str2html}} {{else if (eq .Team.Authorize 1)}} {{.i18n.Tr "org.teams.read_permission_desc" | Str2html}} {{else if (eq .Team.Authorize 2)}} {{.i18n.Tr "org.teams.write_permission_desc" | Str2html}} {{else if (eq .Team.Authorize 3)}} {{.i18n.Tr "org.teams.admin_permission_desc" | Str2html}} {{end}}

{{if .IsOrganizationOwner}} {{end}}