diff --git a/admin-ui/messages/de.json b/admin-ui/messages/de.json index 4b8356e..db860a5 100644 --- a/admin-ui/messages/de.json +++ b/admin-ui/messages/de.json @@ -338,6 +338,8 @@ "title": "Einträge", "newEntry": "Neuer Eintrag", "colActions": "Aktionen", + "colStatus": "Status", + "published": "Veröffentlicht", "noEntries": "Keine Einträge.", "noEntriesCreate": "Noch keine Einträge. Erstellen Sie den ersten.", "edit": "Bearbeiten", diff --git a/admin-ui/messages/en.json b/admin-ui/messages/en.json index c53f6c1..92cfe27 100644 --- a/admin-ui/messages/en.json +++ b/admin-ui/messages/en.json @@ -338,6 +338,8 @@ "title": "Entries", "newEntry": "New entry", "colActions": "Actions", + "colStatus": "Status", + "published": "Published", "noEntries": "No entries.", "noEntriesCreate": "No entries yet. Create the first one.", "edit": "Edit", diff --git a/admin-ui/src/app/content/[collection]/page.tsx b/admin-ui/src/app/content/[collection]/page.tsx index 0ff2179..9df9975 100644 --- a/admin-ui/src/app/content/[collection]/page.tsx +++ b/admin-ui/src/app/content/[collection]/page.tsx @@ -201,6 +201,7 @@ export default function ContentListPage() { _slug + {t("colStatus")} {t("colActions")} @@ -208,6 +209,7 @@ export default function ContentListPage() { {[1, 2, 3, 4, 5].map((i) => ( + ))} @@ -256,6 +258,7 @@ export default function ContentListPage() { )} + {t("colStatus")} {t("colActions")} @@ -275,11 +278,17 @@ export default function ContentListPage() { > {slug} - {isDraft && ( - - {t("draft")} - - )} + + + + {isDraft ? t("draft") : t("published")} +
diff --git a/content/de/demo/demo-welcome.json5 b/content/de/demo/demo-welcome.json5 index a1b6741..9c77d59 100644 --- a/content/de/demo/demo-welcome.json5 +++ b/content/de/demo/demo-welcome.json5 @@ -22,7 +22,10 @@ "publishedAt": "", "quantity": null, "relatedPage": "home", - "relatedPages": ["home", "about"], + "relatedPages": [ + "home", + "about" + ], "scores": [], "singleSelect": "", "summary": "",