This commit is contained in:
2020-10-06 14:58:03 +00:00
parent d7b9b94804
commit 800a27b70a
36 changed files with 173 additions and 93 deletions

View File

@@ -151,7 +151,7 @@
v-model="password"
:readonly="formState.readOnly"
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
prepend-icon="fa-key"
prepend-icon="$ayiKey"
:label="$ay.t('NewPassword')"
:type="reveal ? 'text' : 'password'"
:error-messages="form().serverErrors(this, 'password')"
@@ -660,7 +660,7 @@ async function clickHandler(menuItem) {
function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-splotch",
icon: "$ayiUser",
title: "User",
helpUrl: "form-adm-user",
formData: {
@@ -674,7 +674,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: "Save",
icon: "fa-save",
icon: "$ayiSave",
surface: true,
key: FORM_KEY + ":save",
vm: vm
@@ -684,7 +684,7 @@ function generateMenu(vm) {
if (vm.rights.delete && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({
title: "Delete",
icon: "fa-trash-alt",
icon: "$ayiTrashAlt",
surface: false,
key: FORM_KEY + ":delete",
vm: vm
@@ -714,7 +714,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: "New",
icon: "fa-plus",
icon: "$ayiPlus",
key: FORM_KEY + ":new",
vm: vm
});
@@ -723,7 +723,7 @@ function generateMenu(vm) {
if (vm.rights.change && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({
title: "Duplicate",
icon: "fa-clone",
icon: "$ayiClone",
key: FORM_KEY + ":duplicate",
vm: vm
});
@@ -731,7 +731,7 @@ function generateMenu(vm) {
menuOptions.menuItems.push({
title: "DirectNotification",
icon: "fa-comment-alt",
icon: "$ayiCommentAlt",
key: FORM_KEY + ":directnotify",
vm: vm
});