This commit is contained in:
2020-10-05 23:04:21 +00:00
parent 17652ec56d
commit 6debf951e2
12 changed files with 71 additions and 34 deletions

View File

@@ -122,17 +122,6 @@ export default {
});
}
// //PLUGINS - for anything with a type but not necessarily an ID
// if (!UTILITY_TYPES.includes(formAyaType)) {
// vm.appBar.menuItems.push({
// title: "More",
// icon: "fa-puzzle-piece",
// key: "app:plugin",
// data: formAyaType,
// recordId: formRecordId
// });
// }
//CUSTOMIZE
//set custom fields and link to translation text editor
@@ -153,7 +142,7 @@ export default {
//customize
vm.appBar.menuItems.push({
title: "Customize",
icon: "fa-sliders-h",
icon: "$ayiCustomize",
data: ctx.formData.formCustomTemplateKey,
key: "app:customize"
});

View File

@@ -324,13 +324,13 @@ export default {
case window.$gz.type.Translation:
return "fa-language";
case window.$gz.type.UserOptions:
return "fa-user-cog";
return "$ayiUserCog";
case window.$gz.type.FileAttachment:
return "fa-paperclip";
case window.$gz.type.DataListView:
return "fa-filter";
case window.$gz.type.FormCustom:
return "fa-sliders-h";
return "$ayiCustomize";
default:
return null;
}

View File

@@ -49,14 +49,14 @@ function initNavPanel() {
//USER SETTINGS
sub.push({
title: "UserSettings",
icon: "fa-user-cog",
icon: "$ayiUserCog",
route: "/home-user-settings",
key: key++
});
sub.push({
title: "NotifySubscriptionList",
icon: "fa-bullhorn",
icon: "$ayiBullhorn",
route: "/home-notify-subscriptions",
key: key++
});
@@ -64,7 +64,7 @@ function initNavPanel() {
//CSR LIST subitem
sub.push({
title: "CustomerServiceRequestList",
icon: "fa-child",
icon: "$ayiChild",
route: "/customer-csr-list",
key: key++
});
@@ -79,7 +79,7 @@ function initNavPanel() {
//** CUSTOMER LOGIN HOME (TOP)
addNavItem("Home", "fa-home", undefined, sub, key++, "homecustomer");
addNavItem("Home", "$ayiHome", undefined, sub, key++, "homecustomer");
return;
}
@@ -209,7 +209,7 @@ function initNavPanel() {
//USER SETTINGS
sub.push({
title: "UserSettings",
icon: "fa-user-cog",
icon: "$ayiUserCog",
route: "/home-user-settings",
key: key++
});
@@ -250,14 +250,14 @@ function initNavPanel() {
) {
sub.push({
title: "NotifySubscriptionList",
icon: "fa-bullhorn",
icon: "$ayiBullhorn",
route: "/home-notify-subscriptions",
key: key++
});
}
//HOME
addNavItem("Home", "fa-home", undefined, sub, key++, "home");
addNavItem("Home", "$ayiHome", undefined, sub, key++, "home");
}
//****************** CUSTOMERS
@@ -481,7 +481,7 @@ function initNavPanel() {
) {
sub.push({
title: "CustomerServiceRequestList",
icon: "fa-child",
icon: "$ayiChild",
route: "/svc-csr-list",
key: key++
});
@@ -741,7 +741,7 @@ function initNavPanel() {
//NOTIFICATION CONFIG AND HISTORY
sub.push({
title: "NotificationSettings",
icon: "fa-bullhorn",
icon: "$ayiBullhorn",
route: "/ops-notification-settings",
key: key++
});