diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/DocumentationFullDetails.vue b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/DocumentationFullDetails.vue index 58ef4285647a5b80e7c8dd94aae54955aa95c81d..5f71e7e2cf25f3056205d76c0066ecfa91fd4bb8 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/DocumentationFullDetails.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/DocumentationFullDetails.vue @@ -10,13 +10,17 @@ <v-card-title class="text-subtitle-2 pb-1 font-weight-medium"> {{ $t("alsijil.coursebook.summary.homework.label") }} </v-card-title> - <v-card-text>{{ documentation.homework || "–" }}</v-card-text> + <v-card-text> + {{ documentation.homework || $t("alsijil.coursebook.summary.homework.empty_yet") }} + </v-card-text> </v-card> <v-card outlined dense rounded="lg"> <v-card-title class="text-subtitle-2 pb-1 font-weight-medium"> {{ $t("alsijil.coursebook.summary.group_note.label") }} </v-card-title> - <v-card-text>{{ documentation.groupNote || "–" }}</v-card-text> + <v-card-text> + {{ documentation.groupNote || $t("alsijil.coursebook.summary.group_note.empty") }} + </v-card-text> </v-card> </div> </template> diff --git a/aleksis/apps/alsijil/frontend/messages/en.json b/aleksis/apps/alsijil/frontend/messages/en.json index ad422fcf8c3da9111b12a71bc845620a25f90a25..2ab6f3647fb2ff6d659862ff6b045747b725ec57 100644 --- a/aleksis/apps/alsijil/frontend/messages/en.json +++ b/aleksis/apps/alsijil/frontend/messages/en.json @@ -66,7 +66,8 @@ "homework": { "label": "Homework", "value": "HW: {homework}", - "empty": "No homework" + "empty": "No homework", + "empty_yet": "No homework defined yet." }, "group_note": { "label": "Group note",