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