From d30c6dcb7f245f66f052c27bada39ec6ef5df5ca Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 2 Nov 2022 12:43:17 +0000 Subject: [PATCH] Bug 32085: Consistent classes for primary buttons: Labels This patch makes changes the button markup in label-creation templates -- including the barcode image generator -- so that all submit buttons and any buttons that should should be styled as primary buttons have the Bootstrap class "btn btn-primary." To test, apply the patch and view label-related pages to confirm that everything looks correct. In most cases there are no visible changes. Signed-off-by: David Nind Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt | 2 +- .../intranet-tmpl/prog/en/modules/labels/label-bib-search.tt | 2 +- .../intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt | 2 +- .../intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt | 2 +- .../intranet-tmpl/prog/en/modules/labels/label-edit-range.tt | 2 +- .../intranet-tmpl/prog/en/modules/labels/label-edit-template.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt | 2 +- .../intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt index e446685c7a..94674bb557 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt @@ -112,7 +112,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt index 9440e482c1..f054c2e058 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt @@ -25,7 +25,7 @@

- +

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt index e8cbb18281..05b21f4bf7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt @@ -205,7 +205,7 @@
- + Cancel diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt index 8e65ae21ff..a0a1eace08 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt @@ -128,7 +128,7 @@
- + Cancel diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt index da7a57b452..8ad27f8f21 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt @@ -51,7 +51,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt index 39dbb236bf..7ee480b29d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt @@ -172,7 +172,7 @@
- Cancel + Cancel [% IF ( template_id ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt index 1c5d90c5ad..04d910c739 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt @@ -105,7 +105,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt index 8cf3a91bb5..edf948b802 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt @@ -101,7 +101,7 @@ to add to Batch [% batch_id | html %] -
Cancel
+
Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt index 7ad6e8411b..eeed2bd99d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt @@ -41,7 +41,7 @@ -
+
-- 2.39.5