TPAC: Make "Show more details" in results optional
authorArt Rhyno <art632000@yahoo.ca>
Mon, 13 Aug 2012 21:22:17 +0000 (17:22 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 13 Aug 2012 21:41:56 +0000 (17:41 -0400)
commitccc1632b427ca832410ca87ad692e82c7b91de68
tree054bb3abeb5b9570223413ef771a145d636f6a7b
parent1c25c1646806cce5bf654336f2b5d4ad8d826250
TPAC: Make "Show more details" in results optional

Academic sites typically handle a lot of electronic content and want to
bring most details about entries, such as availability, status, and
URLs, on a results screen to the front.

This adds a 'show_more_details.default' option in 'config.tt2' that can
have the values 'true', 'false' and 'hide'.  The 'true' and 'false'
values set the default for the button to more and less respectively, and
'hide' suppresses the button from showing at all.

Signed-off-by: Art Rhyno <art632000@yahoo.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/config.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/src/templates/opac/results.tt2