Schema.org: relate offers to record explicitly
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / record / body.tt2
1 [%-  attrs = {marc_xml => ctx.marc_xml};
2     PROCESS "opac/parts/misc_util.tt2";
3     PROCESS get_marc_attrs args=attrs;
4     stop_parms = ['expand','cnoffset','copy_offset','copy_limit'];
5     ctx.record_attrs = attrs; # capture for JS
6 %]
7 <div id='canvas_main' class='canvas' vocab="http://schema.org/" typeof='[% args.schema.itemtype %] Product' resource="#schemarecord">
8     [%- INCLUDE "opac/parts/record/navigation.tt2" %]
9     [%- IF ctx.bib_is_dead %]
10     <div id='rdetail_deleted_exp'>
11         [% l("This record has been deleted from the database.  We recommend that you remove this title from any bookbags it may have been added to.") %]
12     </div>
13     [%- END %]
14     [% INCLUDE "opac/parts/record/summary.tt2" %]
15     [%- INCLUDE "opac/parts/record/navigation.tt2" %]
16 </div>