From 7006a03305586ca9533feb8c25f7bbbe56ce6571 Mon Sep 17 00:00:00 2001 From: Art Rhyno Date: Wed, 15 Aug 2012 07:48:47 -0400 Subject: [PATCH] Add 'Show More Details' setting and increase font size 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 --- Open-ILS/src/templates_windsor/opac/parts/config.tt2 | 6 ++++++ Open-ILS/src/templates_windsor/opac/parts/css/fonts.tt2 | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 Open-ILS/src/templates_windsor/opac/parts/css/fonts.tt2 diff --git a/Open-ILS/src/templates_windsor/opac/parts/config.tt2 b/Open-ILS/src/templates_windsor/opac/parts/config.tt2 index ddfca1713c..4d55b0e070 100644 --- a/Open-ILS/src/templates_windsor/opac/parts/config.tt2 +++ b/Open-ILS/src/templates_windsor/opac/parts/config.tt2 @@ -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 index 0000000000..728e2fdbdd --- /dev/null +++ b/Open-ILS/src/templates_windsor/opac/parts/css/fonts.tt2 @@ -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%" + } +%] -- 2.11.0