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

@@ -927,7 +927,7 @@ function clickHandler(menuItem) {
function generateMenu(vm) {
var menuOptions = {
isMain: false,
icon: "filter",
icon: "fa-filter",
title: window.$gz.translation.get("DataListView"),
helpUrl: "form-ay-data-list-view",
formData: {
@@ -940,7 +940,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
@@ -949,7 +949,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
@@ -958,7 +958,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
});