{{$.i18n.Tr "org.teams.leave.detail" `` | Safe}}
{{.i18n.Tr "units.unit"}} | {{.i18n.Tr "org.team_permission_desc"}} |
---|---|
{{$.i18n.Tr $unit.NameKey}} | {{if eq ($.Team.UnitAccessMode $unit.Type) 0 -}} {{$.i18n.Tr "org.teams.none_access"}} {{- else if or (eq $.Team.ID 0) (eq ($.Team.UnitAccessMode $unit.Type) 1) -}} {{$.i18n.Tr "org.teams.read_access"}} {{- else if eq ($.Team.UnitAccessMode $unit.Type) 2 -}} {{$.i18n.Tr "org.teams.write_access"}} {{- end}} |
{{$.i18n.Tr "org.teams.leave.detail" `` | Safe}}