From: Dan Scott <dscott@laurentian.ca> Date: Tue, 23 Oct 2012 15:47:48 +0000 (-0400) Subject: TPAC: Show contents notes directly in record summary X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=36b36924677fa925a59a1af5d77aed21c160e3e6;p=evergreen%2Fmasslnc.git TPAC: Show contents notes directly in record summary By popular demand in IRC, move the contents notes directly into the body of the record summary rather than hiding the content under a twisty. This improves external indexing of the page and makes the contents notes more immediately evident to users. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Ben Shum <bshum@biblio.org> --- diff --git a/Open-ILS/src/templates/opac/parts/record/extras.tt2 b/Open-ILS/src/templates/opac/parts/record/extras.tt2 index 14d0d924ea..54f36d92c3 100644 --- a/Open-ILS/src/templates/opac/parts/record/extras.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/extras.tt2 @@ -36,7 +36,6 @@ extras = [ {name => 'summaryplus', label => l('Summaries & More'), hide => hide_summary}, - {name => 'contents', label => l('Contents'), hide => !ctx.marc_xml.findnodes('//*[starts-with(@tag,"5")]')}, {name => 'annotation', label => l('Annotation'), hide => 1}, {name => 'awards', label => l('Awards, Reviews, & Suggested Reads')}, {name => 'excerpt', label => l('Excerpt'), hide => 1}, diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2 index b750df6ce8..a5767a1f23 100644 --- a/Open-ILS/src/templates/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2 @@ -164,6 +164,7 @@ IF num_uris > 0; [%- END %] </ul> +[%- INCLUDE "opac/parts/record/contents.tt2" %] [%- INCLUDE "opac/parts/record/subjects.tt2" %] [%- INCLUDE "opac/parts/record/series.tt2" %] [%- INCLUDE "opac/parts/record/extras.tt2" %]