{{- /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial */ -}} {{- /* SPDX-FileCopyrightText: 2025-2026 Christian Galo */ -}} {{/* operator_plan_ladder_tier_reorder_message.html The reorder preview's narrative, rendered through Binding.Message into the preview form's own box (design D10's preview idiom): what changed, and, when the pending rank 0 is some org type's default, what committing does to each affected type's organizations. Context: *server.PendingTierReorder, the same value the page's table renders from. Rendered as a fragment (SafeTemplates.Fragment) by operator_plan_ladders.go, never called directly by a page. */}}

Preview: nothing saved yet.

{{ if .Stale }}

The page was out of date; this pending order reflects the ladder's current tiers.

{{ end }} {{ with .RuleLessWarning }} {{/* The rule-less warning (design.md M1): the pending order moves a product whose set has no active rule to rank 0. The commit stays enabled. */}}

{{ . }}

{{ end }} {{ if not .RankZeroChanged }}

Display order only; rank 0 is unchanged.

{{ else if not .TypePreviews }}

Rank 0 changes from {{ .OldRankZeroName }} to {{ .NewRankZeroName }}, but this ladder is not any org type's default; display order only.

{{ else }}

Rank 0 changes from {{ .OldRankZeroName }} to {{ .NewRankZeroName }}, the default plan for new {{ range $i, $tp := .TypePreviews }}{{ if $i }}, {{ end }}{{ $tp.DisplayName }}{{ end }} organizations. Applying this change:

{{ range .TypePreviews }}

{{ .DisplayName }}

{{ with .Preview }} {{ if .Empty }}

No existing organizations are affected.

{{ else }} {{ end }} {{ end }} {{ end }} {{ end }}