Update mobile menu
This commit is contained in:
parent
228bfd9c27
commit
72c9fe8c9e
|
|
@ -129,17 +129,6 @@ const mentorTabTitle = computed(() =>
|
||||||
</router-link>
|
</router-link>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li v-if="hasMediaLibraryMenu" class="mb-2 flex">
|
|
||||||
<router-link
|
|
||||||
data-cy="medialibrary-link"
|
|
||||||
class="w-full px-4 py-2"
|
|
||||||
active-class="bg-gray-200 text-blue-900 font-bold"
|
|
||||||
:to="getMediaCenterUrl(courseSession.course.slug)"
|
|
||||||
@click="$emit('closemodal')"
|
|
||||||
>
|
|
||||||
{{ $t("a.Mediathek") }}
|
|
||||||
</router-link>
|
|
||||||
</li>
|
|
||||||
<li
|
<li
|
||||||
v-if="isVVLearningMentor(courseSessionsStore.currentCourseSession)"
|
v-if="isVVLearningMentor(courseSessionsStore.currentCourseSession)"
|
||||||
class="mb-6"
|
class="mb-6"
|
||||||
|
|
@ -155,11 +144,38 @@ const mentorTabTitle = computed(() =>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-6 border-b">
|
<div class="mt-6 border-b">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="mb-6">
|
<li v-if="courseSession && hasMediaLibraryMenu" class="mb-6 flex">
|
||||||
<button data-cy="dashboard-link" @click="clickLink('/')">myVBV</button>
|
<router-link
|
||||||
|
data-cy="medialibrary-link"
|
||||||
|
class="flex w-full items-center gap-2 px-4 py-2"
|
||||||
|
active-class="bg-gray-200 text-blue-900 font-bold"
|
||||||
|
:to="getMediaCenterUrl(courseSession.course.slug)"
|
||||||
|
@click="$emit('closemodal')"
|
||||||
|
>
|
||||||
|
<it-icon-media-library />
|
||||||
|
{{ $t("a.Mediathek") }}
|
||||||
|
</router-link>
|
||||||
|
</li>
|
||||||
|
<li v-if="courseSession && hasMediaLibraryMenu" class="mb-6 flex">
|
||||||
|
<router-link
|
||||||
|
data-cy="calendar-link"
|
||||||
|
class="flex w-full items-center gap-2 px-4 py-2"
|
||||||
|
active-class="bg-gray-200 text-blue-900 font-bold"
|
||||||
|
:to="'/'"
|
||||||
|
@click="$emit('closemodal')"
|
||||||
|
>
|
||||||
|
<!-- todo: correct route -->
|
||||||
|
<it-icon-calendar-light />
|
||||||
|
{{ $t("a.Termine") }}
|
||||||
|
</router-link>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<button v-if="user?.loggedIn" type="button" class="mt-6 flex items-center">
|
||||||
|
<!-- todo: correct action / route -->
|
||||||
|
<it-icon-settings class="inline-block" />
|
||||||
|
<span class="ml-1">{{ $t("a.Einstellungen") }}</span>
|
||||||
|
</button>
|
||||||
<button
|
<button
|
||||||
v-if="user?.loggedIn"
|
v-if="user?.loggedIn"
|
||||||
type="button"
|
type="button"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue