From 2f3a908901e08badcae21c5513e207b346110d11 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 9 Jul 2024 14:34:29 +0200 Subject: [PATCH] Bug 37274: Use the Toolbar component in all Vue components We have a Toolbar component that must be used everywhere for consistency. This patch adds it when missing: * ERM/AgreementsShow Show an agreement * ERM/EHoldingsLocalPackagesShow Show a local package * ERM/EHoldingsLocalTitlesShow Show a local title * ERM/LicensesShow Show a license * ERM/UsageStatisticsDataProvidersShow Show a data provider * Preservation/SettingsProcessingsShow Show the the settings of a processing (Preservation module) Confirm that the "Edit" and "Delete" icons are now replaced with buttons (in a toolbar) on those views. Signed-off-by: Pedro Amorim --- .../js/vue/components/ERM/AgreementsShow.vue | 43 +++++++------- .../ERM/EHoldingsLocalPackagesShow.vue | 45 +++++++-------- .../ERM/EHoldingsLocalTitlesShow.vue | 43 +++++++------- .../js/vue/components/ERM/LicensesShow.vue | 39 ++++++------- .../ERM/UsageStatisticsDataProvidersShow.vue | 56 ++++++++++--------- .../Preservation/SettingsProcessingsShow.vue | 37 ++++++------ t/cypress/integration/ERM/Agreements_spec.ts | 4 +- .../integration/ERM/DataProviders_spec.ts | 4 +- t/cypress/integration/ERM/Licenses_spec.ts | 2 +- t/cypress/integration/ERM/Packages_spec.ts | 2 +- t/cypress/integration/ERM/Titles_spec.ts | 2 +- 11 files changed, 142 insertions(+), 135 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue index 34e77e98b8..27eee68c05 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue @@ -1,24 +1,27 @@