Note, public copy notes continues to be shipped "on" by default. This option
is intended to allow for quick enabling/disabling of all public copy notes in
the catalog.
Signed-off-by: Ben Shum <bshum@biblio.org>
# Set to 1 or 'true' to enable
ctx.google_books_preview = 0;
+##############################################################################
+# Show Public Copy Notes
+# Set to 1 or 'true' to enable
+ctx.public_copy_notes = 1;
+
%]
[%- ELSE -%]
<th id='copy_header_library'>[% l("Location") %]</th>
[%- END %]
+ [%- IF ctx.public_copy_notes -%]
<th id='copy_header_callnmber'>[% l("Call Number / Copy Notes") %]</th>
+ [%- ELSE -%]
+ <th id='copy_header_callnmber'>[% l("Call Number") %]</th>
+ [%- END %]
[%- IF has_parts == 'true' %]
<th id='copy_header_part'>[% l("Part") %]</th>
[%- END %]
END %]</td>
</tr>
+ [%- IF ctx.public_copy_notes -%]
[% IF copy_info.notes; %]
[% FOREACH note IN copy_info.notes; %]
<tr><td> </td><td class="copy_note" colspan="4"><strong>[% note.title | html %]:</strong> [% note.value | html %]</td></tr>
[% END %]
[% END %]
+ [% END %]
[%- END %]
<tr>