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