TPAC: Make "Show more details" in results optional user/dbs/lp1410532_default_more_details_config
authorArt Rhyno <art632000@yahoo.ca>
Mon, 13 Aug 2012 21:22:17 +0000 (17:22 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 13 Jan 2015 21:42:23 +0000 (16:42 -0500)
commita15421a2bf864a6e5f31df0da9cb6a34b0c44eef
tree615af7fb60e442bef01f493059d50d40a772cfc6
parent6be23e53521da4cc52f742a58d8c7e40c6fbc6ee
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