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>
Thu, 22 Jan 2015 18:22:49 +0000 (13:22 -0500)
commite80c17a1e205e5ef02bffc9c15b8048f2a798650
tree269c1dae68efb649afd361c02d195214479394e3
parent4d20a7f8d3067e64fcd6413308653023883485ed
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/results.tt2
Open-ILS/src/templates/opac/results.tt2