From 9749aef9c22d3022042cc241f4ec4b3c277e6534 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 2 Nov 2022 12:18:31 +0000 Subject: [PATCH] Bug 32072: Consistent classes for primary buttons: Cataloging This patch makes changes the button markup in Cataloging 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 Cataloging 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 --- .../intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/cataloguing/merge.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt | 4 ++-- .../en/modules/cataloguing/value_builder/cn_browser.tt | 2 +- .../modules/cataloguing/value_builder/marc21_field_006.tt | 2 +- .../modules/cataloguing/value_builder/marc21_field_007.tt | 2 +- .../value_builder/marc21_field_008_authorities.tt | 2 +- .../value_builder/marc21_field_008_classifications.tt | 2 +- .../en/modules/cataloguing/value_builder/marc21_leader.tt | 2 +- .../value_builder/marc21_leader_authorities.tt | 2 +- .../cataloguing/value_builder/marc21_linking_section.tt | 2 +- .../cataloguing/value_builder/unimarc_field_210c.tt | 2 +- .../cataloguing/value_builder/unimarc_field_210c_bis.tt | 2 +- .../cataloguing/value_builder/unimarc_field_225a_bis.tt | 2 +- .../cataloguing/value_builder/unimarc_field_325j.tt | 4 ++-- .../cataloguing/value_builder/unimarc_field_4XX.tt | 2 +- .../cataloguing/value_builder/unimarc_field_686a.tt | 2 +- .../cataloguing/value_builder/unimarc_field_700-4.tt | 2 +- .../prog/en/modules/cataloguing/z3950_auth_search.tt | 8 ++++---- .../prog/en/modules/cataloguing/z3950_search.tt | 6 +++--- 20 files changed, 30 insertions(+), 30 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt index 42f9090a71..aee929ba8c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt @@ -38,14 +38,14 @@ [% IF ( errornohostitemnumber ) %]ERROR: Unable to get the item number from this barcode.[% END %]
- +
[% ELSE %] [% IF ( success ) %]
The item has successfully been linked to [% bibliotitle | html %].
- +
[% ELSE %] @@ -77,7 +77,7 @@ [% END %] - + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt index 09745c7afe..c19fd7fb63 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt @@ -138,7 +138,7 @@ div#result { margin-top: 1em; } [% END %]
- +
@@ -184,7 +184,7 @@ div#result { margin-top: 1em; }
- + (Example: "001,245ab,600") diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt index cf6ab452f5..d9d01d074e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt @@ -109,7 +109,7 @@
Enter biblionumber:
-
+
[% ELSE %] @@ -120,7 +120,7 @@

The item you select will be moved to the target record.

-
+
[% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/cn_browser.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/cn_browser.tt index 12364d9e6b..591a646dca 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/cn_browser.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/cn_browser.tt @@ -38,7 +38,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.tt index 3bf4238dcf..4f4df48923 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.tt @@ -29,7 +29,7 @@ -
Cancel
+
Cancel
[% MACRO jsinclude BLOCK %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt index 3371eb0d2e..a266be40a3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt @@ -90,7 +90,7 @@
-
Cancel
+
Cancel
[% MACRO jsinclude BLOCK %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt index c2edcbd1f7..bd478404a9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt @@ -712,7 +712,7 @@ -
Cancel
+
Cancel
[% MACRO jsinclude BLOCK %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt index a1a19953af..3587a930e7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt @@ -196,7 +196,7 @@ -
Cancel
+
Cancel
[% MACRO jsinclude BLOCK %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt index 7ef10f650f..fd1f35666b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt @@ -344,7 +344,7 @@ -
Cancel
+
Cancel
[% MACRO jsinclude BLOCK %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader_authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader_authorities.tt index fd97b471fa..ff08fe5cbe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader_authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader_authorities.tt @@ -118,7 +118,7 @@ -
Cancel
+
Cancel
[% MACRO jsinclude BLOCK %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt index 62fa53f9c0..0e50bb7f9b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt @@ -33,7 +33,7 @@

- +

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt index 480177d966..12106e9ac8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt @@ -38,7 +38,7 @@
- +
[% IF ( total ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c_bis.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c_bis.tt index 6b912c63ed..76d4028638 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c_bis.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c_bis.tt @@ -17,7 +17,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a_bis.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a_bis.tt index f41ce28c19..82f6ed5cb6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a_bis.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a_bis.tt @@ -14,7 +14,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_325j.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_325j.tt index 41461a5640..c8bb237e44 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_325j.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_325j.tt @@ -124,7 +124,7 @@ -

Cancel

+

Cancel

-[% INCLUDE 'popup-bottom.inc' %] \ No newline at end of file +[% INCLUDE 'popup-bottom.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt index dcf404d0e3..6b99250dd2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt @@ -31,7 +31,7 @@

- +

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_686a.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_686a.tt index 0de95747d7..1f2e00c3f5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_686a.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_686a.tt @@ -64,7 +64,7 @@ -
Cancel
+
Cancel
[% INCLUDE 'popup-bottom.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_700-4.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_700-4.tt index 3b5e8dccea..3e5b251171 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_700-4.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_700-4.tt @@ -44,7 +44,7 @@ -
Cancel
+
Cancel
[% MACRO jsinclude BLOCK %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt index 8c039990af..7bf4cfa9b9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt @@ -68,7 +68,7 @@ @@ -143,10 +143,10 @@ [% IF ( show_nextbutton ) %] [% END %] -
Go to page : +
Go to page : -

+

[% ELSE %] [% IF ( errconn ) %]
@@ -159,7 +159,7 @@
[% END %]
Nothing found.
-

+

[% END %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index d0c1195cb2..458b7b07e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -108,7 +108,7 @@ @@ -243,7 +243,7 @@ [% IF ( show_nextbutton ) %] [% END %] -
Go to page : +
Go to page : [% ELSE %] @@ -254,7 +254,7 @@

- +

-- 2.39.5