adding back fa- to icons so can more easily find them in code and removing helper function that added fa- automatically
This commit is contained in:
@@ -11,9 +11,6 @@ export default {
|
||||
// called from App.vue
|
||||
handleMenuChange(vm, ctx) {
|
||||
vm.appBar.isMain = ctx.isMain;
|
||||
if (ctx.icon && !ctx.icon.startsWith("fa-")) {
|
||||
ctx.icon = "fa-" + ctx.icon;
|
||||
}
|
||||
vm.appBar.icon = ctx.icon;
|
||||
vm.appBar.title = ctx.title;
|
||||
|
||||
@@ -56,14 +53,14 @@ export default {
|
||||
if (isCoreBizObject) {
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("Attachments"),
|
||||
icon: "paperclip",
|
||||
icon: "fa-paperclip",
|
||||
key: "app:attachments",
|
||||
data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
});
|
||||
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("WikiPage"),
|
||||
icon: "feather",
|
||||
icon: "fa-feather",
|
||||
key: "app:wiki",
|
||||
data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
});
|
||||
@@ -73,7 +70,7 @@ export default {
|
||||
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("Review"),
|
||||
icon: "calendar-check",
|
||||
icon: "fa-calendar-check",
|
||||
key: "app:review",
|
||||
data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
});
|
||||
@@ -82,7 +79,7 @@ export default {
|
||||
//anything not would be the exception rather than the rule
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("History"),
|
||||
icon: "history",
|
||||
icon: "fa-history",
|
||||
key: "app:history",
|
||||
data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
});
|
||||
@@ -107,7 +104,7 @@ export default {
|
||||
//customize
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("Customize"),
|
||||
icon: "sliders-h",
|
||||
icon: "fa-sliders-h",
|
||||
data: ctx.formData.formCustomTemplateKey,
|
||||
key: "app:customize"
|
||||
});
|
||||
@@ -129,7 +126,7 @@ export default {
|
||||
//For all forms but not on the search form itself; if this is necessary for others then make a nosearch or something flag controlled by incoming ctx but if not then this should suffice
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("Search"),
|
||||
icon: "search",
|
||||
icon: "fa-search",
|
||||
key: "app:search",
|
||||
data: formAyaType
|
||||
});
|
||||
@@ -138,7 +135,7 @@ export default {
|
||||
//HELP
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("MenuHelp"),
|
||||
icon: "question-circle",
|
||||
icon: "fa-question-circle",
|
||||
key: "app:help",
|
||||
data: vm.appBar.helpUrl
|
||||
});
|
||||
@@ -147,7 +144,7 @@ export default {
|
||||
if (ctx.helpUrl != "form-ay-about") {
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("HelpAboutAyaNova"),
|
||||
icon: "info-circle",
|
||||
icon: "fa-info-circle",
|
||||
key: "app:nav:abt",
|
||||
data: "ay-about"
|
||||
});
|
||||
@@ -156,7 +153,7 @@ export default {
|
||||
//LOGOUT
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("Logout"),
|
||||
icon: "sign-out-alt",
|
||||
icon: "fa-sign-out-alt",
|
||||
key: "app:logout"
|
||||
});
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "calculator",
|
||||
icon: "fa-calculator",
|
||||
title: window.$gz.translation.get("Accounting"),
|
||||
helpUrl: "form-acc-accounting"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "folder",
|
||||
icon: "fa-folder",
|
||||
title: window.$gz.translation.get("Attachments"),
|
||||
helpUrl: "form-adm-attachments"
|
||||
});
|
||||
|
||||
@@ -419,7 +419,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Save"),
|
||||
icon: "save",
|
||||
icon: "fa-save",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":save",
|
||||
vm: vm
|
||||
@@ -428,7 +428,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.delete) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("ResetToDefault"),
|
||||
icon: "undo",
|
||||
icon: "fa-undo",
|
||||
surface: false,
|
||||
key: FORM_KEY + ":delete",
|
||||
vm: vm
|
||||
|
||||
@@ -16,7 +16,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "cogs",
|
||||
icon: "fa-cogs",
|
||||
title: window.$gz.translation.get("AdministrationGlobalSettings"),
|
||||
helpUrl: "form-adm-global-settings"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "history",
|
||||
icon: "fa-history",
|
||||
title: window.$gz.translation.get("History"),
|
||||
helpUrl: "form-adm-history"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "ticket-alt",
|
||||
icon: "fa-ticket-alt",
|
||||
title: window.$gz.translation.get("HelpLicense"),
|
||||
helpUrl: "form-adm-license"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "th-list",
|
||||
icon: "fa-th-list",
|
||||
title: window.$gz.translation.get("ReportList"),
|
||||
helpUrl: "form-adm-report-templates"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "chart-line",
|
||||
icon: "fa-chart-line",
|
||||
title: window.$gz.translation.get("Statistics"),
|
||||
helpUrl: "form-adm-statistics"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "language",
|
||||
icon: "fa-language",
|
||||
title: window.$gz.translation.get("Translation"),
|
||||
helpUrl: "form-adm-translation"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "users",
|
||||
icon: "fa-users",
|
||||
title: window.$gz.translation.get("UserList"),
|
||||
helpUrl: "form-adm-users"
|
||||
});
|
||||
|
||||
@@ -190,14 +190,14 @@ function generateMenu(vm) {
|
||||
menuItems: [
|
||||
{
|
||||
title: window.$gz.translation.get("Copy"),
|
||||
icon: "copy",
|
||||
icon: "fa-copy",
|
||||
surface: true,
|
||||
key: "about:copysupportinfo",
|
||||
vm: vm
|
||||
},
|
||||
{
|
||||
title: window.$gz.translation.get("Log"),
|
||||
icon: "glasses",
|
||||
icon: "fa-glasses",
|
||||
surface: true,
|
||||
key: "app:nav:log",
|
||||
data: "ay-log"
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "paperclip",
|
||||
icon: "fa-paperclip",
|
||||
title: window.$gz.translation.get("Attachments"),
|
||||
helpUrl: "form-ay-attachments"
|
||||
});
|
||||
|
||||
@@ -287,7 +287,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Save"),
|
||||
icon: "save",
|
||||
icon: "fa-save",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":save",
|
||||
vm: vm
|
||||
@@ -298,7 +298,7 @@ function generateMenu(vm) {
|
||||
//plus it's related to this form and people think Customize for the whole shebang
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Translation"),
|
||||
icon: "language",
|
||||
icon: "fa-language",
|
||||
data: "adm-translation",
|
||||
key: "app:nav"
|
||||
});
|
||||
|
||||
@@ -927,7 +927,7 @@ function clickHandler(menuItem) {
|
||||
function generateMenu(vm) {
|
||||
var menuOptions = {
|
||||
isMain: false,
|
||||
icon: "filter",
|
||||
icon: "fa-filter",
|
||||
title: window.$gz.translation.get("DataListView"),
|
||||
helpUrl: "form-ay-data-list-view",
|
||||
formData: {
|
||||
@@ -940,7 +940,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Save"),
|
||||
icon: "save",
|
||||
icon: "fa-save",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":save",
|
||||
vm: vm
|
||||
@@ -949,7 +949,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.delete) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Delete"),
|
||||
icon: "trash-alt",
|
||||
icon: "fa-trash-alt",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":delete",
|
||||
vm: vm
|
||||
@@ -958,7 +958,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Duplicate"),
|
||||
icon: "clone",
|
||||
icon: "fa-clone",
|
||||
key: FORM_KEY + ":duplicate",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "history",
|
||||
icon: "fa-history",
|
||||
title: window.$gz.translation.get("History"),
|
||||
helpUrl: "form-ay-history"
|
||||
});
|
||||
|
||||
@@ -29,15 +29,7 @@ export default {
|
||||
title: window.$gz.translation.get("Log"),
|
||||
helpUrl: "form-ay-log",
|
||||
|
||||
menuItems: [
|
||||
// {
|
||||
// title: window.$gz.translation.get("Log"),
|
||||
// icon: "glasses",
|
||||
// surface: true,
|
||||
// key: "app:nav:log",
|
||||
// data: "log"
|
||||
// }
|
||||
]
|
||||
menuItems: []
|
||||
});
|
||||
|
||||
var outText = "";
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "calendar-check",
|
||||
icon: "fa-calendar-check",
|
||||
title: window.$gz.translation.get("Review"),
|
||||
helpUrl: "form-ay-review"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "feather",
|
||||
icon: "fa-feather",
|
||||
title: window.$gz.translation.get("WikiPage"),
|
||||
helpUrl: "form-ay-wiki"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "address-card",
|
||||
icon: "fa-address-card",
|
||||
title: window.$gz.translation.get("ClientList"),
|
||||
helpUrl: "form-cust-customers"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "sitemap",
|
||||
icon: "fa-sitemap",
|
||||
title: window.$gz.translation.get("HeadOfficeList"),
|
||||
helpUrl: "form-cust-headoffices"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "child",
|
||||
icon: "fa-child",
|
||||
title: window.$gz.translation.get("ClientServiceRequestList"),
|
||||
helpUrl: "form-customer-csr-list"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "tools",
|
||||
icon: "fa-tools",
|
||||
title: window.$gz.translation.get("WorkorderServiceList"),
|
||||
helpUrl: "form-customer-workorders"
|
||||
});
|
||||
|
||||
@@ -40,7 +40,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "tachometer-alt",
|
||||
icon: "fa-tachometer-alt",
|
||||
title: window.$gz.translation.get("Dashboard"),
|
||||
helpUrl: "form-home-dashboard"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "inbox",
|
||||
icon: "fa-inbox",
|
||||
title: window.$gz.translation.get("MemoList"),
|
||||
helpUrl: "form-home-memos"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "bullhorn",
|
||||
icon: "fa-bullhorn",
|
||||
title: window.$gz.translation.get("NotifySubscriptionList"),
|
||||
helpUrl: "form-home-notify-subscriptions"
|
||||
});
|
||||
|
||||
@@ -269,7 +269,7 @@ function clickHandler(menuItem) {
|
||||
function generateMenu(vm) {
|
||||
var menuOptions = {
|
||||
isMain: true,
|
||||
icon: "key",
|
||||
icon: "fa-key",
|
||||
title: window.$gz.translation.get("SetLoginPassword"),
|
||||
helpUrl: "form-home-password",
|
||||
menuItems: []
|
||||
@@ -278,7 +278,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Save"),
|
||||
icon: "save",
|
||||
icon: "fa-save",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":save",
|
||||
vm: vm
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "sticky-note",
|
||||
icon: "fa-sticky-note",
|
||||
title: window.$gz.translation.get("ReminderList"),
|
||||
helpUrl: "form-home-reminders"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "calendar-day",
|
||||
icon: "fa-calendar-day",
|
||||
title: window.$gz.translation.get("Schedule"),
|
||||
helpUrl: "form-home-schedule"
|
||||
});
|
||||
|
||||
@@ -23,7 +23,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "search",
|
||||
icon: "fa-search",
|
||||
title: window.$gz.translation.get("Search"),
|
||||
helpUrl: "form-home-search"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "language",
|
||||
icon: "fa-language",
|
||||
title: window.$gz.translation.get("Translation"),
|
||||
helpUrl: "form-home-translation"
|
||||
});
|
||||
|
||||
@@ -383,7 +383,7 @@ function clickHandler(menuItem) {
|
||||
function generateMenu(vm) {
|
||||
var menuOptions = {
|
||||
isMain: true,
|
||||
icon: "user-cog",
|
||||
icon: "fa-user-cog",
|
||||
title: window.$gz.translation.get("UserSettings"),
|
||||
helpUrl: "form-home-user-settings",
|
||||
formData: {
|
||||
@@ -395,7 +395,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Save"),
|
||||
icon: "save",
|
||||
icon: "fa-save",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":save",
|
||||
vm: vm
|
||||
@@ -405,7 +405,7 @@ function generateMenu(vm) {
|
||||
//change password and login
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("SetLoginPassword"),
|
||||
icon: "key",
|
||||
icon: "fa-key",
|
||||
data: "home-password",
|
||||
key: "app:nav"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "dolly",
|
||||
icon: "fa-dolly",
|
||||
title: window.$gz.translation.get("InventoryPartInventoryAdjustments"),
|
||||
helpUrl: "form-inv-adjustments"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "pallet",
|
||||
icon: "fa-pallet",
|
||||
title: window.$gz.translation.get("PartByWarehouseInventoryList"),
|
||||
helpUrl: "form-inv-part-inventory"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "paper-plane",
|
||||
icon: "fa-paper-plane",
|
||||
title: window.$gz.translation.get("WorkorderItemPartRequestList"),
|
||||
helpUrl: "form-inv-part-requests"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "boxes",
|
||||
icon: "fa-boxes",
|
||||
title: window.$gz.translation.get("PartList"),
|
||||
helpUrl: "form-inv-parts"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "dolly-flatbed",
|
||||
icon: "fa-dolly-flatbed",
|
||||
title: window.$gz.translation.get("InventoryPurchaseOrderReceipts"),
|
||||
helpUrl: "form-inv-purchase-order-receipts"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "shipping-fast",
|
||||
icon: "fa-shipping-fast",
|
||||
title: window.$gz.translation.get("InventoryPurchaseOrders"),
|
||||
helpUrl: "form-inv-purchase-orders"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "file-archive",
|
||||
icon: "fa-file-archive",
|
||||
title: window.$gz.translation.get("Backup"),
|
||||
helpUrl: "form-ops-backup"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "robot",
|
||||
icon: "fa-robot",
|
||||
title: window.$gz.translation.get("ServerJobs"),
|
||||
helpUrl: "form-ops-jobs"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "history",
|
||||
icon: "fa-history",
|
||||
title: window.$gz.translation.get("ServerLog"),
|
||||
helpUrl: "form-ops-log"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "file-medical-alt",
|
||||
icon: "fa-file-medical-alt",
|
||||
title: window.$gz.translation.get("ServerMetrics"),
|
||||
helpUrl: "form-ops-metrics"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "bullhorn",
|
||||
icon: "fa-bullhorn",
|
||||
title: window.$gz.translation.get("NotificationSettings"),
|
||||
helpUrl: "form-ops-notification-settings"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "file-contract",
|
||||
icon: "fa-file-contract",
|
||||
title: window.$gz.translation.get("ContractList"),
|
||||
helpUrl: "form-svc-contracts"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "child",
|
||||
icon: "fa-child",
|
||||
title: window.$gz.translation.get("ClientServiceRequestList"),
|
||||
helpUrl: "form-svc-csr-list"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "plug",
|
||||
icon: "fa-plug",
|
||||
title: window.$gz.translation.get("LoanItemList"),
|
||||
helpUrl: "form-svc-loaners"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "business-time",
|
||||
icon: "fa-business-time",
|
||||
title: window.$gz.translation.get("WorkorderPreventiveMaintenanceList"),
|
||||
helpUrl: "form-svc-pm-list"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "stamp",
|
||||
icon: "fa-stamp",
|
||||
title: window.$gz.translation.get(
|
||||
"WorkorderPreventiveMaintenanceTemplate"
|
||||
),
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "stamp",
|
||||
icon: "fa-stamp",
|
||||
title: window.$gz.translation.get("WorkorderQuoteTemplate"),
|
||||
helpUrl: "form-svc-quote-templates"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "edit",
|
||||
icon: "fa-edit",
|
||||
title: window.$gz.translation.get("WorkorderQuoteList"),
|
||||
helpUrl: "form-svc-quotes"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "calendar-alt",
|
||||
icon: "fa-calendar-alt",
|
||||
title: window.$gz.translation.get("Schedule"),
|
||||
helpUrl: "form-svc-schedule"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "dice-d20",
|
||||
icon: "fa-dice-d20",
|
||||
title: window.$gz.translation.get("UnitModels"),
|
||||
helpUrl: "form-svc-unit-models"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "fan",
|
||||
icon: "fa-fan",
|
||||
title: window.$gz.translation.get("UnitList"),
|
||||
helpUrl: "form-svc-units"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "stamp",
|
||||
icon: "fa-stamp",
|
||||
title: window.$gz.translation.get("WorkorderServiceTemplate"),
|
||||
helpUrl: "form-svc-workorder-templates"
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "tools",
|
||||
icon: "fa-tools",
|
||||
title: window.$gz.translation.get("WorkorderServiceList"),
|
||||
helpUrl: "form-svc-workorders"
|
||||
});
|
||||
|
||||
@@ -119,7 +119,7 @@ export default {
|
||||
beforeCreate() {
|
||||
window.$gz.eventBus.$emit("menu-change", {
|
||||
isMain: true,
|
||||
icon: "store",
|
||||
icon: "fa-store",
|
||||
title: window.$gz.translation.get("VendorList"),
|
||||
helpUrl: "form-vendors"
|
||||
});
|
||||
|
||||
@@ -615,7 +615,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Save"),
|
||||
icon: "save",
|
||||
icon: "fa-save",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":save",
|
||||
vm: vm
|
||||
@@ -625,7 +625,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.delete) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Delete"),
|
||||
icon: "trash-alt",
|
||||
icon: "fa-trash-alt",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":delete",
|
||||
vm: vm
|
||||
@@ -636,14 +636,14 @@ function generateMenu(vm) {
|
||||
//Report not Print, print is a further option
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Report"),
|
||||
icon: "file-alt",
|
||||
icon: "fa-file-alt",
|
||||
key: FORM_KEY + ":report",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "stub: Last report used",
|
||||
icon: "file-alt",
|
||||
icon: "fa-file-alt",
|
||||
key: FORM_KEY + ":report:STUBlastusedreportid",
|
||||
vm: vm
|
||||
});
|
||||
@@ -651,7 +651,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Duplicate"),
|
||||
icon: "clone",
|
||||
icon: "fa-clone",
|
||||
key: FORM_KEY + ":duplicate",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
@@ -73,7 +73,7 @@ function clickHandler(menuItem) {
|
||||
function generateMenu(vm) {
|
||||
var menuOptions = {
|
||||
isMain: true,
|
||||
icon: "vial",
|
||||
icon: "fa-vial",
|
||||
title: window.$gz.translation.get("WidgetList"),
|
||||
helpUrl: "form-ay-data-list-view",
|
||||
menuItems: []
|
||||
@@ -82,7 +82,7 @@ function generateMenu(vm) {
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("New"),
|
||||
icon: "plus",
|
||||
icon: "fa-plus",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":new",
|
||||
vm: vm
|
||||
@@ -93,14 +93,14 @@ function generateMenu(vm) {
|
||||
//Report not Print, print is a further option
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Report"),
|
||||
icon: "file-alt",
|
||||
icon: "fa-file-alt",
|
||||
key: FORM_KEY + ":report",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "stub: Last report used",
|
||||
icon: "file-alt",
|
||||
icon: "fa-file-alt",
|
||||
key: FORM_KEY + ":report:STUBlastusedreportid",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user