From 7e1bfffac18ded978955f3df9e42f8b758972d07 Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Mon, 22 May 2023 12:57:25 +0200 Subject: [PATCH 1/2] Remove fake content --- client/src/locales/de.json | 1 + client/src/pages/DashboardPage.vue | 57 +++--------------------------- 2 files changed, 5 insertions(+), 53 deletions(-) diff --git a/client/src/locales/de.json b/client/src/locales/de.json index b6f0a240..19290013 100644 --- a/client/src/locales/de.json +++ b/client/src/locales/de.json @@ -78,6 +78,7 @@ "yes": "Ja" }, "dashboard": { + "courses": "Kurse", "welcome": "Willkommen, {name}" }, "feedback": { diff --git a/client/src/pages/DashboardPage.vue b/client/src/pages/DashboardPage.vue index e7b1f3bf..ebdae959 100644 --- a/client/src/pages/DashboardPage.vue +++ b/client/src/pages/DashboardPage.vue @@ -10,12 +10,6 @@ log.debug("DashboardPage created"); const userStore = useUserStore(); const courseSessionsStore = useCourseSessionsStore(); -function employer() { - return userStore.email.indexOf("eiger-versicherungen.ch") > -1 - ? "Eiger Versicherungen, Niederlassung Bern" - : "VBV"; -} - onMounted(async () => { log.debug("DashboardPage mounted"); }); @@ -32,7 +26,7 @@ onMounted(async () => { v-if="courseSessionsStore.uniqueCourseSessionsByCourse.length > 0" class="mb-14" > -

Kurse

+

{{ $t("dashboard.courses") }}

{
-
+
From a7986085ba457b3554ae7bf98155064a60a53cd2 Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Wed, 24 May 2023 14:34:57 +0200 Subject: [PATCH 2/2] Add fake "no events" text --- client/src/locales/de.json | 2 ++ client/src/pages/DashboardPage.vue | 14 ++++++-------- .../LearningPathAppointmentsMock.vue | 7 ++++--- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/client/src/locales/de.json b/client/src/locales/de.json index 19290013..2b156b9c 100644 --- a/client/src/locales/de.json +++ b/client/src/locales/de.json @@ -1,4 +1,6 @@ { + "Nächste Termine": "Nächste Termine", + "Zur Zeit sind keine Termine vorhanden": "Zur Zeit sind keine Termine vorhanden", "assignment": { "acceptConditionsDisclaimer": "Bedingungen akzeptieren und Ergebnisse abgeben", "assessmentDocumentDisclaimer": "Diese geleitete Fallarbeit wird auf Grund des folgenden Beurteilungsinstrument bewertet:", diff --git a/client/src/pages/DashboardPage.vue b/client/src/pages/DashboardPage.vue index ebdae959..d8ad0606 100644 --- a/client/src/pages/DashboardPage.vue +++ b/client/src/pages/DashboardPage.vue @@ -54,15 +54,13 @@ onMounted(async () => { - - +