Bugzilla – Attachment 149611 Details for
Bug 33529
Increase flexibility of action buttons in Vue Kohatables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33529: Update action buttons in list components
Bug-33529-Update-action-buttons-in-list-components.patch (text/plain), 4.31 KB, created by
Matt Blenkinsop
on 2023-04-13 15:50:37 UTC
(
hide
)
Description:
Bug 33529: Update action buttons in list components
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-04-13 15:50:37 UTC
Size:
4.31 KB
patch
obsolete
>From 9973a651de63731da7f9b65ffe889e8444c6bfb3 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Thu, 13 Apr 2023 15:47:44 +0000 >Subject: [PATCH] Bug 33529: Update action buttons in list components > >This patch updates the inputs in the different list components > >Test plan as above >--- > .../prog/js/vue/components/ERM/AgreementsList.vue | 9 ++++++++- > .../js/vue/components/ERM/EHoldingsLocalPackagesList.vue | 9 ++++++++- > .../js/vue/components/ERM/EHoldingsLocalTitlesList.vue | 9 ++++++++- > .../prog/js/vue/components/ERM/LicensesList.vue | 9 ++++++++- > 4 files changed, 32 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue >index 072ce02931..ba0285b8f6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue >@@ -129,7 +129,14 @@ export default { > }, > actions: { > 0: ["show"], >- "-1": ["edit", "delete"], >+ "-1": [ >+ { action: "edit", title: "Edit", icon: "fa fa-pencil" }, >+ { >+ action: "delete", >+ title: "Delete", >+ icon: "fa fa-trash", >+ }, >+ ], > }, > default_filters: { > "user_roles.user_id": function () { >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesList.vue >index b78dab4de9..cad5083c76 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesList.vue >@@ -95,7 +95,14 @@ export default { > }, > actions: { > 0: ["show"], >- "-1": ["edit", "delete"], >+ "-1": [ >+ { action: "edit", title: "Edit", icon: "fa fa-pencil" }, >+ { >+ action: "delete", >+ title: "Delete", >+ icon: "fa fa-trash", >+ }, >+ ], > }, > }, > } >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue >index de9b39f957..5d429c735c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue >@@ -86,7 +86,14 @@ export default { > }, > actions: { > 0: ["show"], >- "-1": ["edit", "delete"], >+ "-1": [ >+ { action: "edit", title: "Edit", icon: "fa fa-pencil" }, >+ { >+ action: "delete", >+ title: "Delete", >+ icon: "fa fa-trash", >+ }, >+ ], > }, > }, > cannot_search: false, >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue >index 2db4d82e50..fc837ceb5d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue >@@ -68,7 +68,14 @@ export default { > }, > actions: { > 0: ["show"], >- "-1": ["edit", "delete"], >+ "-1": [ >+ { action: "edit", title: "Edit", icon: "fa fa-pencil" }, >+ { >+ action: "delete", >+ title: "Delete", >+ icon: "fa fa-trash", >+ }, >+ ], > }, > }, > } >-- >2.37.1 (Apple Git-137.1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33529
:
149610
| 149611