From f0acd7296c5d18d45d7dec3dcb3509688df2e5f2 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 23 May 2018 11:12:09 -0400 Subject: [PATCH] implement counter near results table Note that this counter shows the number of records in the temporary list/cart, not just the number of records selected on the page. Signed-off-by: Galen Charlton --- Open-ILS/src/templates/opac/css/style.css.tt2 | 4 ++++ Open-ILS/src/templates/opac/parts/result/table.tt2 | 8 ++++++++ Open-ILS/web/js/ui/default/opac/record_selectors.js | 2 ++ 3 files changed, 14 insertions(+) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index bc5248fc92..489b408bba 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -1030,9 +1030,13 @@ tr.result_table_row > td.result_table_pic_header { width: 78px; } +/* styles for selecting records in the results set */ .result_table_row_selected { background-color: [% css_colors.item_selected %]; } +#selected_records_summary { + margin-left: 5em; +} .result_number { [% IF rtl == 't' -%] diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index 9c2d9e97ca..77e47dd8ff 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -34,6 +34,14 @@ [% END %]