Schema.org: relate offers to record explicitly
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / record / copy_counts.tt2
index fd97eab..9f86bc7 100644 (file)
@@ -18,6 +18,7 @@
             displayed_ous.$ou_name = 1;
     %]
     <li property="offers" typeof="AggregateOffer">
+        <link property="itemOffered" href="#schemarecord">
         <meta property="offerCount" content="[% ou_avail %]">
         <meta property="seller" content="[% ou_name | html %]">
     [% l('[quant,_1,copy,copies] at [_2].', ou_avail, ou_name) | html %]
@@ -38,6 +39,7 @@
     %]
     [%- IF attrs.plib_copy_counts.$depth.count > 0; %]
     <li class="preferred" property="offers" typeof="AggregateOffer">
+        <link property="itemOffered" href="#schemarecord">
         <meta property="offerCount" content="[% ou_avail %]">
         <meta property="seller" content="[% ou_name | html %]">
     [%-