Add summary from MARC to record display
authorJeff Godin <jgodin@tadl.org>
Thu, 4 Oct 2012 18:28:44 +0000 (14:28 -0400)
committerJeff Godin <jgodin@tadl.org>
Thu, 4 Oct 2012 18:28:44 +0000 (14:28 -0400)
Summaries from 520$a fields in the MARC are already being extracted.
Let's display them.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
templates_tadlskin/opac/parts/record/summary.tt2

index 5987f31..c7cbfbf 100644 (file)
         [%- END %]
         <h1 id='rdetail_title' itemprop="name">[% attrs.title_extended | html %]</h1>
         [%- INCLUDE "opac/parts/record/authors.tt2" %]
+       <div id='rdetail_summary_from_rec' class='float-left'>
+       [%- FOREACH summary IN args.summaries %]
+       <p>[% summary %]</p>
+       [%- END %]
+       </div>
     </div>
 </div>