···11+{{ define "banner" }}
22+<div class="px-6 py-2">
33+ The following services that you administer will have to be upgraded to be compatible with the latest version of Tangled:
44+ {{ if .Registrations }}
55+ <ul class="list-disc mx-12 my-2">
66+ {{range .Registrations}}
77+ <li>{{ .Domain }}</li>
88+ {{ end }}
99+ </ul>
1010+ Repositories hosted on these knots may not be accessible until upgraded.
1111+ {{ end }}
1212+1313+ {{ if .Spindles }}
1414+ <ul class="list-disc mx-12 my-2">
1515+ {{range .Spindles}}
1616+ <li>{{ .Instance }}</li>
1717+ {{ end }}
1818+ </ul>
1919+ Pipelines may not be executed on these spindles until upgraded.
2020+ {{ end }}
2121+ <a href="https://tangled.sh/@tangled.sh/core/tree/master/docs/migrations/">Click to read the upgrade guide</a>.
2222+</div>
2323+{{ end }}
···11-{{ define "knots/fragments/bannerReadOnly" }}
22-<div class="w-full px-6 py-2 -z-15 bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200 border border-yellow-200 dark:border-yellow-800 rounded-b drop-shadow-sm">
33- A knot ({{range $i, $r := .Registrations}}{{if ne $i 0}}, {{end}}{{ $r.Domain }}{{ end }})
44- that you administer is presently read-only. Consider upgrading this knot to
55- continue creating repositories on it.
66- <a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/migrations/knot-1.7.0.md">Click to read the upgrade guide</a>.
77-</div>
88-{{ end }}
···11-{{ define "knots/fragments/bannerRequiresUpgrade" }}
22-<div class="px-6 py-2">
33- The following knots that you administer will have to be upgraded to be compatible with the latest version of Tangled:
44- <ul class="list-disc mx-12 my-2">
55- {{range $i, $r := .Registrations}}
66- <li>{{ $r.Domain }}</li>
77- {{ end }}
88- </ul>
99- Repositories hosted on these knots will not be accessible until upgraded.
1010- <a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/migrations/knot-1.8.0.md">Click to read the upgrade guide</a>.
1111-</div>
1212-{{ end }}