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">
|
<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">
|
||||||
|
|
|
||||||
|
|
@ -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: () =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue