ou_name = cp_org_unit.name;
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 %]">
+ <li>
[% l('[quant,_1,copy,copies] at [_2].', ou_avail, ou_name) | html %]
[%- this_depth = ctx.get_aou(ou_id).ou_type.depth;
IF ou_avail > 0 && this_depth != ctx.copy_depth %]
UNLESS depth < 0 || displayed_ous.exists(ou_name);
%]
[%- 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 %]">
+ <li class="preferred">
[%-
l('[_1] of [quant,_2,copy,copies] available at [_3].',
attrs.plib_copy_counts.$depth.available,