{{define "content"}} {{$d := .}}
Organisations / {{$d.Org.Name}} /

Teams

{{if eq $d.MyRole "admin"}} {{end}}
{{if $d.Teams}}
{{if eq $d.MyRole "admin"}}{{end}} {{range $t := $d.Teams}} {{$count := 0}} {{range $d.Members}}{{range .TeamIDs}}{{if eq . $t.ID}}{{$count = add $count 1}}{{end}}{{end}}{{end}} {{if eq $d.MyRole "admin"}} {{end}} {{end}}
Team Type Members
{{if $t.Avatar}}{{$t.Avatar}}{{else}}👥{{end}} {{$t.Name}}
{{if eq (print $t.Type) "guest"}} guest {{else}} internal {{end}} {{$count}}
{{else}}
👥

No teams yet

Teams group members and own events. Guest teams have scoped visibility.

{{if eq $d.MyRole "admin"}} {{end}}
{{end}} {{if eq $d.MyRole "admin"}} {{end}} {{end}}