From af054babb1d88980430e83d475aabca2350f7001 Mon Sep 17 00:00:00 2001 From: Jake Litrell Date: Sun, 21 Feb 2016 23:16:51 -0500 Subject: [PATCH] LP#1519055: more changes - Add checkbox to search results page - Adding persistence for checkboxes. - Sentence Case Fix Signed-off-by: Jake Litrell Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/parts/advanced/search.tt2 | 5 ++++- Open-ILS/src/templates/opac/parts/config.tt2 | 14 +++++++------- Open-ILS/src/templates/opac/results.tt2 | 18 +++++++++++++----- 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/advanced/search.tt2 b/Open-ILS/src/templates/opac/parts/advanced/search.tt2 index a658cc5331..dd08cd23b0 100644 --- a/Open-ILS/src/templates/opac/parts/advanced/search.tt2 +++ b/Open-ILS/src/templates/opac/parts/advanced/search.tt2 @@ -100,7 +100,10 @@
- + diff --git a/Open-ILS/src/templates/opac/parts/config.tt2 b/Open-ILS/src/templates/opac/parts/config.tt2 index 6748c91e50..a95e54d2e6 100644 --- a/Open-ILS/src/templates/opac/parts/config.tt2 +++ b/Open-ILS/src/templates/opac/parts/config.tt2 @@ -1,4 +1,4 @@ -[% +[% ############################################################################## # This file contains skin-level configuration settings. @@ -95,9 +95,9 @@ show_more_details.default = 'false'; record.summary.jacket_size = 'medium'; ############################################################################## -# Define the order in which facets are displayed. Only facets listed here -# will be displayed. To show all facets sorted by name, comment out this -# setting. +# Define the order in which facets are displayed. Only facets listed here +# will be displayed. To show all facets sorted by name, comment out this +# setting. # facet.display = [] # show no facets facet.display = [ {facet_class => 'author', facet_order => ['personal', 'corporate']}, @@ -123,8 +123,8 @@ facet.default_display_count = 5; # lib_selector will put the search library box (with limit to available) # pub_year will put the publication year box # sort_selector will put the sort results selector -# id DOM id used for linking labels to form controls. They are pinned -# here instead of auto-generated (from the attr type, for example) +# id DOM id used for linking labels to form controls. They are pinned +# here instead of auto-generated (from the attr type, for example) # for consistency. search.adv_config = [ @@ -187,7 +187,7 @@ 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_checkbox_label = l('Show results from all libraries'); +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/opac/results.tt2 b/Open-ILS/src/templates/opac/results.tt2 index 97e6eb5e14..29b2299231 100644 --- a/Open-ILS/src/templates/opac/results.tt2 +++ b/Open-ILS/src/templates/opac/results.tt2 @@ -25,14 +25,14 @@

[% l('Additional search filters and navigation') %]

- [%# hide the header bar when displaying metarecord constituents + [%# hide the header bar when displaying metarecord constituents instead of skipping it altogether to allow the search form variables to propagate %] [% IF ctx.metarecord; mr_attrs = {marc_xml => ctx.metarecord_master.marc_xml}; PROCESS get_marc_attrs args=mr_attrs %]
- [% l('Viewing Results for Grouped Record: [_1]', + [% l('Viewing Results for Grouped Record: [_1]', mr_attrs.title) | html %]
[% IF CGI.param('query') %] @@ -75,12 +75,12 @@ [% END %]
[%- END -%] - +
[% IF NOT metarecords.disabled %]
@@ -119,7 +127,7 @@ (ctx.records.size ? "table.tt2" : "lowhits.tt2"); INCLUDE $path %] -
+

-- 2.11.0