{{/* org-access-rows renders the per-org access list shared by the share page and the add-repeater wizard: each org the repeater's owner belongs to, with a status badge and a "Manage access" button that loads the shared #limits-modal via htmx. Data: $.Repeater (needs .PublicID) and .Orgs ([]RepeaterOrgMembership with .OrgName / .OrgSlug / .Excluded / .Restricted). Pair it with limits-modal-shell on the same page. */}} {{define "org-access-rows"}}
{{range .Orgs}}
{{.OrgName}} {{if .Excluded}} Opted out {{else if .Restricted}} Limited commands {{else}} All commands {{end}}
{{end}}
{{end}} {{/* limits-modal-shell is the empty shared modal the "Manage access" buttons load their org-limits fragment into via htmx. */}} {{define "limits-modal-shell"}} {{end}}