Change menu order, hide tasks for üK

This commit is contained in:
Christian Cueni 2024-04-11 13:37:14 +02:00
parent 93b8089510
commit b19375f336
2 changed files with 18 additions and 18 deletions

View File

@ -29,7 +29,19 @@ onMounted(() => {
> >
<ul class="flex flex-col lg:flex-row"> <ul class="flex flex-col lg:flex-row">
<li <li
data-cy="lm-mentees-navigation-link"
class="border-t-2 border-t-transparent" class="border-t-2 border-t-transparent"
:class="{
'border-b-2 border-b-blue-900': route.name === 'mentorsAndParticipants',
}"
>
<router-link :to="{ name: 'mentorsAndParticipants' }" class="block py-3">
{{ $t("a.Personen") }}
</router-link>
</li>
<li
v-if="!courseSession.course.configuration.is_uk"
class="border-t-2 border-t-transparent lg:ml-12"
:class="{ :class="{
'border-b-2 border-b-blue-900': route.name 'border-b-2 border-b-blue-900': route.name
?.toString() ?.toString()
@ -44,18 +56,6 @@ onMounted(() => {
{{ $t("a.Übersicht") }} {{ $t("a.Übersicht") }}
</router-link> </router-link>
</li> </li>
<li
data-cy="lm-mentees-navigation-link"
class="border-t-2 border-t-transparent lg:ml-12"
:class="{
'border-b-2 border-b-blue-900': route.name === 'mentorsAndParticipants',
}"
>
<router-link :to="{ name: 'mentorsAndParticipants' }" class="block py-3">
{{ $t("a.Personen") }}
</router-link>
</li>
</ul> </ul>
</nav> </nav>
<main class="container-large"> <main class="container-large">

View File

@ -182,16 +182,16 @@ const router = createRouter({
children: [ children: [
{ {
path: "", path: "",
component: () =>
import("@/pages/learningMentor/mentor/MentorOverviewPage.vue"),
name: "learningMentorOverview",
},
{
path: "participants",
component: () => component: () =>
import("@/pages/learningMentor/mentor/MentorParticipantsPage.vue"), import("@/pages/learningMentor/mentor/MentorParticipantsPage.vue"),
name: "mentorsAndParticipants", name: "mentorsAndParticipants",
}, },
{
path: "tasks",
component: () =>
import("@/pages/learningMentor/mentor/MentorOverviewPage.vue"),
name: "learningMentorOverview",
},
{ {
path: "self-evaluation-feedback/:learningUnitId", path: "self-evaluation-feedback/:learningUnitId",
component: () => component: () =>