{{define "title"}}Members · {{.Org.Name}} · MeshTender{{end}} {{define "header"}}{{template "org-header" .}}{{end}} {{define "content"}} {{template "org-tabs" .Nav}} {{if .Error}}
{{.Error}}
{{end}}
{{/* Search/filters come FIRST in the DOM and move to the right of the roster at lg (order-lg-last). Source order governs both the mobile stack and the tab order, so ordering with CSS alone would leave keyboard and screen-reader users traversing every member to reach the control that exists to avoid exactly that. */}}

Find members

Role
{{/* The roster; at lg it sits left of the filters above. */}}

{{len .Members}} member{{if ne (len .Members) 1}}s{{end}}

{{range .Members}}
{{.Name}} @{{.Username}}
{{if eq .Role "admin"}}admin{{else}}member{{end}} {{if and $.IsAdmin (ne .UserID $.Self)}}
{{if eq .Role "admin"}} {{else}} {{end}}
{{end}}
{{end}}
No members match.
{{end}}