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