]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac-new/parts/record/body.tt2
LP#1778972: OPAC Redesign
[Evergreen.git] / Open-ILS / src / templates / opac-new / 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     ctx.metalinks.push('<meta property="og:type" content="http://schema.org/' _ args.schema.itemtype _ '" />');
7 %]
8 <div id='canvas_main' class='container mx-auto p-3' vocab="http://schema.org/" typeof='[% args.schema.itemtype %] Product' resource="#schemarecord">
9 [%- FOREACH link IN args.links.sameAs; %]
10     <link property="sameAs" href="[% link %]">
11 [%- END; %]
12 [%- FOREACH link IN args.links.exampleOfWork; %]
13     <link property="exampleOfWork" href="[% link %]">
14 [%- END; %]
15     [%- INCLUDE "opac/parts/record/navigation.tt2" %]
16     [%- IF ctx.bib_is_dead %]
17     <div id='rdetail_deleted_exp'>
18         [% 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.") %]
19     </div>
20     [%- END %]
21     [% INCLUDE "opac/parts/record/summary.tt2" %]
22     [%- INCLUDE "opac/parts/record/navigation.tt2" %]
23 </div>