Merge branch 'develop' into feature/VBV-597-umsetzung-cockpit-lernbegleitung
This commit is contained in:
commit
35250bb93b
|
|
@ -7,6 +7,7 @@ import { useUserStore } from "@/stores/user";
|
|||
const props = defineProps<{
|
||||
courseName: string;
|
||||
imageUrl: string;
|
||||
contactEmail: string;
|
||||
}>();
|
||||
|
||||
const userStore = useUserStore();
|
||||
|
|
@ -101,7 +102,7 @@ async function changeLocale(language: AvailableLanguages) {
|
|||
<!-- </template>-->
|
||||
<!-- </i18next>-->
|
||||
{{ $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>
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ const questionData = [
|
|||
:content="props.content"
|
||||
:introduction="$t('a.feedback.introductionVV')"
|
||||
:title="$t('Feedback')"
|
||||
:completion-title="$t('feedback.completionDescriptionVV')"
|
||||
:completion-title="$t('feedback.sendFeedback')"
|
||||
:completion-description="$t('feedback.completionDescriptionVV')"
|
||||
:show-avatar="false"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -21,17 +21,20 @@ const courseData = computed(() => {
|
|||
return {
|
||||
name: t("a.Überbetriebliche Kurse"),
|
||||
imageUrl: mood_uk,
|
||||
contactEmail: "uek-support@vbv-afa.ch",
|
||||
};
|
||||
}
|
||||
if (startsWith(props.courseType, "vv")) {
|
||||
return {
|
||||
name: getVVCourseName(props.courseType),
|
||||
imageUrl: mood_vv,
|
||||
contactEmail: "vermittler@vbv-afa.ch",
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
name: "",
|
||||
imageUrl: "",
|
||||
contactEmail: "",
|
||||
};
|
||||
}
|
||||
});
|
||||
|
|
@ -43,6 +46,7 @@ const courseData = computed(() => {
|
|||
class="lg:w-1/3"
|
||||
:image-url="courseData.imageUrl"
|
||||
:course-name="courseData.name"
|
||||
:contact-email="courseData.contactEmail"
|
||||
/>
|
||||
<router-view class="lg:w-2/3" />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue