{{.Team.Name}}
{{if .Team.IsMember $.SignedUser.ID}}
{{$.CsrfTokenHtml}}
{{else if .IsOrganizationOwner}}
{{$.CsrfTokenHtml}}
{{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)}} {{if .Team.IncludesAllRepositories}} {{.i18n.Tr "org.teams.all_repositories_read_permission_desc" | Str2html}} {{else}} {{.i18n.Tr "org.teams.read_permission_desc" | Str2html}} {{end}} {{else if (eq .Team.Authorize 2)}} {{if .Team.IncludesAllRepositories}} {{.i18n.Tr "org.teams.all_repositories_write_permission_desc" | Str2html}} {{else}} {{.i18n.Tr "org.teams.write_permission_desc" | Str2html}} {{end}} {{else if (eq .Team.Authorize 3)}} {{if .Team.IncludesAllRepositories}} {{.i18n.Tr "org.teams.all_repositories_admin_permission_desc" | Str2html}} {{else}} {{.i18n.Tr "org.teams.admin_permission_desc" | Str2html}} {{end}} {{end}} {{if .Team.CanCreateOrgRepo}}

{{.i18n.Tr "org.teams.create_repo_permission_desc" | Str2html}} {{end}}
{{if .IsOrganizationOwner}}
{{$.i18n.Tr "org.teams.settings"}}
{{end}}