{{- /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial */ -}} {{- /* SPDX-FileCopyrightText: 2025-2026 Christian Galo */ -}} {{/* operator_organizations.html Organizations directory body partial for GET /operator/organizations, dispatched by GetOrganizationsPage. Built from the page-anatomy parts (docs/design-system.md ยง6): the header's one slot carries the way to Organization types, which is reached from here and not from the rail (maintainer 2026-08-23), the same in-page affordance the Products page uses for Entitlement sets and Plan ladders. Governed by operator-list-scale (operator_list_controls.html): search, the org-type facet, true-total pagination; the row count is the pager's. Rows navigate through the name (chrome-conventions "Row navigation is the primary column's link"); the System tenant's name stays text. Three states: - Error: the load failed. - Zero rows AND Nav.Filtered: the search or facet matched nothing; listNoMatch, distinct from true-empty (empty-state-guidance). - Zero rows AND not Nav.Filtered: the deployment has no organizations yet; emptyState names how one comes to exist, no controls (nothing to search or clear). */}} {{ template "pageHeader" .Header }} {{ if .Error }} {{ else if eq (len .Organizations) 0 }} {{ if .Nav.Filtered }} {{ template "listControls" .Nav }} {{ template "listNoMatch" .Nav }} {{ else }} {{ template "emptyState" .Empty }} {{ end }} {{ else }} {{ template "listControls" .Nav }}
{{ range .Organizations }} {{/* chrome-conventions "Row navigation is the primary column's link" (maintainer yes, 2026-08-30): the name links to the composite; the Manage button and the Actions column retired. The System tenant has no member-facing composite actions, so its name stays plain text and its type badge carries the tooltip. */}} {{ end }}
Name Type Owner Members Status Created
{{ if .IsSystemOrg }}{{ .Name }}{{ else }}{{ .Name }}{{ end }} {{ template "statusBadge" .TypeBadge }} {{ .OwnerName }} {{ .MemberCount }} {{ template "statusBadge" .StatusBadge }} {{ .CreatedAt }}
{{ template "listPager" .Nav }} {{ end }}