This commit is contained in:
2020-04-04 18:31:08 +00:00
parent 43de3c8fb0
commit 374a033c3b
59 changed files with 88 additions and 93 deletions

View File

@@ -74,14 +74,14 @@ function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "fa-vial",
title: window.$gz.translation.get("WidgetList"),
title: vm.$ay.t("WidgetList"),
helpUrl: "form-ay-data-list-view",
menuItems: []
};
if (vm.rights.change) {
menuOptions.menuItems.push({
title: window.$gz.translation.get("New"),
title: vm.$ay.t("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: window.$gz.translation.get("Report"),
title: vm.$ay.t("Report"),
icon: "fa-file-alt",
key: FORM_KEY + ":report",
vm: vm