Add 'Show More Details' setting and increase font size
authorArt Rhyno <art632000@yahoo.ca>
Wed, 15 Aug 2012 11:48:47 +0000 (07:48 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 15 Aug 2012 15:17:57 +0000 (11:17 -0400)
We definitely want the 'Show More Details' view by default and
a larger font will be appreciated by the staff.

Signed-off-by: Art Rhyno <art632000@yahoo.ca>
Open-ILS/src/templates_windsor/opac/parts/config.tt2
Open-ILS/src/templates_windsor/opac/parts/css/fonts.tt2 [new file with mode: 0644]

index ddfca17..4d55b0e 100644 (file)
@@ -71,6 +71,12 @@ allow_phone_notifications = 'false';
 ##############################################################################
 # Misc. UI Settings
 ##############################################################################
+# Option for full details as a default, esp. impt. for e-content
+# that uses resolver plumbing. Valid values are 'true', 'false' and 'hide'.
+# Setting this to 'true' shows full details by default but allows the link
+# to appear for 'Show Fewer Details'. The 'hide' option shows full details
+# and also suppresses the link from displaying at all.
+show_more_details.default = 'hide';
 
 ##############################################################################
 # Size of the jacket image to display on the record detail summary.
diff --git a/Open-ILS/src/templates_windsor/opac/parts/css/fonts.tt2 b/Open-ILS/src/templates_windsor/opac/parts/css/fonts.tt2
new file mode 100644 (file)
index 0000000..728e2fd
--- /dev/null
@@ -0,0 +1,11 @@
+[%-
+    css_fonts = {
+        size_base = "15px",
+        size_small = "92%", # 11px
+        size_smaller = "83%", # 10px
+        size_smallest = "75%", # 9px
+        size_big = "110%", # 13.2px
+        size_bigger = "125%",
+        size_biggest = "150%"
+    }
+%]