From: Kathy Lussier Date: Sat, 14 Feb 2015 19:10:54 +0000 (-0500) Subject: Improve visibility of parts on Place Holds screen X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ad6e7f74d3cc143909be2abe92e7ae0db7f378c7;p=working%2FEvergreen.git Improve visibility of parts on Place Holds screen Users often miss the list of parts on the Place Holds screen, leading to many title-level holds on records where only one or two libraries have 'unparted' copies. This branch adds some styling to add padding around the parts selector and to bold the Select a Part text. Many thanks to Christine Morgan whose custom work at NOBLE served as an inspiration for this styling. The branch also adds a new config.tt2 option to display select parts with radio buttons instead of a select menu so that all of the parts will display on the screen. With this option, no parts are pre-selected, forcing the users to actively choose a part. Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 416e573581..a809c6df26 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -1210,9 +1210,14 @@ a.dash-link:hover { text-decoration: underline !important; } .inactive-hold { background: [% css_colors.accent_lightest %]; } #hold-items-list td { padding: 5px; margin-bottom: 20px; } -.hold-items-list-title { font-size: [% css_fonts.size_bigger %]; } +.hold-items-list-title { + font-size: [% css_fonts.size_bigger %]; + margin-bottom: 20px; +} .hold-items-list-problem { color: [% css_colors.text_alert %]; } +.parts-radio { display: inline-block; } + .mr_holds_no_formats { padding: 5px; margin-left: 25px; diff --git a/Open-ILS/src/templates/opac/parts/config.tt2 b/Open-ILS/src/templates/opac/parts/config.tt2 index 8b0e69f3c0..de79f7fdfc 100644 --- a/Open-ILS/src/templates/opac/parts/config.tt2 +++ b/Open-ILS/src/templates/opac/parts/config.tt2 @@ -184,4 +184,11 @@ ctx.google_books_preview = 0; # TIME_FORMAT = '%H:%M'; # for 16:32 (24 hour) format ############################################################################## +############################################################################## +# 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'; + %] diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2 index 8c70ca5ac7..9d3eb43c66 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold.tt2 @@ -72,8 +72,20 @@
[% attrs.title_extended | html %]
[% IF hdata.parts AND !this_hold_disallowed %] [% IF hdata.parts.size > 0 %] -
-