From 2625f9f223f17d34ed7f3c3c7c43f8c850655fe0 Mon Sep 17 00:00:00 2001 From: pbruun Date: Fri, 10 Apr 2026 10:33:50 +0200 Subject: [PATCH] Annotation for a program added --- src/components/records/BroadcastVideoRecord.vue | 9 ++++++++- src/locales/da.json | 1 + src/locales/en.json | 1 + src/types/BroadcastRecordType.ts | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/records/BroadcastVideoRecord.vue b/src/components/records/BroadcastVideoRecord.vue index ab49ad25..c83f404d 100644 --- a/src/components/records/BroadcastVideoRecord.vue +++ b/src/components/records/BroadcastVideoRecord.vue @@ -93,6 +93,10 @@ {{ t(`categories.${santizeAndSimplify(recordData.genre)}`) }} +

{{ $t('record.annotation') }}

+
+

{{ recordData.annotation }}

+
@@ -412,7 +416,10 @@ h4 { color: #002e70; text-decoration: none; } - +.annotation-text { + margin: 0; + text-transform: none; +} .link-container { background-color: #0a2e70; width: fit-content; diff --git a/src/locales/da.json b/src/locales/da.json index 0c2bb1d2..b33b67c0 100644 --- a/src/locales/da.json +++ b/src/locales/da.json @@ -315,6 +315,7 @@ "timestamp":"kl. ", "title":"Titel", "genre":"Genre", + "annotation": "Bemærkning", "copy": "Del link", "copyTitleSuccess":"Linket er nu kopieret", "copyMessageSuccess":"", diff --git a/src/locales/en.json b/src/locales/en.json index 9b9c226c..74f8f8da 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -319,6 +319,7 @@ "timestamp": "at ", "title":"Title", "genre":"Genre", + "annotation": "Annotation", "copy":"Share link", "copyTitleSuccess":"The link has now been copied.", "copyMessageSuccess":"", diff --git a/src/types/BroadcastRecordType.ts b/src/types/BroadcastRecordType.ts index 7e54b4db..57c7589f 100644 --- a/src/types/BroadcastRecordType.ts +++ b/src/types/BroadcastRecordType.ts @@ -6,6 +6,7 @@ export interface BroadcastRecordType { id: string; name: NameType[]; publication: PublicationType; + annotation: string; encodesCreativeWork?: CreativeWork; description: string; startTime: string;