Conifer: display 500s right in the main record body
authorDan Scott <dscott@laurentian.ca>
Tue, 23 Oct 2012 14:28:34 +0000 (10:28 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 23 Oct 2012 14:31:18 +0000 (10:31 -0400)
Rather than forcing users (and search engines) to open a twisty, just
display the 500 fields right in the main record body.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates_conifer/opac/parts/record/extras.tt2
Open-ILS/src/templates_conifer/opac/parts/record/summary.tt2

index e6034ed..7bafa52 100644 (file)
@@ -55,8 +55,6 @@
             [%  IF tab_is_active(name);
                     IF name == 'marchtml';
                         ctx.marchtml;
-                    ELSIF name == 'contents';
-                        attrs.contents;
                     ELSE;
                         # Load the template for the selected extra
                         INCLUDE "opac/parts/record/${name}.tt2";
index e8daa2d..28055c9 100644 (file)
@@ -159,6 +159,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" %]