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 --- .../src/templates-bootstrap/opac/course_browse.tt2 | 4 ++-- .../src/templates-bootstrap/opac/course_search.tt2 | 4 ++-- .../src/templates-bootstrap/opac/parts/cart.tt2 | 2 +- .../opac/parts/config-fresh.tt2 | 2 +- .../src/templates-bootstrap/opac/parts/config.tt2 | 2 +- .../templates-bootstrap/opac/parts/place_hold.tt2 | 2 +- .../opac/parts/record/copy_table.tt2 | 2 +- .../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 15c87fd..39cebeb 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 4fc7c8e..2fa1a6e 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 9a97f36..8943c47 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 0cea9e4..764304e 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 7409a4b..d9e929c 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 7af5d42..b645b59 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 8880ba1..c72a217 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 7c958d1..b524724 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 %] -- 1.7.2.5