This commit is contained in:
@@ -74,14 +74,14 @@ function generateMenu(vm) {
|
||||
var menuOptions = {
|
||||
isMain: true,
|
||||
icon: "vial",
|
||||
title: window.$gz.locale.get("WidgetList"),
|
||||
title: window.$gz.translation.get("WidgetList"),
|
||||
helpUrl: "form-ay-data-list-view",
|
||||
menuItems: []
|
||||
};
|
||||
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.locale.get("New"),
|
||||
title: window.$gz.translation.get("New"),
|
||||
icon: "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.locale.get("Report"),
|
||||
title: window.$gz.translation.get("Report"),
|
||||
icon: "file-alt",
|
||||
key: FORM_KEY + ":report",
|
||||
vm: vm
|
||||
|
||||
Reference in New Issue
Block a user