From 436eb0d581ce28336d420daa803346d99764868c Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Fri, 15 Jul 2022 15:28:24 -0700 Subject: [PATCH] LP#1981774: use Bootstrap CSS classes for buttons instead of opac-button Signed-off-by: Jeff Davis Signed-off-by: Garry Collum Signed-off-by: Galen Charlton --- Open-ILS/src/templates-bootstrap/opac/course_browse.tt2 | 4 ++-- Open-ILS/src/templates-bootstrap/opac/course_search.tt2 | 4 ++-- Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 | 2 +- Open-ILS/src/templates-bootstrap/opac/parts/config-fresh.tt2 | 2 +- Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 | 2 +- Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 | 2 +- Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 | 2 +- Open-ILS/src/templates-bootstrap/opac/record/print_preview.tt2 | 2 +- Open-ILS/src/templates-bootstrap/opac/sms_cn.tt2 | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/course_browse.tt2 b/Open-ILS/src/templates-bootstrap/opac/course_browse.tt2 index 15c87fd62d..39cebebcdb 100644 --- a/Open-ILS/src/templates-bootstrap/opac/course_browse.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/course_browse.tt2 @@ -71,12 +71,12 @@ [% IF ctx.browse_results.size >= blimit %]
[% IF lower_limit == 0 %] - ← [%l ('Back') %] [% END %] [% IF upper_limit == 0 %] - [%l ('Next') %] → [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/course_search.tt2 b/Open-ILS/src/templates-bootstrap/opac/course_search.tt2 index 4fc7c8e626..2fa1a6eea1 100644 --- a/Open-ILS/src/templates-bootstrap/opac/course_search.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/course_search.tt2 @@ -64,13 +64,13 @@
- [% l('Clear Form') %] + class="btn btn-deny">[% l('Clear Form') %]
diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 index 9a97f36fa6..8943c47957 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 @@ -14,7 +14,7 @@ [% END %] - +
diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/config-fresh.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/config-fresh.tt2 index 0cea9e4887..764304e514 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/config-fresh.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/config-fresh.tt2 @@ -206,7 +206,7 @@ ctx.depth_sel_checkbox = 1; # Results Page Checkbox Toggle ctx.depth_sel_button = 1; # Basic Search Submit Button ctx.depth_sel_depth = 0; # Depth to set to ctx.depth_sel_button_label = l('All Libraries'); -ctx.depth_sel_button_class = 'opac-button'; +ctx.depth_sel_button_class = 'btn-opac'; ctx.depth_sel_checkbox_label = l('Show Results from All Libraries'); ctx.depth_sel_tooltip = l('Select this option to expand your results to all libraries while retaining the priority of your selected library\'s holdings.'); ctx.depth_sel_resultshint = l('Showing results from all libraries'); diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 index 7409a4b4ec..d9e929cc41 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 @@ -208,7 +208,7 @@ ctx.depth_sel_checkbox = 1; # Results Page Checkbox Toggle ctx.depth_sel_button = 1; # Basic Search Submit Button ctx.depth_sel_depth = 0; # Depth to set to ctx.depth_sel_button_label = l('All Libraries'); -ctx.depth_sel_button_class = 'opac-button'; +ctx.depth_sel_button_class = 'btn-opac'; ctx.depth_sel_checkbox_label = l('Show Results from All Libraries'); ctx.depth_sel_tooltip = l('Select this option to expand your results to all libraries while retaining the priority of your selected librarys holdings.'); ctx.depth_sel_resultshint = l('Showing results from all libraries'); diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 index 7af5d42848..b645b5983f 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 @@ -116,7 +116,7 @@ function maybeToggleNumCopies(obj) { [% l('Patron barcode was not found') %] [% IF ctx.is_browser_staff %] - + [% END %]
[% END %] - + [% END %] [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/record/print_preview.tt2 b/Open-ILS/src/templates-bootstrap/opac/record/print_preview.tt2 index 8880ba1b5f..c72a21718e 100644 --- a/Open-ILS/src/templates-bootstrap/opac/record/print_preview.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/record/print_preview.tt2 @@ -76,7 +76,7 @@

- [% l("Return") %] + [% l("Return") %]
[% END %]
diff --git a/Open-ILS/src/templates-bootstrap/opac/sms_cn.tt2 b/Open-ILS/src/templates-bootstrap/opac/sms_cn.tt2 index 7c958d1939..b524724a64 100755 --- a/Open-ILS/src/templates-bootstrap/opac/sms_cn.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/sms_cn.tt2 @@ -37,7 +37,7 @@ value="[% l('Submit') %]" title="[% l('Submit') %]" alt="[% l('Submit') %]" - class="opac-button" /> + class="btn btn-action" />
[% l('Note: carrier charges may apply'); %] [% END %] -- 2.11.0