Add minor customizations for Conifer and Laurentian skins
authorDan Scott <dscott@laurentian.ca>
Thu, 8 Sep 2016 06:18:46 +0000 (02:18 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 8 Sep 2016 06:18:46 +0000 (02:18 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates_conifer/opac/css/style_overrides.css.tt2
Open-ILS/src/templates_conifer/opac/parts/config.tt2
Open-ILS/src/templates_laurentian/opac/parts/config.tt2

index 62b88e0..3d0572e 100644 (file)
@@ -1,4 +1,4 @@
-[% 
+[%
 
 ##############################################################################
 # This file contains skin-level configuration settings.
@@ -89,13 +89,14 @@ 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']},
     {facet_class => 'subject', facet_order => ['topic']},
+    {facet_class => 'identifier', facet_order => ['genre']},
     {facet_class => 'series',  facet_order => ['seriestitle']},
     {facet_class => 'subject', facet_order => ['name', 'geographic']}
 ];
@@ -116,7 +117,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 
+# id DOM id used for linking labels to form controls.  They are pinned
+#   here instead of auto-generated (from the attr type, for example)
 #   here instead of auto-generated (from the attr type, for example) 
 #   for consistency.
 
@@ -171,6 +173,24 @@ ctx.google_books_preview = 0;
 #
 # ctx.maintenance_message = "The system will not be available February 29, 2104.";
 
+##############################################################################
+# Depth Button/Checkbox
+# Recommendation: Do not enable button for basic search without enabling the
+# checkbox for the results page
+ctx.depth_sel_checkbox = 0; # Results Page Checkbox Toggle
+ctx.depth_sel_button = 0; # Basic Search Submit Button
+ctx.depth_sel_depth = 1; # 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_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');
+
+##############################################################################
+# Exclude Electronic Resources Checkbox
+# One setting for both the advanced search page and the results bar.
+# Off by default; set to 1 to display.
+ctx.exclude_electronic_checkbox = 0;
 
 ##############################################################################
 # Metarecords configuration
index e8e8583..e701400 100644 (file)
@@ -1,4 +1,4 @@
-[% 
+[%
 
 ##############################################################################
 # This file contains skin-level configuration settings.
@@ -18,7 +18,7 @@ ctx.holds_block.enabled = 'true';
 # RefWorks configuration
 ##############################################################################
 # RefWorks is a Web-based citation manager
-ctx.refworks.enabled = 'true';
+ctx.refworks.enabled = 'false';
 
 # Base URL for RefWorks
 ctx.refworks.url = 'http://librweb.laurentian.ca/login?url=http://refworks.com';
@@ -72,6 +72,13 @@ disable_email_change = 'true';
 allow_phone_notifications = 'false';
 
 ##############################################################################
+# Format of parts selection on Place Holds screen
+# Set to true to use radio buttons for parts selection on the Place Holds
+# screen. The default behavior is to to display them in a select menu.
+#############################################################################
+enable.radio.parts = 'false';
+
+##############################################################################
 # Misc. UI Settings
 ##############################################################################
 # Option for full details as a default, esp. impt. for e-content
@@ -87,18 +94,19 @@ show_more_details.default = 'hide';
 # Options are "small", "medium", and "large"
 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']},
     {facet_class => 'subject', facet_order => ['topic']},
+    {facet_class => 'identifier', facet_order => ['genre']},
     {facet_class => 'series',  facet_order => ['seriestitle']},
     {facet_class => 'subject', facet_order => ['name', 'geographic']}
 ];
+facet.default_display_count = 5;
 
 ##############################################################################
 # Define the advanced search limiters and labels.
@@ -115,8 +123,8 @@ facet.display = [
 #   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 = [
@@ -170,6 +178,24 @@ ctx.google_books_preview = 1;
 #
 # ctx.maintenance_message = "The system will not be available February 29, 2104.";
 
+##############################################################################
+# Depth Button/Checkbox
+# Recommendation: Do not enable button for basic search without enabling the
+# checkbox for the results page
+ctx.depth_sel_checkbox = 0; # Results Page Checkbox Toggle
+ctx.depth_sel_button = 0; # Basic Search Submit Button
+ctx.depth_sel_depth = 1; # 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_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');
+
+##############################################################################
+# Exclude Electronic Resources Checkbox
+# One setting for both the advanced search page and the results bar.
+# Off by default; set to 1 to display.
+ctx.exclude_electronic_checkbox = 0;
 
 ##############################################################################
 # Metarecords configuration