diff --git a/client/src/components/header/CoursePreviewBar.vue b/client/src/components/header/CoursePreviewBar.vue
index 80de3595..2d19ee8b 100644
--- a/client/src/components/header/CoursePreviewBar.vue
+++ b/client/src/components/header/CoursePreviewBar.vue
@@ -16,10 +16,9 @@ const { t } = useTranslation();
-
-
- Vorschau: Teilnehmer ({{ courseSession.title }})
-
+
+ {{ t("a.VorschauTeilnehmer") }} ({{ courseSession.title }})
+
{
return courseSessionsStore.currentCourseSession?.title;
});
-const isTrainerInCourseSessionPreview = computed(() => {
- // todo wip @livioso check if this is correct?
- const isTrainer =
- courseSessionsStore.currentCourseSession &&
- courseSessionsStore.currentCourseSessionHasCockpit;
- return isTrainer && !inCockpit();
-});
-
onMounted(() => {
log.debug("MainNavigationBar mounted");
});
-
+
{
{
- {{ t("general.preview") }}
+
+ {{ t("a.VorschauTeilnehmer") }}
+
+
{
{
.nav-item--active {
@apply border-sky-500;
}
-
-.nav-enter-active,
-.nav-leave-active {
- transition: opacity 0.3s ease, transform 0.3s ease;
-}
-
-.nav-enter-from,
-.nav-leave-to {
- opacity: 0;
- transform: translateY(-80px);
-}
diff --git a/client/src/pages/learningPath/learningContentPage/LearningContentContainer.vue b/client/src/pages/learningPath/learningContentPage/LearningContentContainer.vue
index b2e2dbe6..5d2c334d 100644
--- a/client/src/pages/learningPath/learningContentPage/LearningContentContainer.vue
+++ b/client/src/pages/learningPath/learningContentPage/LearningContentContainer.vue
@@ -1,5 +1,9 @@