TPAC: Make "Show more details" in results optional feature/tpac_show_details_config_2_7
authorArt Rhyno <art632000@yahoo.ca>
Mon, 13 Aug 2012 21:22:17 +0000 (17:22 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 11 Nov 2014 19:24:15 +0000 (14:24 -0500)
commita1e7e0176f86d7b06af1e23b376c4dae8955a0ab
treebfae1de2b477a122c5d0539d073f705969a792e8
parent6d68a5bccf4a27ce74e626705f7b3c6067e3998b
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>
Conflicts:
Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/src/templates/opac/results.tt2
Open-ILS/src/templates/opac/parts/config.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/src/templates/opac/results.tt2