{{template "org/header" .}}
{{.CsrfTokenHtml}}

{{if .PageIsOrgTeamsNew}}{{.locale.Tr "org.create_new_team"}}{{else}}{{.locale.Tr "org.teams.settings"}}{{end}}

{{template "base/alert" .}}
{{if eq .Team.LowerName "owners"}} {{end}} {{.locale.Tr "org.team_name_helper"}}
{{.locale.Tr "org.team_desc_helper"}}
{{if not (eq .Team.LowerName "owners")}}

{{.locale.Tr "org.teams.specific_repositories_helper" | Str2html}}
{{.locale.Tr "org.teams.all_repositories_helper" | Str2html}}
{{.locale.Tr "org.teams.can_create_org_repo_helper"}}

{{.locale.Tr "org.teams.general_access_helper"}}
{{.locale.Tr "org.teams.admin_access_helper"}}
{{range $t, $unit := $.Units}} {{if ge $unit.MaxPerm 2}} {{end}} {{end}}
{{.locale.Tr "units.unit"}} {{.locale.Tr "org.teams.none_access"}} {{svg "octicon-question" 16 "gt-ml-2"}} {{.locale.Tr "org.teams.read_access"}} {{svg "octicon-question" 16 "gt-ml-2"}} {{.locale.Tr "org.teams.write_access"}} {{svg "octicon-question" 16 "gt-ml-2"}}
{{$.locale.Tr $unit.DescKey}}
{{range $t, $unit := $.Units}} {{if lt $unit.MaxPerm 2}}
{{$.locale.Tr $unit.DescKey}}
{{end}} {{end}}
{{end}}
{{if .PageIsOrgTeamsNew}} {{else}} {{if not (eq .Team.LowerName "owners")}} {{end}} {{end}}