diff --git a/src/components/i18n/maintainership-banner.tsx b/src/components/i18n/maintainership-banner.tsx index 9e092a944..d4f3f9dc1 100644 --- a/src/components/i18n/maintainership-banner.tsx +++ b/src/components/i18n/maintainership-banner.tsx @@ -97,7 +97,7 @@ export function MaintainershipBanner() { data-testid="maintainership-banner" className="border-border bg-muted/40 text-muted-foreground flex items-start gap-2 border-b px-4 py-2 text-xs sm:items-center" > - +

{t("i18n.maintainershipBanner.notice")}{" "} - + ); diff --git a/src/components/layout/demo-banner.tsx b/src/components/layout/demo-banner.tsx index af0b3f123..302854a86 100644 --- a/src/components/layout/demo-banner.tsx +++ b/src/components/layout/demo-banner.tsx @@ -31,7 +31,7 @@ export function DemoBanner() { data-slot="demo-banner" className="bg-primary/10 border-primary/30 text-foreground flex items-center justify-center gap-2 border-b px-3 py-2 text-xs" > -

+ + {t("recordSharing.banner.viewing", { name })} + {" "} + {/* Resolved server-side. `canWrite` is false for every grant in v1, and + the day it is not, this line stops claiming otherwise on its own. */} + {!active.canWrite && ( + + {t("recordSharing.banner.readOnly")} + + )} +