From ccabd9f3dd49bd8673dc73e273e0f9f10ef3e5b8 Mon Sep 17 00:00:00 2001
From: Owen Leonard
Date: Thu, 3 Nov 2022 14:25:45 +0000
Subject: [PATCH] Bug 32091: Consistent classes for primary buttons: Reports
This patch makes changes the button markup in reports 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 reports pages to confirm that
everything looks correct. In most cases there are no visible changes.
Signed-off-by: David Nind
Signed-off-by: Tomas Cohen Arazi
---
.../en/modules/reports/acquisitions_stats.tt | 2 +-
.../prog/en/modules/reports/bor_issues_top.tt | 2 +-
.../prog/en/modules/reports/borrowers_out.tt | 2 +-
.../en/modules/reports/borrowers_stats.tt | 2 +-
.../en/modules/reports/cash_register_stats.tt | 2 +-
.../prog/en/modules/reports/cat_issues_top.tt | 2 +-
.../prog/en/modules/reports/catalogue_out.tt | 2 +-
.../en/modules/reports/catalogue_stats.tt | 2 +-
.../prog/en/modules/reports/dictionary.tt | 12 ++++----
.../modules/reports/guided_reports_start.tt | 28 +++++++++----------
.../en/modules/reports/issues_avg_stats.tt | 2 +-
.../prog/en/modules/reports/issues_stats.tt | 2 +-
.../prog/en/modules/reports/itemslost.tt | 2 +-
.../prog/en/modules/reports/itemtypes.tt | 2 +-
.../en/modules/reports/orders_by_budget.tt | 2 +-
.../prog/en/modules/reports/reports-home.tt | 2 +-
.../prog/en/modules/reports/reserves_stats.tt | 2 +-
.../prog/en/modules/reports/serials_stats.tt | 2 +-
18 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt
index 344e59aea8..32ce2afd63 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt
@@ -323,7 +323,7 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt
index a38920ccc4..e9afc3c68f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt
@@ -213,7 +213,7 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt
index 6d0e65fa97..12d377682a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt
@@ -127,7 +127,7 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt
index 68d13e0289..7704095b95 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt
@@ -314,7 +314,7 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt
index 1fac39e8c0..b785a1ab82 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt
@@ -150,7 +150,7 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt
index 67e4e251c7..f8d08f3b03 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt
@@ -205,7 +205,7 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt
index 1fb33aa627..a08465d7c4 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt
@@ -148,7 +148,7 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
index c04763b4a1..38c8ea8965 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
@@ -125,7 +125,7 @@
[%- END -%]
[% END %]
-
+
[% END %]
@@ -171,7 +171,7 @@
+
[% END %]
@@ -193,7 +193,7 @@
-
+
[%- END -%]
@@ -229,7 +229,7 @@
-
+
[% END %]
@@ -278,7 +278,7 @@
[% END %]
@@ -324,7 +324,7 @@
+
[% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
index b5face558b..cb5cc11f38 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
@@ -184,21 +184,21 @@
[% IF ( CAN_user_reports_create_reports ) %]
[% END %]
[% IF ( CAN_user_reports_execute_reports ) %]
[% END %]
[% IF ( CAN_user_reports_create_reports ) %]
[% END %]
@@ -206,7 +206,7 @@
Use the reports dictionary to define custom criteria to use in your reports
[% END # /IF (start) %]
@@ -414,7 +414,7 @@
[% IF ( CAN_user_reports_delete_reports ) %]
[% END %]
@@ -755,7 +755,7 @@
[% END #/ IF ( build6 ) %]
@@ -774,7 +774,7 @@
You will need to save the report before you can execute it
[% END #/ IF ( showreport ) %]
@@ -802,7 +802,7 @@
[% END # /IF( save ) %]
@@ -858,7 +858,7 @@
[% END %]
-
+
[% ELSE # IF ( auth_val_error ) %]
Enter parameters for report [% name | html %]:
@@ -900,7 +900,7 @@
[% END # / IF ( auth_val_error ) %]
@@ -1265,7 +1265,7 @@
@@ -1374,7 +1374,7 @@
@@ -1403,7 +1403,7 @@
[% END # /IF ( errors ) %]
@@ -1437,7 +1437,7 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt
index 0a3ab2def5..c34667db64 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt
@@ -253,7 +253,7 @@
-
+
[% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt
index eb441f1da1..57f62314a5 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt
@@ -388,7 +388,7 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt
index abb076b248..7251adb397 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt
@@ -191,7 +191,7 @@
-
-
+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt
index b0c045d110..15b0bd953e 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt
@@ -154,7 +154,7 @@
-
+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
index 1ad30ce77e..04736fe13c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
@@ -48,7 +48,7 @@
Use saved
-
+
[% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt
index 8ee3f96212..f7f3023a38 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt
@@ -327,7 +327,7 @@
-
+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt
index 5faaa5b99c..cb26c1cf24 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt
@@ -140,7 +140,7 @@
-
+
--
2.39.5