This commit is contained in:
@@ -30,38 +30,53 @@
|
|||||||
<template v-for="subitem in item.navItems">
|
<template v-for="subitem in item.navItems">
|
||||||
<template v-if="!subitem.route">
|
<template v-if="!subitem.route">
|
||||||
<!-- SECOND LEVEL HOLDER -->
|
<!-- SECOND LEVEL HOLDER -->
|
||||||
<v-list-group
|
<div class="pl-2" :key="subitem.key">
|
||||||
no-action
|
<v-list-group
|
||||||
sub-group
|
no-action
|
||||||
value="true"
|
sub-group
|
||||||
:key="subitem.key"
|
value="true"
|
||||||
>
|
:key="subitem.key"
|
||||||
<!-- Second level activator -->
|
>
|
||||||
<template v-slot:activator>
|
<!-- Second level activator -->
|
||||||
|
<template v-slot:activator>
|
||||||
|
<v-list-item-content>
|
||||||
|
<v-list-item-title>{{
|
||||||
|
subitem.title
|
||||||
|
}}</v-list-item-title>
|
||||||
|
</v-list-item-content>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<v-list-item
|
||||||
|
v-for="subsub in subitem.navItems"
|
||||||
|
:key="subsub.key"
|
||||||
|
:to="subsub.route"
|
||||||
|
link
|
||||||
|
>
|
||||||
|
<v-list-item-title
|
||||||
|
v-text="subsub.title"
|
||||||
|
></v-list-item-title>
|
||||||
|
<v-list-item-icon>
|
||||||
|
<v-icon>{{ "fa-" + subsub.icon }}</v-icon>
|
||||||
|
</v-list-item-icon>
|
||||||
|
</v-list-item>
|
||||||
|
<!-- was end of v-list-group here -->
|
||||||
|
</v-list-group>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<!-- SECOND LEVEL ACTION -->
|
||||||
|
<div class="pl-3" :key="subitem.key">
|
||||||
|
<v-list-item :to="subitem.route">
|
||||||
|
<v-list-item-action>
|
||||||
|
<v-icon>{{ "fa-" + subitem.icon }}</v-icon>
|
||||||
|
</v-list-item-action>
|
||||||
<v-list-item-content>
|
<v-list-item-content>
|
||||||
<v-list-item-title>{{
|
<v-list-item-title>{{
|
||||||
subitem.title
|
subitem.title
|
||||||
}}</v-list-item-title>
|
}}</v-list-item-title>
|
||||||
</v-list-item-content>
|
</v-list-item-content>
|
||||||
</template>
|
|
||||||
|
|
||||||
<v-list-item
|
|
||||||
v-for="subsub in subitem.navItems"
|
|
||||||
:key="subsub.key"
|
|
||||||
:to="subsub.route"
|
|
||||||
link
|
|
||||||
>
|
|
||||||
<v-list-item-title
|
|
||||||
v-text="subsub.title"
|
|
||||||
></v-list-item-title>
|
|
||||||
<v-list-item-icon>
|
|
||||||
<v-icon>{{ "fa-" + subsub.icon }}</v-icon>
|
|
||||||
</v-list-item-icon>
|
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
</v-list-group>
|
</div>
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<!-- SECOND LEVEL ACTION -->
|
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</v-list-group>
|
</v-list-group>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export default function initialize() {
|
|||||||
|
|
||||||
//MEMOS
|
//MEMOS
|
||||||
sub.push({
|
sub.push({
|
||||||
title: window.$gz.locale.get("Schedule"),
|
title: window.$gz.locale.get("Memo"),
|
||||||
icon: "inbox",
|
icon: "inbox",
|
||||||
route: "/memo",
|
route: "/memo",
|
||||||
key: key++
|
key: key++
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ export default {
|
|||||||
"Home",
|
"Home",
|
||||||
"DashboardDashboard",
|
"DashboardDashboard",
|
||||||
"Schedule",
|
"Schedule",
|
||||||
|
"Memo",
|
||||||
"Locale",
|
"Locale",
|
||||||
"SetLoginPassword",
|
"SetLoginPassword",
|
||||||
"NotifySubscriptionList",
|
"NotifySubscriptionList",
|
||||||
|
|||||||
Reference in New Issue
Block a user