{{- /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial */ -}} {{- /* SPDX-FileCopyrightText: 2025-2026 Christian Galo */ -}} {{/* fedwiki_operator_sites.html Operator-tier list of every FedWiki site, below the Integrations trail with the Settings action in the header slot. Built from the page-anatomy parts: sections titled by sectionHeader (the sync explainer rides the Sync health tooltip), type and status render through statusBadge, rows lead with the site's domain (the site's human identifier; the link is external because sites have no console detail page). Unconfigured renders the same blocked-empty-state shape Discourse's operator page renders (ACC-2, fedwiki-sites spec). The sites table is the governed list on this page (operator-list-scale): search over the domain and the holder's name, the status facet over fedwiki.sites' own vocabulary, and true-total pagination, all from operator_list_controls.html driven by .Nav. The section count above the table is that same true total. */}} {{ template "pageHeader" .Header }} {{ if not .Configured }} {{ template "emptyState" .NotConfigured }} {{ else }} {{ template "sectionHeader" .SyncHeader }}
Last sync
{{ .SyncStatus }}{{ if .SyncTime }} ({{ .SyncTime }}){{ end }}
{{ template "sectionHeader" .SitesHeader }} {{ if .Error }} {{ else if eq (len .Sites) 0 }} {{ if .Nav.Filtered }} {{ template "listControls" .Nav }} {{ template "listNoMatch" .Nav }} {{ else }} {{ template "emptyState" .Empty }} {{ end }} {{ else }} {{ template "listControls" .Nav }}
{{ range .Sites }} {{ end }}
Domain Owner Type Status Created
{{ .Domain }} {{ .OwnerOrgName }} {{ template "statusBadge" .TypeBadge }} {{ template "statusBadge" .StatusBadge }} {{ .CreatedAt }}
{{ template "listPager" .Nav }} {{ end }} {{ end }}