This commit is contained in:
2020-01-07 16:50:58 +00:00
parent 4e1575d51f
commit 630e9d98d7
4 changed files with 28 additions and 11 deletions

View File

@@ -48,6 +48,7 @@ CURRENT TODOs
SHELL / NAV / MENUS / LAYOUT SHELL / NAV / MENUS / LAYOUT
TODO: Move user locale and set login password into"user settings" single sub menu, set pw is too rare to be surfaced on the main nav panel
TODO: Change api docs regarding using api explorer, no longer necessary to put Bearer in the string TODO: Change api docs regarding using api explorer, no longer necessary to put Bearer in the string

View File

@@ -102,21 +102,30 @@ export default function initialize() {
key: key++ key: key++
}); });
//USER LOCALE //USER SETTINGS
sub.push({ sub.push({
title: window.$gz.locale.get("Locale"), title: window.$gz.locale.get("UserSettings"),
icon: "language", icon: "user-cog",
route: "/home-locale", route: "/home-user-settings",
key: key++ key: key++
}); });
//SET LOGIN //Moved these two into user settings
sub.push({ // //USER LOCALE
title: window.$gz.locale.get("SetLoginPassword"), // sub.push({
icon: "key", // title: window.$gz.locale.get("Locale"),
route: "/home-password", // icon: "language",
key: key++ // route: "/home-locale",
}); // key: key++
// });
// //SET LOGIN
// sub.push({
// title: window.$gz.locale.get("SetLoginPassword"),
// icon: "key",
// route: "/home-password",
// key: key++
// });
//USER NOTIFICATION SUBSCRIPTIONS //USER NOTIFICATION SUBSCRIPTIONS
if ( if (

View File

@@ -51,6 +51,7 @@ export default {
"Dashboard", "Dashboard",
"Schedule", "Schedule",
"MemoList", "MemoList",
"UserSettings",
"Locale", "Locale",
"SetLoginPassword", "SetLoginPassword",
"NotifySubscriptionList", "NotifySubscriptionList",

View File

@@ -101,6 +101,12 @@ export default new Router({
component: () => component: () =>
import(/* webpackChunkName: "home" */ "./views/home-reminders.vue") import(/* webpackChunkName: "home" */ "./views/home-reminders.vue")
}, },
{
path: "/home-user-settings",
name: "home-user-settings",
component: () =>
import(/* webpackChunkName: "home" */ "./views/home-user-settings.vue")
},
{ {
path: "/home-locale", path: "/home-locale",
name: "home-locale", name: "home-locale",