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

{{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}}
{{$.i18n.Tr "org.teams.settings"}}
{{end}}