Change menu order, hide tasks for üK
This commit is contained in:
parent
93b8089510
commit
b19375f336
|
|
@ -29,7 +29,19 @@ onMounted(() => {
|
|||
>
|
||||
<ul class="flex flex-col lg:flex-row">
|
||||
<li
|
||||
data-cy="lm-mentees-navigation-link"
|
||||
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="{
|
||||
'border-b-2 border-b-blue-900': route.name
|
||||
?.toString()
|
||||
|
|
@ -44,18 +56,6 @@ onMounted(() => {
|
|||
{{ $t("a.Übersicht") }}
|
||||
</router-link>
|
||||
</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>
|
||||
</nav>
|
||||
<main class="container-large">
|
||||
|
|
|
|||
|
|
@ -182,16 +182,16 @@ const router = createRouter({
|
|||
children: [
|
||||
{
|
||||
path: "",
|
||||
component: () =>
|
||||
import("@/pages/learningMentor/mentor/MentorOverviewPage.vue"),
|
||||
name: "learningMentorOverview",
|
||||
},
|
||||
{
|
||||
path: "participants",
|
||||
component: () =>
|
||||
import("@/pages/learningMentor/mentor/MentorParticipantsPage.vue"),
|
||||
name: "mentorsAndParticipants",
|
||||
},
|
||||
{
|
||||
path: "tasks",
|
||||
component: () =>
|
||||
import("@/pages/learningMentor/mentor/MentorOverviewPage.vue"),
|
||||
name: "learningMentorOverview",
|
||||
},
|
||||
{
|
||||
path: "self-evaluation-feedback/:learningUnitId",
|
||||
component: () =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue