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:
2020-03-30 20:50:50 +00:00
parent f355bd20a0
commit e055ae2049
58 changed files with 82 additions and 93 deletions

View File

@@ -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
});