This commit is contained in:
@@ -308,7 +308,7 @@ export default {
|
||||
case window.$gz.type.ServerState:
|
||||
return "fa-door-open";
|
||||
case window.$gz.type.License:
|
||||
return "fa-ticket-alt";
|
||||
return "$ayiTicket";
|
||||
case window.$gz.type.LogFile:
|
||||
return "fa-glasses";
|
||||
case window.$gz.type.PickListTemplate:
|
||||
|
||||
@@ -72,7 +72,7 @@ function initNavPanel() {
|
||||
//WORKORDERS subitem
|
||||
sub.push({
|
||||
title: "WorkOrderList",
|
||||
icon: "fa-tools",
|
||||
icon: "$ayiTools",
|
||||
route: "/customer-workorders",
|
||||
key: key++
|
||||
});
|
||||
@@ -108,13 +108,12 @@ function initNavPanel() {
|
||||
) {
|
||||
addNavItem(
|
||||
"HelpLicense",
|
||||
"fa-ticket-alt",
|
||||
"$ayiTicket",
|
||||
"/adm-license",
|
||||
[],
|
||||
key++,
|
||||
"license"
|
||||
);
|
||||
//addNavItem("Logout", "fa-sign-out-alt", "/login", [], key++, "logout");
|
||||
window.$gz.store.commit("setHomePage", "/adm-license");
|
||||
return;
|
||||
}
|
||||
@@ -142,7 +141,7 @@ function initNavPanel() {
|
||||
//KPI / METRICS / CHARTS AND STUFF APPROPRIATE TO ROLE
|
||||
sub.push({
|
||||
title: "Dashboard",
|
||||
icon: "fa-tachometer-alt",
|
||||
icon: "$ayiTachometer",
|
||||
route: "/home-dashboard",
|
||||
key: key++
|
||||
});
|
||||
@@ -185,7 +184,7 @@ function initNavPanel() {
|
||||
//SCHEDULE (personal)
|
||||
sub.push({
|
||||
title: "Schedule",
|
||||
icon: "fa-calendar-day",
|
||||
icon: "$ayiCalendarDay",
|
||||
route: "/home-schedule",
|
||||
key: key++
|
||||
});
|
||||
@@ -193,7 +192,7 @@ function initNavPanel() {
|
||||
//MEMOS
|
||||
sub.push({
|
||||
title: "MemoList",
|
||||
icon: "fa-inbox",
|
||||
icon: "$ayiInbox",
|
||||
route: "/home-memos",
|
||||
key: key++
|
||||
});
|
||||
@@ -201,7 +200,7 @@ function initNavPanel() {
|
||||
//REMINDERS (SCHEDULE MARKERS)
|
||||
sub.push({
|
||||
title: "ReminderList",
|
||||
icon: "fa-sticky-note",
|
||||
icon: "$ayiStickyNote",
|
||||
route: "/home-reminders",
|
||||
key: key++
|
||||
});
|
||||
@@ -214,23 +213,6 @@ function initNavPanel() {
|
||||
key: key++
|
||||
});
|
||||
|
||||
//Moved these two into user settings
|
||||
// //USER TRANSLATE
|
||||
// sub.push({
|
||||
// title: "Translation",
|
||||
// icon: "fa-language",
|
||||
// route: "/home-translation",
|
||||
// key: key++
|
||||
// });
|
||||
|
||||
// //SET LOGIN
|
||||
// sub.push({
|
||||
// title: "SetLoginPassword",
|
||||
// icon: "fa-key",
|
||||
// route: "/home-password",
|
||||
// key: key++
|
||||
// });
|
||||
|
||||
//USER NOTIFICATION SUBSCRIPTIONS
|
||||
if (
|
||||
//all but subcontractors (arbitrary decision without any facts ;)
|
||||
@@ -280,7 +262,7 @@ function initNavPanel() {
|
||||
//CUSTOMERS subitem
|
||||
sub.push({
|
||||
title: "CustomerList",
|
||||
icon: "fa-address-card",
|
||||
icon: "$ayiAddressCard",
|
||||
route: "/cust-customers",
|
||||
key: key++
|
||||
});
|
||||
@@ -288,7 +270,7 @@ function initNavPanel() {
|
||||
//HEAD OFFICES subitem
|
||||
sub.push({
|
||||
title: "HeadOfficeList",
|
||||
icon: "fa-sitemap",
|
||||
icon: "$ayiSitemap",
|
||||
route: "/cust-headoffices",
|
||||
key: key++
|
||||
});
|
||||
@@ -359,7 +341,7 @@ function initNavPanel() {
|
||||
) {
|
||||
sub.push({
|
||||
title: "WorkOrderList",
|
||||
icon: "fa-tools",
|
||||
icon: "$ayiTools",
|
||||
route: "/svc-workorders",
|
||||
key: key++
|
||||
});
|
||||
@@ -621,7 +603,7 @@ function initNavPanel() {
|
||||
// LICENSE
|
||||
sub.push({
|
||||
title: "HelpLicense",
|
||||
icon: "fa-ticket-alt",
|
||||
icon: "$ayiTicket",
|
||||
route: "/adm-license",
|
||||
key: key++
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user