···11-{{ define "knots/fragments/banner" }}
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 }}
99-
···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="prose mx-auto w-96 px-6 py-2 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+ The following knots that you administer require upgrade to be compatible with the latest version of Tangled:
44+ <ul>
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 }}