]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/opac/parts/record/body.tt2
616ede0f1571f8e0e5acf1109b80e0f92ba58f0a
[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 [%- FOREACH link IN args.links.sameAs; %]
9     <link property="sameAs" href="[% link %]">
10 [%- END; %]
11 [%- FOREACH link IN args.links.exampleOfWork; %]
12     <link property="exampleOfWork" href="[% link %]">
13 [%- END; %]
14     [%- INCLUDE "opac/parts/record/navigation.tt2" %]
15     [%- IF ctx.bib_is_dead %]
16     <div id='rdetail_deleted_exp'>
17         [% l("This record has been deleted from the database.  We recommend that you remove this title from any lists it may have been added to.") %]
18     </div>
19     [%- END %]
20     [% INCLUDE "opac/parts/record/summary.tt2" %]
21     [%- INCLUDE "opac/parts/record/navigation.tt2" %]
22 </div>