Merge branch 'develop' into feature/VBV-597-umsetzung-cockpit-lernbegleitung

This commit is contained in:
Reto Aebersold 2023-12-21 10:06:57 +01:00
commit 35250bb93b
3 changed files with 7 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import { useUserStore } from "@/stores/user";
const props = defineProps<{ const props = defineProps<{
courseName: string; courseName: string;
imageUrl: string; imageUrl: string;
contactEmail: string;
}>(); }>();
const userStore = useUserStore(); const userStore = useUserStore();
@ -101,7 +102,7 @@ async function changeLocale(language: AvailableLanguages) {
<!-- </template>--> <!-- </template>-->
<!-- </i18next>--> <!-- </i18next>-->
{{ $t("a.Hast du Fragen? Kontaktiere uns") }}: {{ $t("a.Hast du Fragen? Kontaktiere uns") }}:
<a class="underline" href="mailto:vermittler@vbv.ch">vermittler@vbv.ch</a> <a class="underline" :href="`mailto:${contactEmail}`">{{ contactEmail }}</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -72,7 +72,7 @@ const questionData = [
:content="props.content" :content="props.content"
:introduction="$t('a.feedback.introductionVV')" :introduction="$t('a.feedback.introductionVV')"
:title="$t('Feedback')" :title="$t('Feedback')"
:completion-title="$t('feedback.completionDescriptionVV')" :completion-title="$t('feedback.sendFeedback')"
:completion-description="$t('feedback.completionDescriptionVV')" :completion-description="$t('feedback.completionDescriptionVV')"
:show-avatar="false" :show-avatar="false"
/> />

View File

@ -21,17 +21,20 @@ const courseData = computed(() => {
return { return {
name: t("a.Überbetriebliche Kurse"), name: t("a.Überbetriebliche Kurse"),
imageUrl: mood_uk, imageUrl: mood_uk,
contactEmail: "uek-support@vbv-afa.ch",
}; };
} }
if (startsWith(props.courseType, "vv")) { if (startsWith(props.courseType, "vv")) {
return { return {
name: getVVCourseName(props.courseType), name: getVVCourseName(props.courseType),
imageUrl: mood_vv, imageUrl: mood_vv,
contactEmail: "vermittler@vbv-afa.ch",
}; };
} else { } else {
return { return {
name: "", name: "",
imageUrl: "", imageUrl: "",
contactEmail: "",
}; };
} }
}); });
@ -43,6 +46,7 @@ const courseData = computed(() => {
class="lg:w-1/3" class="lg:w-1/3"
:image-url="courseData.imageUrl" :image-url="courseData.imageUrl"
:course-name="courseData.name" :course-name="courseData.name"
:contact-email="courseData.contactEmail"
/> />
<router-view class="lg:w-2/3" /> <router-view class="lg:w-2/3" />
</div> </div>