From 8165aa1d737745df81112467d247dc5dd4075aac Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 3 Nov 2022 14:47:34 +0000 Subject: [PATCH] Bug 32096: Consistent classes for primary buttons: Tools This patch makes changes the button markup in various tool templates 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 pages in the tools section to confirm that everything looks correct. In most cases there are no visible changes. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/tools/additional-contents.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/tools/batchMod-del.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt | 2 +- .../prog/en/modules/tools/batch_delete_records.tt | 4 ++-- .../prog/en/modules/tools/batch_extend_due_dates.tt | 4 ++-- .../prog/en/modules/tools/batch_record_modification.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/tools/csv-profiles.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt | 8 ++++---- .../prog/en/modules/tools/import_borrowers.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/inventory.tt | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt | 8 ++++---- .../prog/en/modules/tools/manage-marc-import.tt | 2 +- .../prog/en/modules/tools/marc_modification_templates.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 8 ++++---- .../intranet-tmpl/prog/en/modules/tools/overduerules.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/tools/picture-upload.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/scheduler.tt | 4 ++-- .../prog/en/modules/tools/stage-marc-import.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/tools/stockrotation.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/tools/upload-images.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt | 6 +++--- koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt | 2 +- 25 files changed, 48 insertions(+), 48 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index 4db2b9e5d5..3a888a77a3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -183,8 +183,8 @@
- - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt index fd7f860ae1..91f29988fe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt @@ -82,7 +82,7 @@ [% IF ( del ) %][% END %]
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt index 845b3e90df..9cdef6d7bc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt @@ -131,7 +131,7 @@
- + Cancel
@@ -205,7 +205,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt index c0b9682ef8..f01d83774f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt @@ -120,7 +120,7 @@
- + Cancel
@@ -166,7 +166,7 @@ - + Cancel diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt index 94a9b375a8..d015745229 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt @@ -162,7 +162,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt index 3a0c48150d..f90a017e64 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt @@ -173,7 +173,7 @@ -
+
@@ -234,7 +234,7 @@ -
Cancel
+
Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt index 5488713136..3efaff89af 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt @@ -263,7 +263,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt index 6854ba54ba..acb46b36d6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt @@ -190,7 +190,7 @@ -
+
@@ -251,7 +251,7 @@ -
+
@@ -275,7 +275,7 @@ [% IF ( dbfiles && (dbfiles.size > 0) ) %] -
+
[% END %] @@ -301,7 +301,7 @@ [% IF ( conffiles && (conffiles.size > 0) ) %] -
+
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt index 48e35c4a35..2beeaaa0ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt @@ -366,7 +366,7 @@
- +
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index 98eb554cc1..076a3cdf70 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -238,7 +238,7 @@ -
+
[% END %] @@ -338,7 +338,7 @@
[% UNLESS uploadedbarcodesflag %]
Select all Clear all
- + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index 7fd3e6b674..b4e866c9a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -287,8 +287,8 @@
- - +
@@ -106,7 +106,7 @@
- + Cancel
@@ -127,7 +127,7 @@
- + Cancel
@@ -383,7 +383,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt index d0fd345b42..377ac80fd2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt @@ -49,7 +49,7 @@ [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %] - + [% IF ( ERROR ) %]
@@ -160,7 +160,7 @@
-
+
[% ELSE %]
You don't have patron categories defined, or the patron categories are not set to receive overdue notices.
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt index f8c4e6cba8..12cfc1932a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt @@ -156,7 +156,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt index f87440477b..e88d6978e0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt @@ -82,7 +82,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt index af6bb6b09b..bd76a4a4ee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt @@ -78,7 +78,7 @@ -
+
[% IF ( JOBS ) %]

Jobs already entered

@@ -95,7 +95,7 @@ [% JOB.TIME | html %] [% JOB.TAG | html %] - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt index cea449a767..6c6be6c43f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt @@ -98,7 +98,7 @@
- +
@@ -242,7 +242,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt index 1081985a7d..53433428a2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt @@ -195,7 +195,7 @@
- + Cancel
[% IF rota.rota_id %] @@ -352,7 +352,7 @@
- + Cancel
@@ -573,7 +573,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt index ece6ade474..e2cd7749c9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt @@ -263,7 +263,7 @@
- + [% IF ( biblionumber ) %] Cancel [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt index f5eac777ad..2bec4267c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt @@ -98,7 +98,7 @@
- +
@@ -136,7 +136,7 @@
- +
@@ -156,7 +156,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt index 575336b026..da9e4972c3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -312,7 +312,7 @@
- +
-- 2.39.5