diff --git a/frontend/src/components/MenuBar.vue b/frontend/src/components/MenuBar.vue index 93671b13..6c4dbda0 100644 --- a/frontend/src/components/MenuBar.vue +++ b/frontend/src/components/MenuBar.vue @@ -185,7 +185,7 @@ {{ t("discussions") }} diff --git a/frontend/src/i18n/locale/de.json b/frontend/src/i18n/locale/de.json index 37b4c2b3..f8c77685 100644 --- a/frontend/src/i18n/locale/de.json +++ b/frontend/src/i18n/locale/de.json @@ -127,5 +127,6 @@ "question-input-placeholder": "Frage...", "answer-input-placeholder": "Antwort...", "answers-toggle-hide": "Antworten verstecken", - "answers-toggle-show": "Antworten anzeigen" + "answers-toggle-show": "Antworten anzeigen", + "no-discussion-tip": "Wählen Sie ein Lernobjekt aus, um dessen Fragen anzuzeigen" } diff --git a/frontend/src/i18n/locale/en.json b/frontend/src/i18n/locale/en.json index 1aafd728..a874c3a6 100644 --- a/frontend/src/i18n/locale/en.json +++ b/frontend/src/i18n/locale/en.json @@ -127,6 +127,7 @@ "question-input-placeholder": "question...", "answer-input-placeholder": "answer...", "answers-toggle-hide": "Hide answers", - "answers-toggle-show": "Show answers" + "answers-toggle-show": "Show answers", + "no-discussion-tip": "Choose a learning object to view its questions" } diff --git a/frontend/src/i18n/locale/fr.json b/frontend/src/i18n/locale/fr.json index 87719778..5ab63b6b 100644 --- a/frontend/src/i18n/locale/fr.json +++ b/frontend/src/i18n/locale/fr.json @@ -127,5 +127,6 @@ "question-input-placeholder": "question...", "answer-input-placeholder": "réponse...", "answers-toggle-hide": "Masquer réponses", - "answers-toggle-show": "Afficher réponse" + "answers-toggle-show": "Afficher réponse", + "no-discussion-tip": "Sélectionnez un objet d'apprentissage pour afficher les questions qui s'y rapportent" } diff --git a/frontend/src/i18n/locale/nl.json b/frontend/src/i18n/locale/nl.json index 50e6601f..d5e2ecfb 100644 --- a/frontend/src/i18n/locale/nl.json +++ b/frontend/src/i18n/locale/nl.json @@ -127,5 +127,6 @@ "question-input-placeholder": "vraag...", "answer-input-placeholder": "antwoord...", "answers-toggle-hide": "Verberg antwoorden", - "answers-toggle-show": "Toon antwoorden" + "answers-toggle-show": "Toon antwoorden", + "no-discussion-tip": "Kies een leerobject om zijn vragen te bekijken" } diff --git a/frontend/src/views/discussions/NoDiscussion.vue b/frontend/src/views/discussions/NoDiscussion.vue index e98eb1dd..93d21103 100644 --- a/frontend/src/views/discussions/NoDiscussion.vue +++ b/frontend/src/views/discussions/NoDiscussion.vue @@ -4,44 +4,66 @@ import { useGetAllLearningPaths } from "@/queries/learning-paths.ts"; import UsingQueryResult from "@/components/UsingQueryResult.vue"; import DiscussionSideBarElement from "@/components/DiscussionSideBarElement.vue"; + import { ref } from "vue"; const { t, locale } = useI18n(); const allLearningPathsResult = useGetAllLearningPaths(locale.value) + const navigationDrawerShown = ref(true); +