From a5f794b2475d5adebe1b3007ff95e854ea1da0af Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 3 Nov 2022 15:32:45 +0000 Subject: [PATCH] Bug 32099: Consistent classes for primary buttons: Assorted templates This patch makes changes the button markup in various assorted 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 the following pages to confirm that everything looks correct. In most cases there are no visible changes. - Staff interface login - Authorities -> Add/edit - Authorities -> Merge - ILL -> ILL requests - Tools -> Patron lists - Administration -> Manage plugins -> Upload plugin - Point of sale - Point of sale -> Transaction history - Holds - Suggestions - Tags - Calendar Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 4 ++-- .../prog/en/modules/authorities/authorities.tt | 2 +- .../intranet-tmpl/prog/en/modules/authorities/merge.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 8 ++++---- .../prog/en/modules/patron_lists/add-modify.tt | 2 +- .../intranet-tmpl/prog/en/modules/patron_lists/list.tt | 4 ++-- .../prog/en/modules/plugins/plugins-upload.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 2 +- .../intranet-tmpl/prog/en/modules/pos/register.tt | 2 +- .../intranet-tmpl/prog/en/modules/reserve/request.tt | 4 ++-- .../prog/en/modules/suggestion/suggestion.tt | 10 +++++----- koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/holidays.tt | 6 +++--- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt index 2c9ee57bcb..a8d8f793d2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt @@ -151,7 +151,7 @@ -

+

[% IF ( casAuthentication ) %] @@ -191,7 +191,7 @@

- + Send the code by email Cancel

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index 832a651e5d..ebca79dbdf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -316,7 +316,7 @@
- +
[% IF ( authid ) %] Replace record via Z39.50/SRU search diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt index ef1878931d..965dcdbd04 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt @@ -94,7 +94,7 @@ div#result { margin-top: 1em; } -
+
@@ -116,7 +116,7 @@ div#result { margin-top: 1em; } -
+
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index fe62593dfe..69a34add77 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -102,7 +102,7 @@
- +
@@ -264,7 +264,7 @@ [% END %] - + Cancel @@ -467,7 +467,7 @@ - + Cancel @@ -773,7 +773,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt index 581ad624d5..265c817fa3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt @@ -89,7 +89,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt index c812adf7c9..49ce23cc11 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt @@ -138,7 +138,7 @@
- +
@@ -149,7 +149,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt index cbc2dd78d4..bb493d04a4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt @@ -55,7 +55,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt index c09e9bc615..64fdb88fac 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt @@ -155,7 +155,7 @@
- + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt index 0bf2889d76..fdbcf825a8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt @@ -188,7 +188,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 621a0a3fb0..e2d33c5415 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -245,7 +245,7 @@
Enter club ID or partial name:
- + [% FOREACH biblionumber IN biblionumbers %] [% END %] @@ -339,7 +339,7 @@ [% END %] [% UNLESS ( multi_hold ) %]
- +
[% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 5765356efc..bfaef57f43 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -651,17 +651,17 @@ [% IF ( suggestionid ) %] [% IF ( need_confirm ) %] - + [% ELSE %] - + [% END %] Cancel [% ELSE %] [% IF ( need_confirm ) %] - + [% ELSE %] - + [% END %] Cancel [% END %] @@ -1045,7 +1045,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt index 5de814da48..e0bde15076 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -242,7 +242,7 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
[% INCLUDE 'date-format.inc' %]
-
+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt index aca3af467b..7cf6e11e92 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt @@ -134,7 +134,7 @@
- + Cancel
@@ -221,7 +221,7 @@
- + Cancel
@@ -242,7 +242,7 @@ [% END %] - + -- 2.39.5