Switch an entry status straight from the table

The list showed the status but only the editor could change it. Each row
now carries the next sensible step and names the blockers when publishing
is not possible. Also real umlauts in the API texts.
This commit is contained in:
Matthias G
2026-08-01 13:49:34 +02:00
parent c95db3a044
commit 35a572c037
6 changed files with 124 additions and 9 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ const details: Record<ApiEntryError, string> = {
blocks_invalid: 'Mindestens ein Block hat einen unbekannten Typ oder fehlende Felder.',
too_many_blocks: 'Zu viele Bloecke.',
not_found: 'Nicht gefunden.',
already_published: 'Der Beitrag ist bereits veroeffentlicht und laesst sich so nicht mehr aendern.',
already_published: 'Der Beitrag ist bereits veröffentlicht und lässt sich so nicht mehr ändern.',
}
export function entryProblem(error: ApiEntryError): Response {