This commit is contained in:
2020-06-24 22:28:15 +00:00
parent 6bb3ac290c
commit 9aa60dae7a
21 changed files with 61 additions and 61 deletions

View File

@@ -400,7 +400,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: null,
title: vm.$ay.t("PickListTemplates"),
title: "PickListTemplates",
helpUrl: "form-adm-global-select-templates",
formData: {
ayaType: window.$gz.type.FormCustom,
@@ -411,7 +411,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Save"),
title: "Save",
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",
@@ -420,7 +420,7 @@ function generateMenu(vm) {
if (vm.rights.delete) {
menuOptions.menuItems.push({
title: vm.$ay.t("ResetToDefault"),
title: "ResetToDefault",
icon: "fa-undo",
surface: false,
key: FORM_KEY + ":delete",

View File

@@ -517,7 +517,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-ticket-alt",
title: vm.$ay.t("HelpLicense"),
title: "HelpLicense",
helpUrl: "form-adm-license",
formData: {
ayaType: window.$gz.type.License
@@ -527,7 +527,7 @@ function generateMenu(vm) {
//copy dbid
menuOptions.menuItems.push({
title: vm.$ay.t("CopyDbId"),
title: "CopyDbId",
icon: "fa-copy",
key: FORM_KEY + ":copydbid",
vm: vm
@@ -536,7 +536,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
//Trigger license check
menuOptions.menuItems.push({
title: vm.$ay.t("CheckForLicense"),
title: "CheckForLicense",
icon: "fa-ticket-alt",
key: FORM_KEY + ":fetch",
vm: vm
@@ -544,7 +544,7 @@ function generateMenu(vm) {
//erase database
menuOptions.menuItems.push({
title: vm.$ay.t("AdminEraseDatabase"),
title: "AdminEraseDatabase",
icon: "fa-skull-crossbones",
key: FORM_KEY + ":erase",
vm: vm

View File

@@ -492,7 +492,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-language",
title: vm.$ay.t("Translation"),
title: "Translation",
helpUrl: "form-translation",
formData: {
ayaType: window.$gz.type.Translation,
@@ -504,7 +504,7 @@ function generateMenu(vm) {
if (vm.rights.change && vm.obj.stock != true) {
menuOptions.menuItems.push({
title: vm.$ay.t("Save"),
title: "Save",
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",
@@ -518,7 +518,7 @@ function generateMenu(vm) {
vm.obj.stock != true
) {
menuOptions.menuItems.push({
title: vm.$ay.t("Delete"),
title: "Delete",
icon: "fa-trash-alt",
surface: true,
key: FORM_KEY + ":delete",
@@ -529,7 +529,7 @@ function generateMenu(vm) {
//STUB REPORTS
//Report not Print, print is a further option
menuOptions.menuItems.push({
title: vm.$ay.t("Report"),
title: "Report",
icon: "fa-file-alt",
key: FORM_KEY + ":report",
vm: vm
@@ -548,7 +548,7 @@ function generateMenu(vm) {
if (vm.rights.change && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({
title: vm.$ay.t("Duplicate"),
title: "Duplicate",
icon: "fa-clone",
key: FORM_KEY + ":duplicate",
vm: vm

View File

@@ -71,7 +71,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-language",
title: vm.$ay.t("TranslationList"),
title: "TranslationList",
helpUrl: "form-adm-translations",
menuItems: [],
formData: {
@@ -81,7 +81,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("New"),
title: "New",
icon: "fa-plus",
surface: true,
key: FORM_KEY + ":new",
@@ -92,7 +92,7 @@ function generateMenu(vm) {
//STUB REPORTS
//Report not Print, print is a further option
menuOptions.menuItems.push({
title: vm.$ay.t("Report"),
title: "Report",
icon: "fa-file-alt",
key: FORM_KEY + ":report",
vm: vm

View File

@@ -626,7 +626,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-splotch",
title: vm.$ay.t("User"),
title: "User",
helpUrl: "form-user",
formData: {
ayaType: window.$gz.type.User,
@@ -638,7 +638,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Save"),
title: "Save",
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",
@@ -648,7 +648,7 @@ function generateMenu(vm) {
if (vm.rights.delete && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({
title: vm.$ay.t("Delete"),
title: "Delete",
icon: "fa-trash-alt",
surface: true,
key: FORM_KEY + ":delete",
@@ -659,7 +659,7 @@ function generateMenu(vm) {
//STUB REPORTS
//Report not Print, print is a further option
menuOptions.menuItems.push({
title: vm.$ay.t("Report"),
title: "Report",
icon: "fa-file-alt",
key: FORM_KEY + ":report",
vm: vm
@@ -678,7 +678,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("New"),
title: "New",
icon: "fa-plus",
key: FORM_KEY + ":new",
vm: vm
@@ -687,7 +687,7 @@ function generateMenu(vm) {
if (vm.rights.change && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({
title: vm.$ay.t("Duplicate"),
title: "Duplicate",
icon: "fa-clone",
key: FORM_KEY + ":duplicate",
vm: vm

View File

@@ -70,7 +70,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-users",
title: vm.$ay.t("UserList"),
title: "UserList",
helpUrl: "form-adm-users",
menuItems: [],
formData: {
@@ -80,7 +80,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("New"),
title: "New",
icon: "fa-plus",
surface: true,
key: FORM_KEY + ":new",
@@ -91,7 +91,7 @@ function generateMenu(vm) {
//STUB REPORTS
//Report not Print, print is a further option
menuOptions.menuItems.push({
title: vm.$ay.t("Report"),
title: "Report",
icon: "fa-file-alt",
key: FORM_KEY + ":report",
vm: vm

View File

@@ -192,18 +192,18 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-info-circle",
title: vm.$ay.t("HelpAboutAyaNova"),
title: "HelpAboutAyaNova",
helpUrl: "form-ay-about",
menuItems: [
{
title: vm.$ay.t("CopySupportInfo"),
title: "CopySupportInfo",
icon: "fa-copy",
surface: false,
key: "about:copysupportinfo",
vm: vm
},
{
title: vm.$ay.t("Log"),
title: "Log",
icon: "fa-glasses",
surface: false,
key: "app:nav:log",

View File

@@ -277,7 +277,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-sliders-h",
title: vm.$ay.t("Customize"),
title: "Customize",
helpUrl: "form-ay-customize",
formData: {
ayaType: window.$gz.type.FormCustom,
@@ -288,7 +288,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Save"),
title: "Save",
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",
@@ -299,7 +299,7 @@ function generateMenu(vm) {
//Extra link to it here so people can stumble their way onto it
//plus it's related to this form and people think Customize for the whole shebang
menuOptions.menuItems.push({
title: vm.$ay.t("Translation"),
title: "Translation",
icon: "fa-language",
data: "adm-translation",
key: "app:nav"

View File

@@ -887,7 +887,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-filter",
title: vm.$ay.t("DataListView"),
title: "DataListView",
helpUrl: "form-ay-data-list-view",
formData: {
ayaType: window.$gz.type.FormCustom,
@@ -898,7 +898,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Save"),
title: "Save",
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",
@@ -907,7 +907,7 @@ function generateMenu(vm) {
}
if (vm.rights.delete) {
menuOptions.menuItems.push({
title: vm.$ay.t("Delete"),
title: "Delete",
icon: "fa-trash-alt",
surface: true,
key: FORM_KEY + ":delete",
@@ -916,7 +916,7 @@ function generateMenu(vm) {
}
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Duplicate"),
title: "Duplicate",
icon: "fa-clone",
key: FORM_KEY + ":duplicate",
vm: vm

View File

@@ -271,7 +271,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-rocket",
title: vm.$ay.t("Evaluate"),
title: "Evaluate",
helpUrl: "ay-evaluate",
menuItems: []
};

View File

@@ -353,7 +353,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-history",
title: vm.$ay.t("History"),
title: "History",
helpUrl: "form-ay-history",
menuItems: []
};

View File

@@ -264,7 +264,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-key",
title: vm.$ay.t("SetLoginPassword"),
title: "SetLoginPassword",
helpUrl: "form-home-password",
formData: {
ayaType: window.$gz.type.UserOptions
@@ -274,7 +274,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Save"),
title: "Save",
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",

View File

@@ -330,7 +330,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-search",
title: vm.$ay.t("Search"),
title: "Search",
helpUrl: "form-home-search",
hideSearch: true,
formData: {

View File

@@ -366,7 +366,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-file-archive",
title: vm.$ay.t("Backup"),
title: "Backup",
helpUrl: "form-ops-backup",
formData: {
ayaType: window.$gz.type.Backup
@@ -377,7 +377,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Save"),
title: "Save",
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",
@@ -385,7 +385,7 @@ function generateMenu(vm) {
});
menuOptions.menuItems.push({
title: vm.$ay.t("BackupNow"),
title: "BackupNow",
icon: "fa-file-archive",
surface: false,
key: FORM_KEY + ":backupnow",

View File

@@ -174,14 +174,14 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-robot",
title: vm.$ay.t("ServerJobs"),
title: "ServerJobs",
helpUrl: "form-ops-jobs",
formData: {
ayaType: window.$gz.type.ServerJob
},
menuItems: [
{
title: vm.$ay.t("Copy"),
title: "Copy",
icon: "fa-copy",
surface: false,
key: FORM_KEY + ":copylog",
@@ -192,7 +192,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("OpsTestJob"),
title: "OpsTestJob",
icon: "fa-robot",
surface: false,
key: FORM_KEY + ":TEST_JOB",

View File

@@ -146,14 +146,14 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-history",
title: vm.$ay.t("ServerLog"),
title: "ServerLog",
helpUrl: "form-ops-log",
formData: {
ayaType: window.$gz.type.LogFile
},
menuItems: [
{
title: vm.$ay.t("Copy"),
title: "Copy",
icon: "fa-copy",
surface: false,
key: FORM_KEY + ":copylog",

View File

@@ -456,7 +456,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-file-medical-alt",
title: vm.$ay.t("ServerMetrics"),
title: "ServerMetrics",
helpUrl: "form-ops-metrics",
formData: {
ayaType: window.$gz.type.ServerMetrics

View File

@@ -86,14 +86,14 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-binoculars",
title: vm.$ay.t("ServerProfiler"),
title: "ServerProfiler",
helpUrl: "form-ops-profile",
formData: {
ayaType: window.$gz.type.ServerMetrics
},
menuItems: [
// {
// title: vm.$ay.t("Copy"),
// title: "Copy"),
// icon: "fa-copy",
// surface: false,
// key: FORM_KEY + ":copylog",

View File

@@ -240,7 +240,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-door-open",
title: vm.$ay.t("ServerState"),
title: "ServerState",
helpUrl: "form-ops-server-state",
formData: {
ayaType: window.$gz.type.ServerState
@@ -253,7 +253,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Save"),
title: "Save",
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",

View File

@@ -645,7 +645,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-splotch",
title: vm.$ay.t("Widget"),
title: "Widget",
helpUrl: "form-widget",
formData: {
ayaType: window.$gz.type.Widget,
@@ -657,7 +657,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Save"),
title: "Save",
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",
@@ -667,7 +667,7 @@ function generateMenu(vm) {
if (vm.rights.delete && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({
title: vm.$ay.t("Delete"),
title: "Delete",
icon: "fa-trash-alt",
surface: true,
key: FORM_KEY + ":delete",
@@ -678,7 +678,7 @@ function generateMenu(vm) {
//STUB REPORTS
//Report not Print, print is a further option
menuOptions.menuItems.push({
title: vm.$ay.t("Report"),
title: "Report",
icon: "fa-file-alt",
key: FORM_KEY + ":report",
vm: vm
@@ -697,7 +697,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("New"),
title: "New",
icon: "fa-plus",
key: FORM_KEY + ":new",
vm: vm
@@ -706,7 +706,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("Duplicate"),
title: "Duplicate",
icon: "fa-clone",
key: FORM_KEY + ":duplicate",
vm: vm

View File

@@ -70,7 +70,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-vial",
title: vm.$ay.t("WidgetList"),
title: "WidgetList",
helpUrl: "form-ay-data-list-view",
menuItems: [],
formData: {
@@ -80,7 +80,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: vm.$ay.t("New"),
title: "New",
icon: "fa-plus",
surface: true,
key: FORM_KEY + ":new",
@@ -91,7 +91,7 @@ function generateMenu(vm) {
//STUB REPORTS
//Report not Print, print is a further option
menuOptions.menuItems.push({
title: vm.$ay.t("Report"),
title: "Report",
icon: "fa-file-alt",
key: FORM_KEY + ":report",
vm: vm