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:
@@ -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